Fix lgamma*, log10* and log2* results [BZ #21171]
[glibc.git] / ChangeLog
blob2f2a65b8bc24dc93bacfb196ca4490766e31025d
1 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         [BZ #21171]
4         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5         +Inf and raise divide-by-zero when x is negative.
6         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
9         -Inf and raise divide-by-zero when x = +-0.
10         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
12         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
13         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
14         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18 2017-02-16  Zack Weinberg  <zackw@panix.com>
20         * scripts/build-many-glibcs.py (bot_build_mail): If the
21         bot_config does not contain all of the necessary email-
22         related settings, just print a warning and continue.
24 2017-02-16  Zack Weinberg  <zackw@panix.com>
26         * crypt/md5.h: Test _LIBC with #if defined, not #if.
27         * dirent/opendir-tst1.c: Include sys/stat.h.
28         * dirent/tst-fdopendir.c: Include sys/stat.h.
29         * dirent/tst-fdopendir2.c: Include stdlib.h.
30         * dirent/tst-scandir.c: Include stdbool.h.
31         * elf/tst-auditmod1.c: Include link.h and stddef.h.
32         * elf/tst-tls15.c: Include stdlib.h.
33         * elf/tst-tls16.c: Include stdlib.h.
34         * elf/tst-tls17.c: Include stdlib.h.
35         * elf/tst-tls18.c: Include stdlib.h.
36         * iconv/tst-iconv6.c: Include endian.h.
37         * iconvdata/bug-iconv11.c: Include limits.h.
38         * io/test-utime.c: Include stdint.h.
39         * io/tst-faccessat.c: Include sys/stat.h.
40         * io/tst-fchmodat.c: Include sys/stat.h.
41         * io/tst-fchownat.c: Include sys/stat.h.
42         * io/tst-fstatat.c: Include sys/stat.h.
43         * io/tst-futimesat.c: Include sys/stat.h.
44         * io/tst-linkat.c: Include sys/stat.h.
45         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
46         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
47         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
48         * io/tst-openat.c: Include stdbool.h.
49         * io/tst-readlinkat.c: Include sys/stat.h.
50         * io/tst-renameat.c: Include sys/stat.h.
51         * io/tst-symlinkat.c: Include sys/stat.h.
52         * io/tst-unlinkat.c: Include stdbool.h.
53         * libio/bug-memstream1.c: Include stdlib.h.
54         * libio/bug-wmemstream1.c: Include stdlib.h.
55         * libio/tst-fwrite-error.c: Include stdlib.h.
56         * libio/tst-memstream1.c: Include stdlib.h.
57         * libio/tst-memstream2.c: Include stdlib.h.
58         * libio/tst-memstream3.c: Include stdlib.h.
59         * malloc/tst-interpose-aux.c: Include stdint.h.
60         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
61         * nptl/tst-basic7.c: Include limits.h.
62         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
63         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
64         * nptl/tst-cancel4_1.c: Include stddef.h.
65         * nptl/tst-cancel4_2.c: Include stddef.h.
66         * nptl/tst-cond16.c: Include limits.h.
67         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
68         * nptl/tst-cond18.c: Include limits.h.
69         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
70         * nptl/tst-cond4.c: Include stdint.h.
71         * nptl/tst-cond6.c: Include stdint.h.
72         * nptl/tst-stack2.c: Include limits.h.
73         * nptl/tst-stackguard1.c: Include stddef.h.
74         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
75         * nptl/tst-tls4moda.c: Include stddef.h.
76         Don't include stdio.h, unistd.h, or tls.h.
77         * nptl/tst-tls4modb.c: Include stddef.h.
78         Don't include stdio.h, unistd.h, or tls.h.
79         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
80         * posix/tst-getaddrinfo2.c: Include stdio.h.
81         * posix/tst-getaddrinfo5.c: Include stdio.h.
82         * posix/tst-pathconf.c: Include sys/stat.h.
83         * posix/tst-posix_fadvise-common.c: Include stdint.h.
84         * posix/tst-preadwrite-common.c: Include sys/stat.h.
85         * posix/tst-regex.c: Include stdint.h.
86         Don't include spawn.h or spawn_int.h.
87         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
88         * posix/tst-vfork3.c: Include sys/stat.h.
89         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
90         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
91         * resolv/tst-resolv-search.c: Include stdlib.h.
92         * stdio-common/tst-fmemopen2.c: Include stdint.h.
93         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
94         * stdlib/test-canon.c: Include sys/stat.h.
95         * stdlib/tst-tls-atexit.c: Include stdbool.h.
96         * string/test-memchr.c: Include stdint.h.
97         * string/tst-cmp.c: Include stdint.h.
98         * sysdeps/pthread/tst-timer.c: Include stdint.h.
99         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
100         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
101         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
102         Don't include init-arch.h.
103         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
104         Don't include init-arch.h.
105         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
106         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
107         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
108         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
109         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
110         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
111         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
112         * time/clocktest.c: Include stdint.h.
113         * time/tst-posixtz.c: Include stdint.h.
114         * timezone/tst-timezone.c: Include stdint.h.
116 2017-02-16  Zack Weinberg  <zackw@panix.com>
118         * string/string.h [__USE_MISC]: Include strings.h.
119         (__bzero, bcmp, bcopy, bzero, index, rindex)
120         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
121         (ffs, ffsl, ffsll): Don't declare.
122         * string/strings.h: Do not suppress the file if string.h has
123         already been included.
124         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
125         annotations.
126         (index, rindex): Define inline forwarders even if
127         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
128         (ffs): Use __attribute_const__.
129         (ffsl, ffsll): Declare here.
130         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
131         have now been standardized.
132         * include/string.h (__bzero): Declare here.
134         * bits/types.h: Move to posix/bits.
135         * include/bits/types.h: New wrapper.
137 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
139         * string/bits/string2.h (strcmp): Remove define.
140         (__strcmp_cg): Likewise.
141         (strncmp): Likewise.
143 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
145         * include/string.h: Add __cplusplus check.
147 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
149         [BZ #21134]
150         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
151         "divide by zero" exception when the input is zero.
152         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
153         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
154         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
155         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
156         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
158 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
160         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
161         and include ...
162         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
163         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
164         to, and include ...
165         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
166         file.
167         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
168         and include ...
169         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
170         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
171         and include ...
172         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
173         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
174         and include ...
175         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
176         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
177         and include ...
178         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
179         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
180         to, and include ...
181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
182         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
183         and include ...
184         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
186 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
188         * math/libm-test-support.h: Do not include <math-tests-arch.h>
189         here.
190         * math/libm-test-support.c (libm_test_init): Do not call
191         INIT_ARCH_EXT here.
192         * math/libm-test-driver.c: Include <math-tests-arch.h>.
193         (main): Call INIT_ARCH_EXT.
195 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
197         [BZ #21130]
198         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
199         with the "invalid" exception raised when x is -Inf.
200         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
202 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
204         * string/bits/string2.h (strchr): Remove define.
206 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
208         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
209         tst-avx512.
210         (test-extras): Add tst-avx-aux and tst-avx512-aux.
211         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
212         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
213         ($(objpfx)tst-sse): New rule.
214         ($(objpfx)tst-avx): Likewise.
215         ($(objpfx)tst-avx512): Likewise.
216         (CFLAGS-tst-avx-aux.c): New.
217         (CFLAGS-tst-avxmod.c): Likewise.
218         (CFLAGS-tst-avx512-aux.c): Likewise.
219         (CFLAGS-tst-avx512mod.c): Likewise.
220         * sysdeps/x86_64/tst-avx-aux.c: New file.
221         * sysdeps/x86_64/tst-avx.c: Likewise.
222         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
223         * sysdeps/x86_64/tst-avx512.c: Likewise.
224         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
225         * sysdeps/x86_64/tst-avxmod.c: Likewise.
226         * sysdeps/x86_64/tst-sse.c: Likewise.
227         * sysdeps/x86_64/tst-ssemod.c: Likewise.
229 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
231         * math/auto-libm-test-in: Add more tests of csin and csinh.
232         * math/auto-libm-test-out-csin: Regenerated.
233         * math/auto-libm-test-out-csinh: Likewise.
234         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
235         auto-libm-test-in.
236         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
238 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
240         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
241         libm-compat-calls-auto.
242         (libm-compat-calls): Likewise.
243         (libm-compat-calls-auto): Rename to libm-compat-calls and add
244         w_lgamma_compatF and k_standardF (merged from the items above).
245         (libm-routines): Use libm-compat-calls, instead of
246         libm-compat-calls-auto, with type-foreach.
248 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
250         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
251         macro.
252         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
253         (CFLAGS-test-ifloat.c): ... this.  Remove
254         -U__LIBC_INTERNAL_MATH_INLINES.
255         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
256         (CFLAGS-test-idouble.c): ... this.  Remove
257         -U__LIBC_INTERNAL_MATH_INLINES.
258         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
259         (CFLAGS-test-ildouble.c): ... this.  Remove
260         -U__LIBC_INTERNAL_MATH_INLINES.
262 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
264         * math/libm-test-support.c: New file.  Content from
265         math/libm-test-driver.c.
266         * math/libm-test-support.h: Likewise.
267         * math/libm-test-support-double.c: New file.
268         * math/libm-test-support-float.c: Likewise.
269         * math/libm-test-support-ldouble.c: Likewise.
270         * math/libm-test-driver.c: Remove main comment and header
271         includes.  Include libm-test-support.h.
272         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
273         (flag_test_errno): Remove static.
274         (flag_test_exceptions): Likewise.
275         (flag_test_finite): Likewise.
276         (flag_test_inline): Likewise.
277         (flag_test_mathvec): Likewise.
278         (test_msg): Likewise.
279         (NO_EXCEPTION): Remove.
280         (INVALID_EXCEPTION): Likewise.
281         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
282         (OVERFLOW_EXCEPTION): Likewise.
283         (UNDERFLOW_EXCEPTION): Likewise.
284         (INEXACT_EXCEPTION): Likewise.
285         (INVALID_EXCEPTION_OK): Likewise.
286         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
287         (OVERFLOW_EXCEPTION_OK): Likewise.
288         (UNDERFLOW_EXCEPTION_OK): Likewise.
289         (NO_INEXACT_EXCEPTION): Likewise.
290         (EXCEPTIONS_OK): Likewise.
291         (IGNORE_ZERO_INF_SIGN): Likewise.
292         (TEST_NAN_SIGN): Likewise.
293         (TEST_NAN_PAYLOAD): Likewise.
294         (NO_TEST_INLINE): Likewise.
295         (XFAIL_TEST): Likewise.
296         (ERRNO_UNCHANGED): Likewise.
297         (ERRNO_EDOM): Likewise.
298         (ERRNO_ERANGE): Likewise.
299         (IGNORE_RESULT): Likewise.
300         (NON_FINITE): Likewise.
301         (TEST_SNAN): Likewise.
302         (NO_TEST_MATHVEC): Likewise.
303         (__CONCATX): Likewise.
304         (TYPE_MIN): Likewise.
305         (TYPE_TRUE_MIN): Likewise.
306         (TYPE_MAX): Likewise.
307         (MIN_EXP): Likewise.
308         (MAX_EXP): Likewise.
309         (MANT_DIG): Likewise.
310         (FSTR_MAX): Likewise.
311         (ulp_idx): Likewise.
312         (qtype_str): Remove static.
313         (TEST_COND_binary32): Remove.
314         (TEST_COND_binary64): Likewise.
315         (TEST_COND_binary128): Likewise.
316         (TEST_COND_ibm128): Likewise.
317         (TEST_COND_intel96): Likewise.
318         (TEST_COND_m68k96): Likewise.
319         (TEST_COND_ibm128_libgcc): Likewise.
320         (XFAIL_IBM128_LIBGCC): Likewise.
321         (PAYLOAD_DIG): Likewise.
322         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
323         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
324         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
325         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
326         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
327         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
328         (TEST_COND_long32): Likewise.
329         (TEST_COND_long64): Likewise.
330         (TEST_COND_before_rounding): Likewise.
331         (TEST_COND_after_rounding): Likewise.
332         (ulps_file_name): Likewise.
333         (ulps_file): Likewise.
334         (output_ulps): Likewise.
335         (output_dir): Likewise.
336         (noErrors): Likewise.
337         (noTests): Likewise.
338         (noExcTests): Likewise.
339         (noErrnoTests): Likewise.
340         (verbose): Likewise.
341         (output_max_error): Likewise.
342         (output_points): Likewise.
343         (ignore_max_ulp): Likewise.
344         (max_error): Likewise.
345         (real_max_error): Likewise.
346         (imag_max_error): Likewise.
347         (prev_max_error): Likewise.
348         (prev_real_max_error): Likewise.
349         (prev_imag_max_error): Likewise.
350         (max_valid_error): Likewise.
351         (TYPE_DECIMAL_DIG): Likewise.
352         (TYPE_HEX_DIG): Likewise.
353         (fmt_ftostr): Likewise.
354         (compare_ulp_data): Likewise.
355         (find_ulps): Likewise.
356         (init_max_error): Likewise.
357         (set_max_error): Likewise.
358         (print_float): Likewise.
359         (print_screen): Likewise.
360         (print_screen_max_error): Likewise.
361         (update_stats): Likewise.
362         (print_function_ulps): Likewise.
363         (print_complex_function_ulps): Likewise.
364         (fpstack_test): Likewise.
365         (print_max_error): Likewise.
366         (print_complex_max_error): Likewise.
367         (test_single_exception): Likewise.
368         (test_exceptions): Likewise.
369         (test_single_errno): Likewise.
370         (test_errno): Likewise.
371         (ULPDIFF): Likewise.
372         (ulp): Likewise.
373         (check_float_internal): Likewise.
374         (check_float): Likewise.
375         (check_complex): Likewise.
376         (check_int): Likewise.
377         (check_long): Likewise.
378         (check_bool): Likewise.
379         (check_longlong): Likewise.
380         (check_intmax_t): Likewise.
381         (check_uintmax_t): Likewise.
382         (enable_test): Likewise.
383         (matherr): Likewise.
384         (initialize): Likewise.
385         (options): Likewise.
386         (doc): Remove static.
387         (argp): Likewise.
388         (parse_opt): Remove.
389         (check_ulp): Likewise.
390         (libm_test_init): Likewise.
391         (libm_test_finish): Likewise.
392         * math/Makefile (libm-test-support): New variable.
393         (test-extras): Add libm-test-support files.
394         (extra-test-objs): Likewise.
395         (CFLAGS-libm-test-support-float.c): New variable.
396         (CFLAGS-libm-test-support-double.c): Likewise.
397         (CFLAGS-libm-test-support-ldouble.c): Likewise.
398         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
399         libm-test-support objects.
401 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
403         * math/Makefile (libm-calls): Move w_exp...
404         (libm-compat-calls-auto): Here.
406         * math/w_expl.c: Add suffix "_compat" to filename.
407         * sysdeps/ia64/fpu/w_expl.c: Likewise.
408         * sysdeps/ia64/fpu/w_expf.c: Likewise.
409         * sysdeps/ia64/fpu/w_exp.c: Likewise.
410         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
411         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
412         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
413         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
414         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
416         * math/w_expl_compat.c: New file, copied from above.
417         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
418         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
419         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
420         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
421         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
422         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
423         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
424         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
426         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
427         to filename.
428         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
430         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
431         copied from above and adjusted for the new filenames.
432         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
434 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
436         * math/Makefile (libm-calls): Move w_lgammaF...
437         (libm-compat-calls-auto): Here.
439         * math/w_lgamma.c: Add suffix "_compat2" to filename.
440         * math/w_lgammaf.c: Likewise.
441         * math/w_lgammal.c: Likewise.
443         * math/w_lgamma_compat2.c: New file, copied from above.
444         * math/w_lgammaf_compat2.c: Likewise.
445         * math/w_lgammal_compat2.c: Likewise.
447 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
449         * math/Makefile (libm-calls): Move w_lgammaF_r...
450         (libm-compat-calls-auto): Here.
452         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
453         * math/w_lgammaf_r.c: Likewise.
454         * math/w_lgammal_r.c: Likewise.
455         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
456         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
457         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
459         * math/w_lgamma_r_compat.c: New file, copied from above.
460         * math/w_lgammaf_r_compat.c: Likewise.
461         * math/w_lgammal_r_compat.c: Likewise.
462         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
463         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
464         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
466         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
467         to filename.
468         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
470         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
471         copied from above and adjusted for the new filenames.
472         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
474 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
476         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
477         calculation in SYSCALL_ERROR_HANDLER().
479 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
481         * manual/contrib.texi: Fix typo.
483 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
485         [BZ #21109]
486         * elf/dl-tunable-types.h (tunable_callback_t): Accept
487         tunable_val_t as argument.
488         * elf/dl-tunables.c (__tunable_set_val): Add comment.
489         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
490         argument.
491         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
493 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
495         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
496         Add PTRACE_EVENT_STOP.
497         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
498         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
499         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
500         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
501         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
502         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
504 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
506         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
507         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
508         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
509         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
510         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
511         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
512         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
513         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
514         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
515         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
517         [BZ #21112]
518         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
519         12 bits zero.
520         (cp_l): Update for new value of cp_h.
521         * math/auto-libm-test-in: Add another test of pow.
522         * math/auto-libm-test-out-pow: Regenerated.
524 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
526         * manual/contrib.texi: Fix typo.
528 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
530         [BZ #15998]
531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
532         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
535 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
537         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
538         STRCHR as __strchr_power8.
539         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
540         strlen as __strlen_power8.
542 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
544         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
545         unaligned load for shorter strings.
546         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
548 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
550         * math/libm-test-driver.c (flag_test_errno): New variable.
551         (flag_test_exceptions): Likewise.
552         (flag_test_finite): Likewise.
553         (flag_test_inline): Likewise.
554         (flag_test_mathvec): Likewise.
555         (test_msg): Likewise.
556         (ulp_idx): Likewise.
557         (qtype_str): Likewise.
558         (ULP_IDX): Remove macro.
559         (QTYPE_STR): Likewise.
560         (find_ulps): Use ulp_idx not ULP_IDX.
561         (print_function_ulps): Use qtype_str, printed with %s, not
562         QTYPE_STR, printed with concatentation to format string.
563         (print_complex_function_ulps): Likewise.
564         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
565         (test_errno): Use flag_test_errno not TEST_ERRNO.
566         (enable_test): Use flag_test_inline, flag_test_finite and
567         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
568         TEST_MATHVEC.
569         (libm_test_init): New function.  Factored out of main.
570         (libm_test_finish): Likewise.
571         (main): Call libm_test_init and libm_test_finish and move most
572         code to those functions.
574         * math/libm-test-driver.c (STRX): New macro.
575         (STR): Likewise.
576         (STR_FLOAT): Likewise.
577         (STR_VEC_LEN): Likewise.
578         (TEST_MSG): Likewise.  Define here instead of expecting to be
579         defined by including file.
580         * math/test-double-finite.c (TEST_MSG): Remove macro.
581         * math/test-double-vlen2.h (TEST_MSG): Likewise.
582         * math/test-double-vlen4.h (TEST_MSG): Likewise.
583         * math/test-double-vlen8.h (TEST_MSG): Likewise.
584         * math/test-double.c (TEST_MSG): Likewise.
585         * math/test-float-finite.c (TEST_MSG): Likewise.
586         * math/test-float-vlen16.h (TEST_MSG): Likewise.
587         * math/test-float-vlen4.h (TEST_MSG): Likewise.
588         * math/test-float-vlen8.h (TEST_MSG): Likewise.
589         * math/test-float.c (TEST_MSG): Likewise.
590         * math/test-idouble.c (TEST_MSG): Likewise.
591         * math/test-ifloat.c (TEST_MSG): Likewise.
592         * math/test-ildouble.c (TEST_MSG): Likewise.
593         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
594         * math/test-ldouble.c (TEST_MSG): Likewise.
596         * math/libm-test.inc: Move all tests of individual functions to
597         libm-test-*.inc and #include libm-test-*.c files.
598         (acos_test_data): Remove.
599         (acos_test): Likewise.
600         (acosh_test_data): Likewise.
601         (acosh_test): Likewise.
602         (asin_test_data): Likewise.
603         (asin_test): Likewise.
604         (asinh_test_data): Likewise.
605         (asinh_test): Likewise.
606         (atan_test_data): Likewise.
607         (atan_test): Likewise.
608         (atanh_test_data): Likewise.
609         (atanh_test): Likewise.
610         (atan2_test_data): Likewise.
611         (atan2_test): Likewise.
612         (cabs_test_data): Likewise.
613         (cabs_test): Likewise.
614         (cacos_test_data): Likewise.
615         (cacos_test): Likewise.
616         (cacosh_test_data): Likewise.
617         (cacosh_test): Likewise.
618         (canonicalize_test_data): Likewise.
619         (canonicalize_test): Likewise.
620         (carg_test_data): Likewise.
621         (carg_test): Likewise.
622         (casin_test_data): Likewise.
623         (casin_test): Likewise.
624         (casinh_test_data): Likewise.
625         (casinh_test): Likewise.
626         (catan_test_data): Likewise.
627         (catan_test): Likewise.
628         (catanh_test_data): Likewise.
629         (catanh_test): Likewise.
630         (cbrt_test_data): Likewise.
631         (cbrt_test): Likewise.
632         (ccos_test_data): Likewise.
633         (ccos_test): Likewise.
634         (ccosh_test_data): Likewise.
635         (ccosh_test): Likewise.
636         (ceil_test_data): Likewise.
637         (ceil_test): Likewise.
638         (cexp_test_data): Likewise.
639         (cexp_test): Likewise.
640         (cimag_test_data): Likewise.
641         (cimag_test): Likewise.
642         (clog_test_data): Likewise.
643         (clog_test): Likewise.
644         (clog10_test_data): Likewise.
645         (clog10_test): Likewise.
646         (conj_test_data): Likewise.
647         (conj_test): Likewise.
648         (copysign_test_data): Likewise.
649         (copysign_test): Likewise.
650         (cos_test_data): Likewise.
651         (cos_test): Likewise.
652         (cosh_test_data): Likewise.
653         (cosh_test): Likewise.
654         (cpow_test_data): Likewise.
655         (cpow_test): Likewise.
656         (cproj_test_data): Likewise.
657         (cproj_test): Likewise.
658         (creal_test_data): Likewise.
659         (creal_test): Likewise.
660         (csin_test_data): Likewise.
661         (csin_test): Likewise.
662         (csinh_test_data): Likewise.
663         (csinh_test): Likewise.
664         (csqrt_test_data): Likewise.
665         (csqrt_test): Likewise.
666         (ctan_test_data): Likewise.
667         (ctan_test): Likewise.
668         (ctanh_test_data): Likewise.
669         (ctanh_test): Likewise.
670         (erf_test_data): Likewise.
671         (erf_test): Likewise.
672         (erfc_test_data): Likewise.
673         (erfc_test): Likewise.
674         (exp_test_data): Likewise.
675         (exp_test): Likewise.
676         (exp10_test_data): Likewise.
677         (exp10_test): Likewise.
678         (pow10_test): Likewise.
679         (exp2_test_data): Likewise.
680         (exp2_test): Likewise.
681         (expm1_test_data): Likewise.
682         (expm1_test): Likewise.
683         (fabs_test_data): Likewise.
684         (fabs_test): Likewise.
685         (fdim_test_data): Likewise.
686         (fdim_test): Likewise.
687         (floor_test_data): Likewise.
688         (floor_test): Likewise.
689         (fma_test_data): Likewise.
690         (fma_test): Likewise.
691         (fmax_test_data): Likewise.
692         (fmax_test): Likewise.
693         (fmaxmag_test_data): Likewise.
694         (fmaxmag_test): Likewise.
695         (fmin_test_data): Likewise.
696         (fmin_test): Likewise.
697         (fminmag_test_data): Likewise.
698         (fminmag_test): Likewise.
699         (fmod_test_data): Likewise.
700         (fmod_test): Likewise.
701         (fpclassify_test_data): Likewise.
702         (fpclassify_test): Likewise.
703         (frexp_test_data): Likewise.
704         (frexp_test): Likewise.
705         (fromfp_test_data): Likewise.
706         (fromfp_test): Likewise.
707         (fromfpx_test_data): Likewise.
708         (fromfpx_test): Likewise.
709         (getpayload_test_data): Likewise.
710         (getpayload_test): Likewise.
711         (hypot_test_data): Likewise.
712         (hypot_test): Likewise.
713         (ilogb_test_data): Likewise.
714         (ilogb_test): Likewise.
715         (iscanonical_test_data): Likewise.
716         (iscanonical_test): Likewise.
717         (iseqsig_test_data): Likewise.
718         (iseqsig_test): Likewise.
719         (isfinite_test_data): Likewise.
720         (isfinite_test): Likewise.
721         (finite_test): Likewise.
722         (isgreater_test_data): Likewise.
723         (isgreater_test): Likewise.
724         (isgreaterequal_test_data): Likewise.
725         (isgreaterequal_test): Likewise.
726         (isinf_test_data): Likewise.
727         (isinf_test): Likewise.
728         (isless_test_data): Likewise.
729         (isless_test): Likewise.
730         (islessequal_test_data): Likewise.
731         (islessequal_test): Likewise.
732         (islessgreater_test_data): Likewise.
733         (islessgreater_test): Likewise.
734         (isnan_test_data): Likewise.
735         (isnan_test): Likewise.
736         (isnormal_test_data): Likewise.
737         (isnormal_test): Likewise.
738         (issignaling_test_data): Likewise.
739         (issignaling_test): Likewise.
740         (issubnormal_test_data): Likewise.
741         (issubnormal_test): Likewise.
742         (isunordered_test_data): Likewise.
743         (isunordered_test): Likewise.
744         (iszero_test_data): Likewise.
745         (iszero_test): Likewise.
746         (j0_test_data): Likewise.
747         (j0_test): Likewise.
748         (j1_test_data): Likewise.
749         (j1_test): Likewise.
750         (jn_test_data): Likewise.
751         (jn_test): Likewise.
752         (lgamma_test_data): Likewise.
753         (lgamma_test): Likewise.
754         (gamma_test): Likewise.
755         (llogb_test_data): Likewise.
756         (llogb_test): Likewise.
757         (lrint_test_data): Likewise.
758         (lrint_test): Likewise.
759         (llrint_test_data): Likewise.
760         (llrint_test): Likewise.
761         (log_test_data): Likewise.
762         (log_test): Likewise.
763         (log10_test_data): Likewise.
764         (log10_test): Likewise.
765         (log1p_test_data): Likewise.
766         (log1p_test): Likewise.
767         (log2_test_data): Likewise.
768         (log2_test): Likewise.
769         (logb_test_data): Likewise.
770         (logb_test): Likewise.
771         (lround_test_data): Likewise.
772         (lround_test): Likewise.
773         (llround_test_data): Likewise.
774         (llround_test): Likewise.
775         (modf_test_data): Likewise.
776         (modf_test): Likewise.
777         (nearbyint_test_data): Likewise.
778         (nearbyint_test): Likewise.
779         (nextafter_test_data): Likewise.
780         (nextafter_test): Likewise.
781         (nextup_test_data): Likewise.
782         (nextup_test): Likewise.
783         (nextdown_test_data): Likewise.
784         (nextdown_test): Likewise.
785         (nexttoward_test_data): Likewise.
786         (nexttoward_test): Likewise.
787         (pow_test_data): Likewise.
788         (pow_test): Likewise.
789         (remainder_test_data): Likewise.
790         (remainder_test): Likewise.
791         (drem_test): Likewise.
792         (remquo_test_data): Likewise.
793         (remquo_test): Likewise.
794         (rint_test_data): Likewise.
795         (rint_test): Likewise.
796         (round_test_data): Likewise.
797         (round_test): Likewise.
798         (roundeven_test_data): Likewise.
799         (roundeven_test): Likewise.
800         (scalb_test_data): Likewise.
801         (scalb_test): Likewise.
802         (scalbn_test_data): Likewise.
803         (scalbn_test): Likewise.
804         (ldexp_test): Likewise.
805         (scalbln_test_data): Likewise.
806         (scalbln_test): Likewise.
807         (setpayload_test_data): Likewise.
808         (setpayload_test): Likewise.
809         (setpayloadsig_test_data): Likewise.
810         (setpayloadsig_test): Likewise.
811         (signbit_test_data): Likewise.
812         (signbit_test): Likewise.
813         (sin_test_data): Likewise.
814         (sin_test): Likewise.
815         (sincos_test_data): Likewise.
816         (sincos_test): Likewise.
817         (sinh_test_data): Likewise.
818         (sinh_test): Likewise.
819         (sqrt_test_data): Likewise.
820         (sqrt_test): Likewise.
821         (tan_test_data): Likewise.
822         (tan_test): Likewise.
823         (tanh_test_data): Likewise.
824         (tanh_test): Likewise.
825         (tgamma_test_data): Likewise.
826         (tgamma_test): Likewise.
827         (totalorder_test_data): Likewise.
828         (totalorder_test): Likewise.
829         (totalordermag_test_data): Likewise.
830         (totalordermag_test): Likewise.
831         (trunc_test_data): Likewise.
832         (trunc_test): Likewise.
833         (ufromfp_test_data): Likewise.
834         (ufromfp_test): Likewise.
835         (ufromfpx_test_data): Likewise.
836         (ufromfpx_test): Likewise.
837         (y0_test_data): Likewise.
838         (y0_test): Likewise.
839         (y1_test_data): Likewise.
840         (y1_test): Likewise.
841         (yn_test_data): Likewise.
842         (yn_test): Likewise.
843         (significand_test_data): Likewise.
844         (significand_test): Likewise.
845         * math/Makefile (auto-libm-test-out-files): Remove variable.
846         (libm-test-funcs-noauto): New variable.
847         (libm-test-funcs-all): Likewise.
848         (libm-test-c-auto): Likewise.
849         (libm-test-c-noauto): Likewise.
850         (libm-tests-generated): Add $(libm-test-c-auto) and
851         $(libm-test-c-noauto).
852         (generated): Do not add auto-libm-test-out.
853         (libm-test-c-auto-obj): New variable.
854         (libm-test-c-noauto-obj): Likewise.
855         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
856         ($(libm-test-c-noauto-obj)): New static pattern rule.
857         ($(libm-test-c-auto-obj)): Likewise.
858         (libm-test-incs): New variable.
859         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
860         and pass it to gen-libm-have-vector-test.sh.
861         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
862         be passed on command line.
863         * math/libm-test-acos.inc: New file.  Content from
864         math/libm-test.inc.
865         * math/libm-test-acosh.inc: Likewise.
866         * math/libm-test-asin.inc: Likewise.
867         * math/libm-test-asinh.inc: Likewise.
868         * math/libm-test-atan.inc: Likewise.
869         * math/libm-test-atan2.inc: Likewise.
870         * math/libm-test-atanh.inc: Likewise.
871         * math/libm-test-cabs.inc: Likewise.
872         * math/libm-test-cacos.inc: Likewise.
873         * math/libm-test-cacosh.inc: Likewise.
874         * math/libm-test-canonicalize.inc: Likewise.
875         * math/libm-test-carg.inc: Likewise.
876         * math/libm-test-casin.inc: Likewise.
877         * math/libm-test-casinh.inc: Likewise.
878         * math/libm-test-catan.inc: Likewise.
879         * math/libm-test-catanh.inc: Likewise.
880         * math/libm-test-cbrt.inc: Likewise.
881         * math/libm-test-ccos.inc: Likewise.
882         * math/libm-test-ccosh.inc: Likewise.
883         * math/libm-test-ceil.inc: Likewise.
884         * math/libm-test-cexp.inc: Likewise.
885         * math/libm-test-cimag.inc: Likewise.
886         * math/libm-test-clog.inc: Likewise.
887         * math/libm-test-clog10.inc: Likewise.
888         * math/libm-test-conj.inc: Likewise.
889         * math/libm-test-copysign.inc: Likewise.
890         * math/libm-test-cos.inc: Likewise.
891         * math/libm-test-cosh.inc: Likewise.
892         * math/libm-test-cpow.inc: Likewise.
893         * math/libm-test-cproj.inc: Likewise.
894         * math/libm-test-creal.inc: Likewise.
895         * math/libm-test-csin.inc: Likewise.
896         * math/libm-test-csinh.inc: Likewise.
897         * math/libm-test-csqrt.inc: Likewise.
898         * math/libm-test-ctan.inc: Likewise.
899         * math/libm-test-ctanh.inc: Likewise.
900         * math/libm-test-erf.inc: Likewise.
901         * math/libm-test-erfc.inc: Likewise.
902         * math/libm-test-exp.inc: Likewise.
903         * math/libm-test-exp10.inc: Likewise.
904         * math/libm-test-exp2.inc: Likewise.
905         * math/libm-test-expm1.inc: Likewise.
906         * math/libm-test-fabs.inc: Likewise.
907         * math/libm-test-fdim.inc: Likewise.
908         * math/libm-test-floor.inc: Likewise.
909         * math/libm-test-fma.inc: Likewise.
910         * math/libm-test-fmax.inc: Likewise.
911         * math/libm-test-fmaxmag.inc: Likewise.
912         * math/libm-test-fmin.inc: Likewise.
913         * math/libm-test-fminmag.inc: Likewise.
914         * math/libm-test-fmod.inc: Likewise.
915         * math/libm-test-fpclassify.inc: Likewise.
916         * math/libm-test-frexp.inc: Likewise.
917         * math/libm-test-fromfp.inc: Likewise.
918         * math/libm-test-fromfpx.inc: Likewise.
919         * math/libm-test-getpayload.inc: Likewise.
920         * math/libm-test-hypot.inc: Likewise.
921         * math/libm-test-ilogb.inc: Likewise.
922         * math/libm-test-iscanonical.inc: Likewise.
923         * math/libm-test-iseqsig.inc: Likewise.
924         * math/libm-test-isfinite.inc: Likewise.
925         * math/libm-test-isgreater.inc: Likewise.
926         * math/libm-test-isgreaterequal.inc: Likewise.
927         * math/libm-test-isinf.inc: Likewise.
928         * math/libm-test-isless.inc: Likewise.
929         * math/libm-test-islessequal.inc: Likewise.
930         * math/libm-test-islessgreater.inc: Likewise.
931         * math/libm-test-isnan.inc: Likewise.
932         * math/libm-test-isnormal.inc: Likewise.
933         * math/libm-test-issignaling.inc: Likewise.
934         * math/libm-test-issubnormal.inc: Likewise.
935         * math/libm-test-isunordered.inc: Likewise.
936         * math/libm-test-iszero.inc: Likewise.
937         * math/libm-test-j0.inc: Likewise.
938         * math/libm-test-j1.inc: Likewise.
939         * math/libm-test-jn.inc: Likewise.
940         * math/libm-test-lgamma.inc: Likewise.
941         * math/libm-test-llogb.inc: Likewise.
942         * math/libm-test-llrint.inc: Likewise.
943         * math/libm-test-llround.inc: Likewise.
944         * math/libm-test-log.inc: Likewise.
945         * math/libm-test-log10.inc: Likewise.
946         * math/libm-test-log1p.inc: Likewise.
947         * math/libm-test-log2.inc: Likewise.
948         * math/libm-test-logb.inc: Likewise.
949         * math/libm-test-lrint.inc: Likewise.
950         * math/libm-test-lround.inc: Likewise.
951         * math/libm-test-modf.inc: Likewise.
952         * math/libm-test-nearbyint.inc: Likewise.
953         * math/libm-test-nextafter.inc: Likewise.
954         * math/libm-test-nextdown.inc: Likewise.
955         * math/libm-test-nexttoward.inc: Likewise.
956         * math/libm-test-nextup.inc: Likewise.
957         * math/libm-test-pow.inc: Likewise.
958         * math/libm-test-remainder.inc: Likewise.
959         * math/libm-test-remquo.inc: Likewise.
960         * math/libm-test-rint.inc: Likewise.
961         * math/libm-test-round.inc: Likewise.
962         * math/libm-test-roundeven.inc: Likewise.
963         * math/libm-test-scalb.inc: Likewise.
964         * math/libm-test-scalbln.inc: Likewise.
965         * math/libm-test-scalbn.inc: Likewise.
966         * math/libm-test-setpayload.inc: Likewise.
967         * math/libm-test-setpayloadsig.inc: Likewise.
968         * math/libm-test-signbit.inc: Likewise.
969         * math/libm-test-significand.inc: Likewise.
970         * math/libm-test-sin.inc: Likewise.
971         * math/libm-test-sincos.inc: Likewise.
972         * math/libm-test-sinh.inc: Likewise.
973         * math/libm-test-sqrt.inc: Likewise.
974         * math/libm-test-tan.inc: Likewise.
975         * math/libm-test-tanh.inc: Likewise.
976         * math/libm-test-tgamma.inc: Likewise.
977         * math/libm-test-totalorder.inc: Likewise.
978         * math/libm-test-totalordermag.inc: Likewise.
979         * math/libm-test-trunc.inc: Likewise.
980         * math/libm-test-ufromfp.inc: Likewise.
981         * math/libm-test-ufromfpx.inc: Likewise.
982         * math/libm-test-y0.inc: Likewise.
983         * math/libm-test-y1.inc: Likewise.
984         * math/libm-test-yn.inc: Likewise.
985         * math/README.libm-test: Update.
987         * math/gen-auto-libm-tests.c: Update comment about use of program.
988         (generate_output): Add argument FUNCTION.
989         (main): Require extra argument.  Pass function name to
990         generate_output.
991         * math/Makefile (generated): Add auto-libm-test-out.
992         (libm-test-funcs-auto): New variable.
993         (auto-libm-test-out-files): New variable.
994         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
995         Concatenate those files to form $(objpfx)auto-libm-test-out and
996         use it as input to gen-libm-test.pl.
997         * math/README.libm-test: Update.
998         * math/auto-libm-test-out: Remove.
999         * math/auto-libm-test-out-acos: New generated file.
1000         * math/auto-libm-test-out-acosh: Likewise.
1001         * math/auto-libm-test-out-asin: Likewise.
1002         * math/auto-libm-test-out-asinh: Likewise.
1003         * math/auto-libm-test-out-atan: Likewise.
1004         * math/auto-libm-test-out-atan2: Likewise.
1005         * math/auto-libm-test-out-atanh: Likewise.
1006         * math/auto-libm-test-out-cabs: Likewise.
1007         * math/auto-libm-test-out-carg: Likewise.
1008         * math/auto-libm-test-out-cbrt: Likewise.
1009         * math/auto-libm-test-out-ccos: Likewise.
1010         * math/auto-libm-test-out-ccosh: Likewise.
1011         * math/auto-libm-test-out-cexp: Likewise.
1012         * math/auto-libm-test-out-clog: Likewise.
1013         * math/auto-libm-test-out-clog10: Likewise.
1014         * math/auto-libm-test-out-cos: Likewise.
1015         * math/auto-libm-test-out-cosh: Likewise.
1016         * math/auto-libm-test-out-cpow: Likewise.
1017         * math/auto-libm-test-out-csin: Likewise.
1018         * math/auto-libm-test-out-csinh: Likewise.
1019         * math/auto-libm-test-out-csqrt: Likewise.
1020         * math/auto-libm-test-out-ctan: Likewise.
1021         * math/auto-libm-test-out-ctanh: Likewise.
1022         * math/auto-libm-test-out-erf: Likewise.
1023         * math/auto-libm-test-out-erfc: Likewise.
1024         * math/auto-libm-test-out-exp: Likewise.
1025         * math/auto-libm-test-out-exp10: Likewise.
1026         * math/auto-libm-test-out-exp2: Likewise.
1027         * math/auto-libm-test-out-expm1: Likewise.
1028         * math/auto-libm-test-out-fma: Likewise.
1029         * math/auto-libm-test-out-hypot: Likewise.
1030         * math/auto-libm-test-out-j0: Likewise.
1031         * math/auto-libm-test-out-j1: Likewise.
1032         * math/auto-libm-test-out-jn: Likewise.
1033         * math/auto-libm-test-out-lgamma: Likewise.
1034         * math/auto-libm-test-out-log: Likewise.
1035         * math/auto-libm-test-out-log10: Likewise.
1036         * math/auto-libm-test-out-log1p: Likewise.
1037         * math/auto-libm-test-out-log2: Likewise.
1038         * math/auto-libm-test-out-pow: Likewise.
1039         * math/auto-libm-test-out-sin: Likewise.
1040         * math/auto-libm-test-out-sincos: Likewise.
1041         * math/auto-libm-test-out-sinh: Likewise.
1042         * math/auto-libm-test-out-sqrt: Likewise.
1043         * math/auto-libm-test-out-tan: Likewise.
1044         * math/auto-libm-test-out-tanh: Likewise.
1045         * math/auto-libm-test-out-tgamma: Likewise.
1046         * math/auto-libm-test-out-y0: Likewise.
1047         * math/auto-libm-test-out-y1: Likewise.
1048         * math/auto-libm-test-out-yn: Likewise.
1050         * math/Makefile (generated): Do not include libm-test.stmp.
1051         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1052         on $(objpfx)libm-test.stmp.
1053         ($(objpfx)libm-test.stmp): Remove rule.
1054         ($(objpfx)libm-test-ulps.h): New rule.
1055         ($(objpfx)libm-test.c): Likewise.
1056         ($(objpfx)libm-have-vector-test.h): Likewise.
1057         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1058         individual generated files, not libm-test.stmp.
1060         * math/gen-libm-test.pl ($output_dir): Remove variable.
1061         ($srcdir): Likewise.
1062         ($opt_a): New variable.
1063         ($opt_c): Likewise.
1064         ($opt_C): Likewise.
1065         ($opt_H): Likewise.
1066         (-n): Make option take argument and use it as NewUlps output.
1067         (-a): New option.  Use its argument for auto-libm-test-out input.
1068         (-c): New option.  Use its argument for libm-test.inc input.
1069         (-C): New option.  Use its argument for libm-test.c output.
1070         (-H): New option.  Use its argument for libm-test-ulps.h output.
1071         (top level): Only process inputs needed to generate outputs
1072         specified by command-line options.  Only generate outputs
1073         specified by command-line options.
1074         * math/README.libm-test: Update example gen-libm-test.pl command.
1075         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1076         commands.
1077         (regen-ulps): Likewise.
1079 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1081         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1082         * include/string.h (index): Remove define.
1083         (rindex): Likewise.
1084         * misc/getttyent.c (__getttyent): Rename index to strchr.
1085         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1086         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1088 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1090         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1091         * math/libm-test.inc: Move all contents, other than tests of
1092         individual functions, to libm-test-driver.c.
1093         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1094         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1095         [!FE_UPWARD] (FE_UPWARD): Likewise.
1096         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1097         (NO_EXCEPTION): Likewise.
1098         (INVALID_EXCEPTION): Likewise.
1099         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1100         (OVERFLOW_EXCEPTION): Likewise.
1101         (UNDERFLOW_EXCEPTION): Likewise.
1102         (INEXACT_EXCEPTION): Likewise.
1103         (INVALID_EXCEPTION_OK): Likewise.
1104         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1105         (OVERFLOW_EXCEPTION_OK): Likewise.
1106         (UNDERFLOW_EXCEPTION_OK): Likewise.
1107         (NO_INEXACT_EXCEPTION): Likewise.
1108         (EXCEPTIONS_OK): Likewise.
1109         (IGNORE_ZERO_INF_SIGN): Likewise.
1110         (TEST_NAN_SIGN): Likewise.
1111         (TEST_NAN_PAYLOAD): Likewise.
1112         (NO_TEST_INLINE): Likewise.
1113         (XFAIL_TEST): Likewise.
1114         (ERRNO_UNCHANGED): Likewise.
1115         (ERRNO_EDOM): Likewise.
1116         (ERRNO_ERANGE): Likewise.
1117         (IGNORE_RESULT): Likewise.
1118         (NON_FINITE): Likewise.
1119         (TEST_SNAN): Likewise.
1120         (NO_TEST_MATHVEC): Likewise.
1121         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1122         (__CONCATX): Likewise.
1123         (TYPE_MIN): Likewise.
1124         (TYPE_TRUE_MIN): Likewise.
1125         (TYPE_MAX): Likewise.
1126         (MIN_EXP): Likewise.
1127         (MAX_EXP): Likewise.
1128         (MANT_DIG): Likewise.
1129         (FSTR_MAX): Likewise.
1130         (ULP_IDX): Likewise.
1131         (QTYPE_STR): Likewise.
1132         (TEST_COND_binary32): Likewise.
1133         (TEST_COND_binary64): Likewise.
1134         (TEST_COND_binary128): Likewise.
1135         (TEST_COND_ibm128): Likewise.
1136         (TEST_COND_intel96): Likewise.
1137         (TEST_COND_m68k96): Likewise.
1138         (TEST_COND_ibm128_libgcc): Likewise.
1139         (XFAIL_IBM128_LIBGCC): Likewise.
1140         (PAYLOAD_DIG): Likewise.
1141         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1142         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1143         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1144         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1145         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1146         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1147         (TEST_COND_long32): Likewise.
1148         (TEST_COND_long64): Likewise.
1149         (TEST_COND_before_rounding): Likewise.
1150         (TEST_COND_after_rounding): Likewise.
1151         (lit_pi_3_m_4_d): Likewise.
1152         (lit_pi_3_m_4_ln10_m_d): Likewise.
1153         (lit_pi_2_ln10_m_d): Likewise.
1154         (lit_pi_4_ln10_m_d): Likewise.
1155         (lit_pi_ln10_d): Likewise.
1156         (lit_pi_2_d): Likewise.
1157         (lit_pi_4_d): Likewise.
1158         (lit_pi): Likewise.
1159         (lit_e): Likewise.
1160         (ulps_file_name): Likewise.
1161         (ulps_file): Likewise.
1162         (output_ulps): Likewise.
1163         (output_dir): Likewise.
1164         (noErrors): Likewise.
1165         (noTests): Likewise.
1166         (noExcTests): Likewise.
1167         (noErrnoTests): Likewise.
1168         (verbose): Likewise.
1169         (output_max_error): Likewise.
1170         (output_points): Likewise.
1171         (ignore_max_ulp): Likewise.
1172         (plus_zero): Likewise.
1173         (minus_zero): Likewise.
1174         (plus_infty): Likewise.
1175         (minus_infty): Likewise.
1176         (qnan_value_pl): Likewise.
1177         (qnan_value): Likewise.
1178         (snan_value_pl): Likewise.
1179         (snan_value): Likewise.
1180         (max_value): Likewise.
1181         (min_value): Likewise.
1182         (min_subnorm_value): Likewise.
1183         (snan_value_ld): Likewise.
1184         (max_error): Likewise.
1185         (real_max_error): Likewise.
1186         (imag_max_error): Likewise.
1187         (prev_max_error): Likewise.
1188         (prev_real_max_error): Likewise.
1189         (prev_imag_max_error): Likewise.
1190         (max_valid_error): Likewise.
1191         (TYPE_DECIMAL_DIG): Likewise.
1192         (TYPE_HEX_DIG): Likewise.
1193         (fmt_ftostr): Likewise.
1194         (compare_ulp_data): Likewise.
1195         (find_ulps): Likewise.
1196         (init_max_error): Likewise.
1197         (set_max_error): Likewise.
1198         (print_float): Likewise.
1199         (print_screen): Likewise.
1200         (print_screen_max_error): Likewise.
1201         (update_stats): Likewise.
1202         (print_function_ulps): Likewise.
1203         (print_complex_function_ulps): Likewise.
1204         (fpstack_test): Likewise.
1205         (print_max_error): Likewise.
1206         (print_complex_max_error): Likewise.
1207         (test_single_exception): Likewise.
1208         (test_exceptions): Likewise.
1209         (test_single_errno): Likewise.
1210         (test_errno): Likewise.
1211         (ULPDIFF): Likewise.
1212         (ulp): Likewise.
1213         (check_float_internal): Likewise.
1214         (check_float): Likewise.
1215         (check_complex): Likewise.
1216         (check_int): Likewise.
1217         (check_long): Likewise.
1218         (check_bool): Likewise.
1219         (check_longlong): Likewise.
1220         (check_intmax_t): Likewise.
1221         (check_uintmax_t): Likewise.
1222         (enable_test): Likewise.
1223         (struct test_f_f_data): Likewise.
1224         (struct test_ff_f_data): Likewise.
1225         (struct test_fj_f_data): Likewise.
1226         (struct test_fi_f_data): Likewise.
1227         (struct test_fl_f_data): Likewise.
1228         (struct test_if_f_data): Likewise.
1229         (struct test_fff_f_data): Likewise.
1230         (struct test_fiu_M_data): Likewise.
1231         (struct test_fiu_U_data): Likewise.
1232         (struct test_c_f_data): Likewise.
1233         (struct test_f_f1_data): Likewise.
1234         (struct test_fF_f1_data): Likewise.
1235         (struct test_ffI_f1_data): Likewise.
1236         (struct test_c_c_data): Likewise.
1237         (struct test_cc_c_data): Likewise.
1238         (struct test_f_i_data): Likewise.
1239         (struct test_ff_i_data): Likewise.
1240         (struct test_f_l_data): Likewise.
1241         (struct test_f_L_data): Likewise.
1242         (struct test_fFF_11_data): Likewise.
1243         (struct test_Ff_b1_data): Likewise.
1244         (IF_ROUND_INIT_): Likewise.
1245         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1246         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1247         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1248         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1249         (ROUND_RESTORE_): Likewise.
1250         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1251         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1252         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1253         (ROUND_RESTORE_FE_UPWARD): Likewise.
1254         (RM_): Likewise.
1255         (RM_FE_DOWNWARD): Likewise.
1256         (RM_FE_TONEAREST): Likewise.
1257         (RM_FE_TOWARDZERO): Likewise.
1258         (RM_FE_UPWARD): Likewise.
1259         (COMMON_TEST_SETUP): Likewise.
1260         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1261         (COMMON_TEST_CLEANUP): Likewise.
1262         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1263         (RUN_TEST_f_f): Likewise.
1264         (RUN_TEST_LOOP_f_f): Likewise.
1265         (RUN_TEST_fp_f): Likewise.
1266         (RUN_TEST_LOOP_fp_f): Likewise.
1267         (RUN_TEST_2_f): Likewise.
1268         (RUN_TEST_LOOP_2_f): Likewise.
1269         (RUN_TEST_ff_f): Likewise.
1270         (RUN_TEST_LOOP_ff_f): Likewise.
1271         (RUN_TEST_LOOP_fj_f): Likewise.
1272         (RUN_TEST_fi_f): Likewise.
1273         (RUN_TEST_LOOP_fi_f): Likewise.
1274         (RUN_TEST_fl_f): Likewise.
1275         (RUN_TEST_LOOP_fl_f): Likewise.
1276         (RUN_TEST_if_f): Likewise.
1277         (RUN_TEST_LOOP_if_f): Likewise.
1278         (RUN_TEST_fff_f): Likewise.
1279         (RUN_TEST_LOOP_fff_f): Likewise.
1280         (RUN_TEST_fiu_M): Likewise.
1281         (RUN_TEST_LOOP_fiu_M): Likewise.
1282         (RUN_TEST_fiu_U): Likewise.
1283         (RUN_TEST_LOOP_fiu_U): Likewise.
1284         (RUN_TEST_c_f): Likewise.
1285         (RUN_TEST_LOOP_c_f): Likewise.
1286         (RUN_TEST_f_f1): Likewise.
1287         (RUN_TEST_LOOP_f_f1): Likewise.
1288         (RUN_TEST_fF_f1): Likewise.
1289         (RUN_TEST_LOOP_fF_f1): Likewise.
1290         (RUN_TEST_fI_f1): Likewise.
1291         (RUN_TEST_LOOP_fI_f1): Likewise.
1292         (RUN_TEST_ffI_f1_mod8): Likewise.
1293         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1294         (RUN_TEST_Ff_b1): Likewise.
1295         (RUN_TEST_LOOP_Ff_b1): Likewise.
1296         (RUN_TEST_Ffp_b1): Likewise.
1297         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1298         (RUN_TEST_c_c): Likewise.
1299         (RUN_TEST_LOOP_c_c): Likewise.
1300         (RUN_TEST_cc_c): Likewise.
1301         (RUN_TEST_LOOP_cc_c): Likewise.
1302         (RUN_TEST_f_i): Likewise.
1303         (RUN_TEST_LOOP_f_i): Likewise.
1304         (RUN_TEST_f_i_tg): Likewise.
1305         (RUN_TEST_LOOP_f_i_tg): Likewise.
1306         (RUN_TEST_ff_b): Likewise.
1307         (RUN_TEST_LOOP_ff_b): Likewise.
1308         (RUN_TEST_ff_i_tg): Likewise.
1309         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1310         (RUN_TEST_f_b): Likewise.
1311         (RUN_TEST_LOOP_f_b): Likewise.
1312         (RUN_TEST_f_b_tg): Likewise.
1313         (RUN_TEST_LOOP_f_b_tg): Likewise.
1314         (RUN_TEST_f_l): Likewise.
1315         (RUN_TEST_LOOP_f_l): Likewise.
1316         (RUN_TEST_f_L): Likewise.
1317         (RUN_TEST_LOOP_f_L): Likewise.
1318         (RUN_TEST_fFF_11): Likewise.
1319         (RUN_TEST_LOOP_fFF_11): Likewise.
1320         (VEC_SUFF): Likewise.
1321         (STR_CONCAT): Likewise.
1322         (STR_CON3): Likewise.
1323         (HAVE_VECTOR): Likewise.
1324         (START): Likewise.
1325         (END): Likewise.
1326         (END_COMPLEX): Likewise.
1327         (ALL_RM_TEST): Likewise.
1328         (matherr): Likewise.
1329         (initialize): Likewise.
1330         (options): Likewise.
1331         (doc): Likewise.
1332         (parse_opt): Likewise.
1333         (argp): Likewise.
1334         (check_ulp): Likewise.
1335         (main): Likewise.
1336         (do_test): New function.  Call tests of individual functions
1337         previously called from main.
1339         * math/libm-test.inc: Remove comment listing functions tested and
1340         not tested.
1342 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1344         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1345         (allocate_stack): Remove COLORING_INCREMENT usage.
1346         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1347         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1349 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1351         * manual/libm-err-tab.pl (@all_functions): Change to
1352         %all_functions.  Initialize as empty.
1353         (parse_ulps): Add to %all_functions based on functions found in
1354         ulps files.  Ignore results for non-default rounding modes and
1355         vector functions.
1356         (print_platforms): Use %all_platforms.
1357         * manual/math.texi (Errors in Math Functions): Document omissions
1358         from the table.
1360         * math/Makefile (before-compile): Remove.
1362 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1364         [BZ #21075]
1365         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1366         unused assignment.
1367         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1369 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1371         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1372         Add __glibc_unlikely hint.
1374 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1376         [BZ #16640]
1377         * sysdeps/i386/i686/strtok.S: Remove file.
1378         * sysdeps/i386/i686/strtok_r.S: Likewise.
1379         * sysdeps/i386/strtok.S: Likewise.
1380         * sysdeps/i386/strtok_r.S: Likewise.
1381         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1382         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1383         * sysdeps/x86_64/strtok.S: Likewise.
1384         * sysdeps/x86_64/strtok_r.S: Likewise.
1386         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1387         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1388         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1389         (__ASSUME_FADVISE64_AS_64_64): Define.
1390         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1391         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1392         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1393         __ALIGNMENT_ARG usage.
1394         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1395         __NR_fadvise64_64 if it is not defined.
1397 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1399         * version.h (RELEASE): Set to "development"
1400         (VERSION): Set to 2.25.90.
1401         * NEWS: Add 2.26 section.
1403         * version.h (RELEASE): Set to "stable"
1404         (VERSION): Set to 2.25.
1405         * include/features.h (__GLIBC_MINOR__): Set to 25.
1407         * manual/contrib.texi: Add more contributors from this release
1408         and past releases.
1410         * NEWS (2.25): Add list of bugs fixed.
1412         * NEWS: Add missing news items.
1414 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1416         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1417         parent if child exited in that manner.  Print WEXITSTATUS
1418         instead of the raw status.
1419         (do_test_prep): Rename to do_test.
1420         (do_test): Return the result of run_executable_sgid.
1421         (TEST_FUNCTION_ARGV): Adjust.
1423 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1424             Florian Weimer  <fweimer@redhat.com>
1425             Carlos O'Donell  <carlos@redhat.com>
1427         [BZ #20915]
1428         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1429         Do not initialize DTV.
1430         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1432 2017-02-03  David S. Miller  <davem@davemloft.net>
1434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1442         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1443         (libm-sysdep_routines): Update.
1444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1449         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1450         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1451         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1452         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1454         Likewise.
1455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1457         Likewise.
1458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1460         Likewise.
1461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1463         Likewise.
1464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1466         (libm-sysdep_routines): Update.
1468 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1470         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1471         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1472         against unrelocated shared library.
1473         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1475 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1477         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1478         * elf/tst-env-setuid-tunables.c
1479         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1480         GLIBC_TUNABLES is removed in a setgid process.
1482         [BZ #21073]
1483         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1484         * elf/dl-tunables.c (tunables_strdup): Remove.
1485         (get_next_env): Also return the previous envp.
1486         (parse_tunables): Erase tunables of category
1487         TUNABLES_SECLEVEL_SXID_ERASE.
1488         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1489         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1490         (__tunables_init)[TUNABLES_FRONTEND ==
1491         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1492         after parsing.
1493         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1494         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1495         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1496         to security_level.
1497         * elf/dl-tunables.list: Add security_level annotations for all
1498         tunables.
1499         * scripts/gen-tunables.awk: Recognize and generate enum values
1500         for security_level.
1501         * elf/tst-env-setuid.c: New test case.
1502         * elf/tst-env-setuid-tunables: new test case.
1503         * elf/Makefile (tests-static): Add them.
1505 2017-02-01  Richard Henderson  <rth@twiddle.net>
1507         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1508         adjusting the byte count.
1510 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1512         * conform/Makefile (linknamespace-libs): Define.
1514         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1515         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1516         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1517         operands.
1519 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1521         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1523 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1525         [BZ #21081]
1526         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1527         (L(stosb)): Add VZEROUPPER before ret.
1529 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1530             Alexey Makhalov <amakhalov@vmware.com>
1531             Florian Weimer <fweimer@redhat.com>
1533         [BZ #20116]
1534         * nptl/pthread_create.c: Document concurrency notes.
1535         Enhance thread creation notes.
1536         (create_thread): Use bool *stopped_start.
1537         (START_THREAD_DEFN): Comment ownership of PD.
1538         (__pthread_create_2_1): Add local bool stopped_start and use
1539         that instead of pd->stopped_start where appropriate.
1540         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1541         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1542         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1543         * nptl/tst-create-detached.c: New file.
1544         * nptl/Makefile (tests): Add tst-create-detached.
1545         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1546         Reference the enhanced thread creation notes.
1547         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1548         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1549         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1550         (__pthread_current_priority): Likewise.
1551         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1552         xpthread_attr_init, xpthread_attr_setdetachstate, and
1553         xpthread_attr_setstacksize.
1554         * support/xpthread_attr_destroy.c: New file.
1555         * support/xpthread_attr_init.c: New file.
1556         * support/xpthread_attr_setdetachstate.c: New file.
1557         * support/xpthread_attr_setstacksize.c: New file.
1558         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1559         xpthread_attr_init, xpthread_attr_setdetachstate, and
1560         xpthread_attr_setstacksize.
1562 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1564         * nptl/Makefile (tests): Add tst-robust-fork.
1565         * nptl/tst-robust-fork.c: New file.
1566         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1567         xpthread_mutex_consistent, xpthread_mutex_destroy,
1568         xpthread_mutex_init, xpthread_mutexattr_destroy,
1569         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1570         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1571         xpthread_mutexattr_settype.
1572         * support/xmmap.c: New file.
1573         * support/xmunmap.c: Likewise.
1574         * support/xpthread_mutex_consistent.c: Likewise.
1575         * support/xpthread_mutex_destroy.c: Likewise.
1576         * support/xpthread_mutex_init.c: Likewise.
1577         * support/xpthread_mutexattr_destroy.c: Likewise.
1578         * support/xpthread_mutexattr_init.c: Likewise.
1579         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1580         * support/xpthread_mutexattr_setpshared.c: Likewise.
1581         * support/xpthread_mutexattr_setrobust.c: Likewise.
1582         * support/xpthread_mutexattr_settype.c: Likewise.
1583         * support/xthread.h (xpthread_mutexattr_destroy)
1584         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1585         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1586         (xpthread_mutexattr_settype, xpthread_mutex_init)
1587         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1588         * support/xunistd.h (xmmap, xmunmap): Likewise.
1590 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1592         * string/Makefile (xtests): Add comment.
1593         (LOCALES): Add en_GB.UTF-8.
1594         (tst-strcoll-overflow.out): Depend on generated locales.
1595         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1596         (SIZE, TIMEOUT): Update comments.
1597         (do_test): Define as static.  Fail test if setlocale fails.
1598         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1599         messages.
1600         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1601         TIMEOUT at 300 seconds should be enough to run this test
1602         successfully.
1604 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1606         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1607         /* FALLTHRU */ comments.
1609 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1611         [BZ #21053]
1612         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1613         constants instead of the old R* ones.
1614         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1615         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1616         (NGREG): ... to this, to fit in with other architectures.
1617         (gpregset_t): Use new NGREG macro.
1618         [__USE_GNU]: Remove condition; all architectures other than tile
1619         are unconditional.
1620         (R*): Rename to REG_R*.
1622 2017-01-20  DJ Delorie  <dj@redhat.com>
1624         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1625         (tunable_set_val_if_valid_range_signed) ... this, and ...
1626         (tunable_set_val_if_valid_range_unsigned) ... this.
1627         (tunable_initialize): Call the correct one of the above based on type.
1629 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1631         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1632         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1633         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1634         * sysdeps/microblaze/libm-test-ulps: Likewise.
1635         * sysdeps/sh/libm-test-ulps: Likewise.
1637         * math/README.libm-test: Update list of characters for input and
1638         output types.
1640 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1642         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1643         (__lll_unlock_elision): Fix adapt_count decrement.
1645 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1647         * README.pretty-printers (Known issues): Warn about printers not
1648         always covering everything.
1649         * nptl/nptl-printers.py (MutexPrinter): Change output.
1650         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1652 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1654         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1655         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1656         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1657         (__lll_lock_elision): Do not test futex before starting a
1658         transaction.  Use __glibc_likely instead of __builtin_expect.
1659         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1660         (__lll_trylock_elision): Do not test futex before starting a
1661         transaction.  Use __glibc_likely instead of __builtin_expect.
1663 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1665         * po/Makefile (update-translations): New target.
1667 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1669         [BZ #21061]
1670         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1672 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1674         * elf/dl-tunables (get_next_env): Always advance envp.
1675         * stdlib/tst-empty-env.c: New test case.
1676         * stdlib/Makefile (tests): Use it.
1678 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1680         [BZ #21047]
1681         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1682         name for instruction.
1683         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1685 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1687         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1688         for make install.
1690 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1692         * po/bg.po: Merge from Translation Project.
1693         * po/fr.po: Likewise.
1694         * po/ko.po: Likewise.
1695         * po/nl.po: Likewise.
1696         * po/sv.po: Likewise.
1698 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1700         * manual/install.texi (Tools for Compilation): Update GCC version
1701         known to work to build glibc.
1702         * INSTALL: Regenerated.
1704 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1706         [BZ #21006]
1707         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1709 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1711         [BZ #21045]
1712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1713         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1714         to __sigprocmask.
1716 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1718         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1719         wrap-around.
1720         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1722         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1724 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1726         * NEWS: Fix typo.
1728 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1730         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1731         barriers and comments.
1732         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1733         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1734         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1736 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1738         [BZ #19402]
1739         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1740         mutexes.
1742 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1744         [BZ #20985]
1745         * nptl/Makefile: Adapt.
1746         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1747         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1748         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1749         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1750         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1751         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1752         lll_robust* functions and adapt.
1753         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1754         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1755         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1756         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1757         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1758         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1759         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1760         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1761         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1762         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1763         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1764         * nptl/lowlevelrobustlock.c: Remove file.
1765         * nptl/lowlevelrobustlock.sym: Likewise.
1766         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1767         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1769 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1771         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1773 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1775         * po/cs.po: Merge translations from the Translation Project.
1776         * po/de.po: Likewise.
1777         * po/pl.po: Likewise.
1778         * po/ru.po: Likewise.
1779         * po/tr.po: Likewise.
1780         * po/uk.po: Likewise.
1781         * po/vi.po: Likewise.
1782         * po/zh_CN.po: Likewise.
1784 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1786         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1788         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1789         object.
1791 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1793         [BZ #16458]
1794         * bits/uintn-identity.h: New file.
1795         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1796         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1797         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1798         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1799         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1800         * string/endian.h: Include <bits/uintn-identity.h>.
1801         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1802         __uint16_identity.
1803         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1804         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1805         __uint32_identity.
1806         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1807         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1808         __uint64_identity.
1809         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1810         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1811         __uint16_identity.
1812         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1813         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1814         __uint32_identity.
1815         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1816         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1817         __uint64_identity.
1818         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1819         * string/Makefile (headers): Add bits/uintn-identity.h.
1820         (tests): Add test-endian-types.
1821         * string/test-endian-types.c: New file.
1822         * inet/Makefile (tests): Add test-hnto-types.
1823         * inet/test-hnto-types.c: New file.
1825 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1827         * po/be.po: Update from Translation Project.
1828         * po/bg.po: Likewise.
1829         * po/ca.po: Likewise.
1830         * po/cs.po: Likewise.
1831         * po/da.po: Likewise.
1832         * po/de.po: Likewise.
1833         * po/el.po: Likewise.
1834         * po/eo.po: Likewise.
1835         * po/es.po: Likewise.
1836         * po/fi.po: Likewise.
1837         * po/fr.po: Likewise.
1838         * po/gl.po: Likewise.
1839         * po/hr.po: Likewise.
1840         * po/hu.po: Likewise.
1841         * po/ia.po: Likewise.
1842         * po/id.po: Likewise.
1843         * po/it.po: Likewise.
1844         * po/ja.po: Likewise.
1845         * po/ko.po: Likewise.
1846         * po/lt.po: Likewise.
1847         * po/nb.po: Likewise.
1848         * po/nl.po: Likewise.
1849         * po/pl.po: Likewise.
1850         * po/pt_BR.po: Likewise.
1851         * po/ru.po: Likewise.
1852         * po/rw.po: Likewise.
1853         * po/sk.po: Likewise.
1854         * po/sl.po: Likewise.
1855         * po/sv.po: Likewise.
1856         * po/tr.po: Likewise.
1857         * po/uk.po: Likewise.
1858         * po/vi.po: Likewise.
1859         * po/zh_CN.po: Likewise.
1860         * po/zh_TW.po: Likewise.
1862 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1864         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1865         -Wformat-truncation instead of -Wformat-length.
1866         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1867         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1868         GCC 7.
1869         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1870         (do_test): Ignore -Wformat-truncation for GCC 7.
1872         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
1873         buffer used to print long int value.
1875         * elf/sotruss-lib.c (init): Increase space allocated for pid by
1876         one byte.  Print it with %ld, cast to long int.
1878 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1880         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
1881         (re.fullmatch, subprocess.run): Likewise.
1883 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1885         * po/libc.pot: Regenerate.
1887 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1889         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
1890         (min_strlen): Likewise.
1891         (disable_tunable): Likewise.
1892         (maybe_disable_malloc_check): Rename to
1893         maybe_enable_malloc_check.
1894         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
1895         if /etc/suid-debug file exists.
1896         (__tunables_init): Update caller.
1897         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
1898         secure.
1900 2016-01-10  Torvald Riegel  <triegel@redhat.com>
1902         * nptl/DESIGN-rwlock.txt: Remove.
1903         * nptl/lowlevelrwlock.sym: Remove.
1904         * nptl/Makefile: Add new tests.
1905         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
1906         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
1907         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
1908         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
1909         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
1910         PTHREAD_RWLOCK_FUTEX_USED): New.
1911         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
1912         implementation.
1913         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
1914         (__pthread_rwlock_rdlock): Adapt.
1915         * nptl/pthread_rwlock_timedrdlock.c
1916         (pthread_rwlock_timedrdlock): Adapt.
1917         * nptl/pthread_rwlock_timedwrlock.c
1918         (pthread_rwlock_timedwrlock): Adapt.
1919         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
1920         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
1921         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
1922         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
1923         (__pthread_rwlock_wrlock): Adapt.
1924         * nptl/tst-rwlock10.c: Adapt.
1925         * nptl/tst-rwlock11.c: Adapt.
1926         * nptl/tst-rwlock17.c: New file.
1927         * nptl/tst-rwlock18.c: New file.
1928         * nptl/tst-rwlock19.c: New file.
1929         * nptl/tst-rwlock2b.c: New file.
1930         * nptl/tst-rwlock8.c: Adapt.
1931         * nptl/tst-rwlock9.c: Adapt.
1932         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1933         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1934         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1935         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1936         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1937         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1938         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1939         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1940         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1941         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1942         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1943         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1944         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1945         (pthread_rwlock_t): Adapt.
1946         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1947         (pthread_rwlock_t): Adapt.
1948         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1949         * nptl/nptl-printers.py (): Adapt.
1950         * nptl/nptl_lock_constants.pysym: Adapt.
1951         * nptl/test-rwlock-printers.py: Adapt.
1952         * nptl/test-rwlockattr-printers.c: Adapt.
1953         * nptl/test-rwlockattr-printers.py: Adapt.
1955 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
1957         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
1958         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
1959         (fma_test_data): Likewise.
1960         (hypot_test_data): Likewise.
1961         (log1p_test_data): Likewise.
1962         (modf_test_data): Likewise.
1963         (pow_test_data): Likewise.
1964         (remainder_test_data): Likewise.
1965         (remquo_test_data): Likewise.
1966         (scalb_test_data): Likewise.
1967         (scalbn_test_data): Likewise.
1968         (scalbln_test_data): Likewise.
1969         * math/gen-libm-test.pl (parse_args): Transform
1970         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
1971         on the rounding mode.
1973 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
1975         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
1976         xfail-rounding:ibm128-libgcc automatically to tests overflowing
1977         and those that can underflow to zero.
1978         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
1979         add others.
1980         * math/auto-libm-test-out: Regenerated.
1982         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
1983         supported.
1984         (feholdexcept_tests): Skip tests requiring exceptions or rounding
1985         modes support if not supported.
1987         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
1988         Add libc.so PLT entry.
1989         (__tls_get_addr): Make ld.so PLT entry optional.
1991 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1993         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
1994         * string/bits/string3.h: ... here.
1996 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1998         [BZ #21028]
1999         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2000         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2001         if EXCEPTION_TESTS returns false.
2003 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2005         [BZ #20558]
2006         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2007         strings_fortified.h.
2008         [__USE_MISC] (bzero): Likewise.
2009         [__USE_MISC] (explicit_bzero): Likewise.
2010         * string/strings.h: Include strings_fortified.h.
2011         * string/Makefile (headers): Add strings_fortified.h.
2012         * string/bits/strings_fortified.h: New file.
2013         * include/bits/strings_fortified.h: Likewise.
2015 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2017         * elf/tst-tls13.c (TIMEOUT): Remove.
2018         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2019         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2020         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2021         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2022         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2024         [BZ #21026]
2025         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2026         (readahead): New syscall entry.
2028 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2030         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2031         around tests of strncat with large sizes.
2033         * malloc/tst-malloc.c: Include <libc-internal.h>.
2034         (do_test): Disable -Walloc-size-larger-than= around tests of
2035         malloc with negative sizes.
2036         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2037         (do_test): Disable -Walloc-size-larger-than= around tests of
2038         malloc and realloc with negative sizes.
2039         * malloc/tst-realloc.c: Include <libc-internal.h>.
2040         (do_test): Disable -Walloc-size-larger-than= around tests of
2041         realloc with negative sizes.
2043         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2044         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2045         allowed to 16 ulps.
2046         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2047         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2048         * math/auto-libm-test-out: Regenerated.
2050 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2052         * math/Makefile (libm-calls): Move wrappers...
2053         (libm-compat-call-auto): Here.
2054         (libm-routines): Add items in libm-compat-calls-auto.
2055         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2056         the filenames of the wrappers that have been renamed.
2057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2060         * math/w_acos.c: Add _compat suffix to filename.
2061         * math/w_acosf.c: Likewise.
2062         * math/w_acosh.c: Likewise.
2063         * math/w_acoshf.c: Likewise.
2064         * math/w_acoshl.c: Likewise.
2065         * math/w_acosl.c: Likewise.
2066         * math/w_asin.c: Likewise.
2067         * math/w_asinf.c: Likewise.
2068         * math/w_asinl.c: Likewise.
2069         * math/w_atan2.c: Likewise.
2070         * math/w_atan2f.c: Likewise.
2071         * math/w_atan2l.c: Likewise.
2072         * math/w_atanh.c: Likewise.
2073         * math/w_atanhf.c: Likewise.
2074         * math/w_atanhl.c: Likewise.
2075         * math/w_cosh.c: Likewise.
2076         * math/w_coshf.c: Likewise.
2077         * math/w_coshl.c: Likewise.
2078         * math/w_exp10.c: Likewise.
2079         * math/w_exp10f.c: Likewise.
2080         * math/w_exp10l.c: Likewise.
2081         * math/w_exp2.c: Likewise.
2082         * math/w_exp2f.c: Likewise.
2083         * math/w_exp2l.c: Likewise.
2084         * math/w_fmod.c: Likewise.
2085         * math/w_fmodf.c: Likewise.
2086         * math/w_fmodl.c: Likewise.
2087         * math/w_hypot.c: Likewise.
2088         * math/w_hypotf.c: Likewise.
2089         * math/w_hypotl.c: Likewise.
2090         * math/w_j0.c: Likewise.
2091         * math/w_j0f.c: Likewise.
2092         * math/w_j0l.c: Likewise.
2093         * math/w_j1.c: Likewise.
2094         * math/w_j1f.c: Likewise.
2095         * math/w_j1l.c: Likewise.
2096         * math/w_jn.c: Likewise.
2097         * math/w_jnf.c: Likewise.
2098         * math/w_jnl.c: Likewise.
2099         * math/w_log10.c: Likewise.
2100         * math/w_log10f.c: Likewise.
2101         * math/w_log10l.c: Likewise.
2102         * math/w_log2.c: Likewise.
2103         * math/w_log2f.c: Likewise.
2104         * math/w_log2l.c: Likewise.
2105         * math/w_log.c: Likewise.
2106         * math/w_logf.c: Likewise.
2107         * math/w_logl.c: Likewise.
2108         * math/w_pow.c: Likewise.
2109         * math/w_powf.c: Likewise.
2110         * math/w_powl.c: Likewise.
2111         * math/w_remainder.c: Likewise.
2112         * math/w_remainderf.c: Likewise.
2113         * math/w_remainderl.c: Likewise.
2114         * math/w_scalb.c: Likewise.
2115         * math/w_scalbf.c: Likewise.
2116         * math/w_scalbl.c: Likewise.
2117         * math/w_sinh.c: Likewise.
2118         * math/w_sinhf.c: Likewise.
2119         * math/w_sinhl.c: Likewise.
2120         * math/w_sqrt.c: Likewise.
2121         * math/w_sqrtf.c: Likewise.
2122         * math/w_sqrtl.c: Likewise.
2123         * math/w_tgamma.c: Likewise.
2124         * math/w_tgammaf.c: Likewise.
2125         * math/w_tgammal.c: Likewise.
2127         * math/w_acos_compat.c: New file copied from above and
2128         adjusted for new #includes path
2129         * math/w_acosf_compat.c: Likewise.
2130         * math/w_acosh_compat.c: Likewise.
2131         * math/w_acoshf_compat.c: Likewise.
2132         * math/w_acoshl_compat.c: Likewise.
2133         * math/w_acosl_compat.c: Likewise.
2134         * math/w_asin_compat.c: Likewise.
2135         * math/w_asinf_compat.c: Likewise.
2136         * math/w_asinl_compat.c: Likewise.
2137         * math/w_atan2_compat.c: Likewise.
2138         * math/w_atan2f_compat.c: Likewise.
2139         * math/w_atan2l_compat.c: Likewise.
2140         * math/w_atanh_compat.c: Likewise.
2141         * math/w_atanhf_compat.c: Likewise.
2142         * math/w_atanhl_compat.c: Likewise.
2143         * math/w_cosh_compat.c: Likewise.
2144         * math/w_coshf_compat.c: Likewise.
2145         * math/w_coshl_compat.c: Likewise.
2146         * math/w_exp10_compat.c: Likewise.
2147         * math/w_exp10f_compat.c: Likewise.
2148         * math/w_exp10l_compat.c: Likewise.
2149         * math/w_exp2_compat.c: Likewise.
2150         * math/w_exp2f_compat.c: Likewise.
2151         * math/w_exp2l_compat.c: Likewise.
2152         * math/w_fmod_compat.c: Likewise.
2153         * math/w_fmodf_compat.c: Likewise.
2154         * math/w_fmodl_compat.c: Likewise.
2155         * math/w_hypot_compat.c: Likewise.
2156         * math/w_hypotf_compat.c: Likewise.
2157         * math/w_hypotl_compat.c: Likewise.
2158         * math/w_j0_compat.c: Likewise.
2159         * math/w_j0f_compat.c: Likewise.
2160         * math/w_j0l_compat.c: Likewise.
2161         * math/w_j1_compat.c: Likewise.
2162         * math/w_j1f_compat.c: Likewise.
2163         * math/w_j1l_compat.c: Likewise.
2164         * math/w_jn_compat.c: Likewise.
2165         * math/w_jnf_compat.c: Likewise.
2166         * math/w_jnl_compat.c: Likewise.
2167         * math/w_log10_compat.c: Likewise.
2168         * math/w_log10f_compat.c: Likewise.
2169         * math/w_log10l_compat.c: Likewise.
2170         * math/w_log2_compat.c: Likewise.
2171         * math/w_log2f_compat.c: Likewise.
2172         * math/w_log2l_compat.c: Likewise.
2173         * math/w_log_compat.c: Likewise.
2174         * math/w_logf_compat.c: Likewise.
2175         * math/w_logl_compat.c: Likewise.
2176         * math/w_pow_compat.c: Likewise.
2177         * math/w_powf_compat.c: Likewise.
2178         * math/w_powl_compat.c: Likewise.
2179         * math/w_remainder_compat.c: Likewise.
2180         * math/w_remainderf_compat.c: Likewise.
2181         * math/w_remainderl_compat.c: Likewise.
2182         * math/w_scalb_compat.c: Likewise.
2183         * math/w_scalbf_compat.c: Likewise.
2184         * math/w_scalbl_compat.c: Likewise.
2185         * math/w_sinh_compat.c: Likewise.
2186         * math/w_sinhf_compat.c: Likewise.
2187         * math/w_sinhl_compat.c: Likewise.
2188         * math/w_sqrt_compat.c: Likewise.
2189         * math/w_sqrtf_compat.c: Likewise.
2190         * math/w_sqrtl_compat.c: Likewise.
2191         * math/w_tgamma_compat.c: Likewise.
2192         * math/w_tgammaf_compat.c: Likewise.
2193         * math/w_tgammal_compat.c: Likewise.
2195         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
2196         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2197         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2198         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2199         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2200         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2201         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2202         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2203         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2204         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
2205         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
2206         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
2207         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2208         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2209         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2210         * sysdeps/ia64/fpu/w_powl.c: Likewise.
2211         * sysdeps/ia64/fpu/w_powf.c: Likewise.
2212         * sysdeps/ia64/fpu/w_pow.c: Likewise.
2213         * sysdeps/ia64/fpu/w_logl.c: Likewise.
2214         * sysdeps/ia64/fpu/w_logf.c: Likewise.
2215         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2216         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2217         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2218         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2219         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2220         * sysdeps/ia64/fpu/w_log10.c: Likewise.
2221         * sysdeps/ia64/fpu/w_log.c: Likewise.
2222         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2223         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2224         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2225         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2226         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2227         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2228         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2229         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2230         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2231         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2232         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2233         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2234         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2235         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2236         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2237         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2238         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2239         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2240         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2241         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2242         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2243         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2244         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2245         * sysdeps/ia64/fpu/w_asin.c: Likewise.
2246         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2247         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2248         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2249         * sysdeps/ia64/fpu/w_acos.c: Likewise.
2250         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2251         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2252         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2253         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
2254         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
2255         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
2256         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
2257         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
2258         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
2259         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
2260         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2261         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2262         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2263         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2264         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2265         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2266         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2267         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2268         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2269         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2270         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2271         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2272         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2273         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2274         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2275         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2276         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2277         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2278         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2279         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2280         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2281         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2282         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2283         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2284         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2285         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2286         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2287         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2288         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2289         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2290         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2291         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2292         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2293         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2294         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2296         Likewise.
2297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2298         Likewise.
2299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2301         Likewise.
2302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2303         Likewise.
2304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2305         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2306         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2307         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2308         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2309         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2310         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2316         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2317         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2318         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2320         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2321         and adjusted for new #includes path
2322         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2323         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2324         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2325         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2326         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2327         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2328         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2329         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2330         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2331         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2332         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2333         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2334         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2335         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2336         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2337         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2338         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2339         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2340         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2341         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2342         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2343         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2344         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2345         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2346         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2347         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2348         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2349         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2350         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2351         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2352         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2353         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2354         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2355         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2356         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2357         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2358         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2359         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2360         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2361         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2362         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2363         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2364         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2365         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2366         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2367         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2368         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2369         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2370         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2371         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2372         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2373         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2374         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2375         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2376         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2377         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2378         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2379         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2380         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2381         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2382         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2383         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2384         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2385         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2386         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2387         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2388         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2389         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2390         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2391         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2392         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2393         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2394         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2395         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2396         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2397         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2398         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2399         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2400         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2401         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2402         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2403         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2404         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2405         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2406         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2407         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2408         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2409         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2410         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2411         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2412         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2413         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2414         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2415         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2416         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2417         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2418         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2419         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2420         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2422         Likewise.
2423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2424         Likewise.
2425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2426         Likewise.
2427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2428         Likewise.
2429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2430         Likewise.
2431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2432         Likewise.
2433         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2434         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2435         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2436         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2437         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2438         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2440         Likewise.
2441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2442         Likewise.
2443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2444         Likewise.
2445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2446         Likewise.
2447         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2448         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2449         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2450         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2452 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2454         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2455         __jmp_buf_internal_tag.
2457         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2458         preserve NaN payload if [__mips_nan2008].
2459         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2461         [BZ #21022]
2462         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2464 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2466         * sysdeps/i386/fpu/libm-test-ulps: Update.
2468 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2470         * sysdeps/ia64/strcat.c: Remove file.
2471         * sysdeps/powerpc/strcat.c: Likewise.
2472         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2473         C implementation.
2474         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2475         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2477 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2478             Steven Munroe  <sjmunroe@us.ibm.com>
2479             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2481         [BZ #20822]
2482         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2483         (__lll_lock_elision): Access adapt_count via C11 atomics.
2484         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2485         (__lll_trylock_elision): Likewise.
2486         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2487         (__lll_unlock_elision):  Update adapt_count variable inside the
2488         critical section using C11 atomics.
2490 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2492         * math/test-fenvinline.c (do_test): Disable tests of raised
2493         exceptions if !EXCEPTION_TESTS (FLOAT).
2495 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2497         [BZ #19390]
2498         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2499         maximum string size.
2500         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2501         in pointer addition.
2502         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2503         Likewise.
2505 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2507         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2508         passed to tst-ldconfig-X.sh.
2510 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2512         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2514 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2516         [BZ #21019]
2517         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2518         New syscall entry.
2519         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2520         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2521         lseek.
2523         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2524         power4 glibc for powerpc-linux-gnu.
2526 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2528         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2529         semctl.
2531 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2533         * math/test-nearbyint-except.c: Include <stdbool.h>.
2534         (any_supported): New variable.
2535         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2536         set any_supported.
2537         (do_test): Return 77 if no floating-point type supported
2538         exceptions.
2540         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2541         condition on [__mips_hard_float].
2543 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2545         [BZ #21014]
2546         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2547         in pointer addition.
2548         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2550 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2552         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2553         new condvar.
2555 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2557         * scripts/build-many-glibcs.py (Context.checkout): Default
2558         binutils version to 2.28 branch.
2560 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2562         * support/support_format_netent.c (support_format_netent): Work
2563         around alpha struct netent definition difference.
2565 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2567         * support/xwrite.c (xwrite): Use %td for pointer difference.
2569 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2571         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2572         have-tunables only.
2573         (tests-static): Add tst-malloc-usable-static-tunables for
2574         have-tunables only.
2576 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2578         * scripts/config.guess: Update to version 2017-01-01.
2579         * scripts/config.sub: Update to version 2017-01-01.
2581         * NEWS: Update copyright dates.
2582         * catgets/gencat.c (print_version): Likewise.
2583         * csu/version.c (banner): Likewise.
2584         * debug/catchsegv.sh: Likewise.
2585         * debug/pcprofiledump.c (print_version): Likewise.
2586         * debug/xtrace.sh (do_version): Likewise.
2587         * elf/ldconfig.c (print_version): Likewise.
2588         * elf/ldd.bash.in: Likewise.
2589         * elf/pldd.c (print_version): Likewise.
2590         * elf/sotruss.sh: Likewise.
2591         * elf/sprof.c (print_version): Likewise.
2592         * iconv/iconv_prog.c (print_version): Likewise.
2593         * iconv/iconvconfig.c (print_version): Likewise.
2594         * locale/programs/locale.c (print_version): Likewise.
2595         * locale/programs/localedef.c (print_version): Likewise.
2596         * login/programs/pt_chown.c (print_version): Likewise.
2597         * malloc/memusage.sh (do_version): Likewise.
2598         * malloc/memusagestat.c (print_version): Likewise.
2599         * malloc/mtrace.pl: Likewise.
2600         * manual/libc.texinfo: Likewise.
2601         * nptl/version.c (banner): Likewise.
2602         * nscd/nscd.c (print_version): Likewise.
2603         * nss/getent.c (print_version): Likewise.
2604         * nss/makedb.c (print_version): Likewise.
2605         * posix/getconf.c (main): Likewise.
2606         * scripts/test-installation.pl: Likewise.
2607         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2609         * All files with FSF copyright notices: Update copyright dates
2610         using scripts/update-copyrights.
2611         * intl/plural.c: Regenerated.
2612         * locale/programs/charmap-kw.h: Likewise.
2613         * locale/programs/locfile-kw.h: Likewise.
2615 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2617         [BZ #20593]
2618         Update DNS RR type definitions.
2619         * scripts/gen-rrtypes.py: New file.
2620         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2621         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2622         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2623         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2624         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2625         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2626         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2627         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2628         ns_t_ta, ns_t_dlv.
2629         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2630         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2631         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2632         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2633         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2634         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2635         Define.
2636         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2637         entry for ns_t_zxfr.
2639 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2641         [BZ #18784]
2642         CVE-2015-5180
2643         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2644         T_UNSPEC.  Adjust value.
2645         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2646         * resolv/res_query.c (__libc_res_nquery): Likewise.
2647         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2648         QTYPEs.
2649         * resolv/tst-resolv-qtypes.c: New file.
2650         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2651         (tst-resolv-qtypes): Link against libresolv and libpthread.
2653 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2655         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2657 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2659         * manual/tunables.texi: New chapter.
2660         * manual/Makefile (chapters): Add it.
2661         * manual/probes.texi (@node): Point to the Tunables chapter.
2663         * Makeconfig (have-tunables): Check for non-negative instead
2664         of positive.
2665         * configure.ac: Add 'valstring' as a valid value for
2666         --enable-tunables.
2667         * configure: Regenerate.
2668         * elf/Makefile (have-tunables): Check for non-negative instead
2669         of positive.
2670         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2671         dl-tunables.c.
2672         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2673         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2674         (tunables_strdup): Likewise.
2675         (disable_tunables): Likewise.
2676         (parse_tunables): Likewise.
2677         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2678         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2679         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2680         (TUNABLES_FRONTEND_yes): New macro, define as
2681         TUNABLES_FRONTEND_valstring by default.
2682         * manual/install.texi: Document new acceptable values for
2683         --enable-tunables.
2684         * INSTALL: Regenerate.
2686         * config.make.in (have-loop-to-function): Define.
2687         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2688         -fno-tree-loop-distribute-patterns.
2689         * elf/dl-tunables.c: Include libc-internals.h.
2690         (GLIBC_TUNABLES): New macro.
2691         (tunables_strdup): New function.
2692         (parse_tunables): New function.
2693         (min_strlen): New function.
2694         (__tunables_init): Use the new functions and macro.
2695         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2696         * malloc/tst-malloc-usable-tunables.c: New test case.
2697         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2698         * malloc/Makefile (tests, tests-static): Add tests.
2700         * manual/install.texi: Add --enable-tunables option.
2701         * INSTALL: Regenerate.
2702         * README.tunables: New file.
2703         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2704         (before-compile): Generate dl-tunable-list.h early.
2705         * config.h.in: Add HAVE_TUNABLES.
2706         * config.make.in: Add have-tunables.
2707         * configure.ac: Add --enable-tunables option.
2708         * configure: Regenerate.
2709         * csu/init-first.c (__libc_init_first): Move
2710         __libc_init_secure earlier...
2711         * csu/init-first.c (LIBC_START_MAIN):... to here.
2712         Include dl-tunables.h, libc-internal.h.
2713         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2714         binaries.
2715         * elf/Makefile (dl-routines): Add dl-tunables.
2716         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2717         namespace.
2718         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2719         only when !HAVE_TUNABLES.
2720         * elf/rtld.c (process_envvars): Likewise.
2721         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2722         (_dl_sysdep_start): Call __tunables_init.
2723         * elf/dl-tunable-types.h: New file.
2724         * elf/dl-tunables.c: New file.
2725         * elf/dl-tunables.h: New file.
2726         * elf/dl-tunables.list: New file.
2727         * malloc/tst-malloc-usable-static.c: New test case.
2728         * malloc/Makefile (tests-static): Add it.
2729         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2730         Define TUNABLE_NAMESPACE.
2731         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2732         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2733         callback functions.
2734         (ptmalloc_init): Set tunable values.
2735         * scripts/gen-tunables.awk: New file.
2736         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2737         (_dl_sysdep_start): Call __tunables_init.
2739 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2741         * resolv/resolv.h (RES_BLAST): Deprecate.
2742         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2743         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2744         to RES_BLAST.
2746 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2748         [BZ #19582]
2749         Deprecate RES_USE_INET6.
2750         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2751         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2752         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2753         RES_USE_INET6.
2754         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2755         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2756         (_nss_nisplus_gethostbyaddr_r): Likewise.
2757         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2758         of res_use_inet6.
2759         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2760         instead of RES_USE_INET6.
2761         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2762         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2763         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2764         Likewise.
2765         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2766         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2767         Likewise.
2768         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2769         (_nss_dns_gethostbyname_r): Likewise.
2770         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2771         alternate RES_USE_INET6 handling.
2772         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2773         instead of RES_USE_INET6.
2774         * resolv/res_init.c (res_setoptions): Likewise.
2775         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2776         * resolv/resolv-internal.h: New file.
2777         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2778         make the deprecation warning non-fatal.
2779         * resolv/README (Using the resolver in multi-threaded code): Drop
2780         reference to RES_USE_INET6.
2781         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2782         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2784 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2786         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2787         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2788         tst-resolv-search.
2789         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2790         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2791         with libresolv and libpthread.
2792         * resolv/tst-bug18665.c: New file.
2793         * resolv/tst-bug18665-tcp: Likewise.
2794         * resolv/tst-res_use_inet6: Likewise.
2795         * resolv/tst-resolv-basic: Likewise.
2796         * resolv/tst-resolv-network: Likewise.
2797         * resolv/tst-resolv-search: Likewise.
2798         * support/Makefile (libsupport-routines): Add check_addrinfo,
2799         check_dns_packet, check_hostent, check_netent, resolv_test,
2800         support_format_address_family, support_format_addrinfo,
2801         support_format_dns_packet, support_format_herrno,
2802         support_format_hostent, support_format_netent, support_run_diff,
2803         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2804         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2805         xstrdup, xwrite.
2806         * support/check_addrinfo.c: New file.
2807         * support/check_dns_packet.c: Likewise.
2808         * support/check_hostent.c: Likewise.
2809         * support/check_netent.c: Likewise.
2810         * support/check_nss.h: Likewise.
2811         * support/format_nss.h: Likewise.
2812         * support/resolv_test.c: Likewise.
2813         * support/resolv_test.h: Likewise.
2814         * support/run_diff.h: Likewise.
2815         * support/support_format_address_family.c: Likewise.
2816         * support/support_format_addrinfo.c: Likewise.
2817         * support/support_format_dns_packet.c: Likewise.
2818         * support/support_format_herrno.c: Likewise.
2819         * support/support_format_hostent.c: Likewise.
2820         * support/support_format_netent.c: Likewise.
2821         * support/support_run_diff.c: Likewise.
2822         * support/xaccept.c: Likewise.
2823         * support/xbind.c: Likewise.
2824         * support/xconnect.c: Likewise.
2825         * support/xfclose.c: Likewise.
2826         * support/xfopen.c: Likewise.
2827         * support/xgetsockname.c: Likewise.
2828         * support/xlisten.c: Likewise.
2829         * support/xmemstream.c: Likewise.
2830         * support/xmemstream.h: Likewise.
2831         * support/xpoll.c: Likewise.
2832         * support/xpthread_once.c: Likewise.
2833         * support/xrecvfrom.c: Likewise.
2834         * support/xsendto.c: Likewise.
2835         * support/xsetsockopt.c: Likewise.
2836         * support/xstdio.h: Likewise.
2837         * support/xstrdup.c: Likewise.
2838         * support/support.h (xstrdup): Declare.
2839         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2840         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2841         * support/xthread.h (xpthread_once): Likwise.
2842         * support/xunistd.h (xwrite): Declare.
2844 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2846         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2847         (test_verbose): Declare.
2848         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2849         * support/support_test_main.c (default_options): Likewise.
2850         (usage, support_test_main): Handle 'v'.
2851         (test_verbose): Define.
2852         * support/tst-support_record_failure.c (do_test): Use
2853         test_verbose.
2854         * support/tst-support_record_failure-2.sh (different_status): Add
2855         --verbose test.
2857 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2859         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2860         test failures are recorded.
2861         * support/check.c (support_print_failure_impl): Call
2862         support_record_failure.
2863         (support_exit_failure_impl): Call support_record_failure if status
2864         indicates failure.
2865         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2866         * support/xasprintf.c (xasprintf): Likewise.
2867         * support/xfork.c (xfork): Likewise.
2868         * support/xpthread_check_return.c (xpthread_check_return):
2869         Likewise.
2870         * support/xsocket.c (xsocket): Likeweise.
2871         * support/xwaitpid.c (xwaitpid): Likewise.
2872         * support/support_record_failure.c (struct test_failures): Adjust
2873         to coding style.
2874         * support/support_test_verify_impl.c (support_test_verify_impl):
2875         Adjust error messages.
2876         * support/tst-support_record_failure-2.sh (different_status):
2877         Adjust error messages.
2879 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2881         * support/namespace.h: New file.
2882         * support/support_become_root.c: Likewise.
2883         * support/support_enter_network_namespace.c: Likewise.
2884         * support/tst-support-namespace.c: Likewise.
2885         * support/xsocket.c: Likewise.
2886         * support/xsocket.h: Likewise.
2887         * support/Makefile (libsupport-routines): Add support_become_root,
2888         support_enter_network_namespace, xsocket.
2889         (tests): Add tst-support-namespace.
2891 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2893         [BZ #17252]
2894         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
2895         __USE_GNU.
2897 2016-12-31  Torvald Riegel  <triegel@redhat.com>
2899         [BZ #13165]
2900         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
2901         use new algorithm.
2902         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2903         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2904         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2905         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2906         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
2907         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
2908         __condvar_cleanup_waiting, __condvar_dec_grefs,
2909         __pthread_cond_wait_common): New.
2910         (__condvar_cleanup): Remove.
2911         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
2912         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
2913         Likewise.
2914         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
2915         Likewise.
2916         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
2917         * nptl/tst-cond1.c: Add comment.
2918         * nptl/tst-cond20.c (do_test): Adapt.
2919         * nptl/tst-cond22.c (do_test): Likewise.
2920         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
2921         structure.
2922         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2923         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2924         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2925         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
2926         Likewise.
2927         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2928         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2929         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2930         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2931         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2932         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
2933         Likewise.
2934         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
2935         Likewise.
2936         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2937         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
2938         (COND_CLOCK_BITS): Adapt.
2939         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
2940         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
2941         __PTHREAD_COND_SHARED_MASK): New.
2942         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
2943         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
2944         * nptl/nptl_lock_constants.pysym: Adapt.
2945         * nptl/test-cond-printers.py: Adapt.
2946         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
2947         cond_compat_check_and_clear): Adapt.
2948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
2949         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2950         (__pthread_cond_timedwait): ... and move here.
2951         * nptl/DESIGN-condvar.txt: Remove file.
2952         * nptl/lowlevelcond.sym: Likewise.
2953         * nptl/pthread_cond_timedwait.c: Likewise.
2954         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
2955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
2956         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2957         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2958         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
2959         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
2960         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
2961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
2962         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
2963         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
2964         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
2965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
2966         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
2967         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
2968         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2969         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
2971 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
2973         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2974         (fromfp): New declaration.
2975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2978         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
2979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
2980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2983         * math/math.h: Include <bits/types.h>.
2984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
2985         constant and macro.
2986         (FP_INT_DOWNWARD): Likewise.
2987         (FP_INT_TOWARDZERO): Likewise.
2988         (FP_INT_TONEARESTFROMZERO): Likewise.
2989         (FP_INT_TONEAREST): Likewise.
2990         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
2991         (fromfpf): Likewise.
2992         (fromfpl): Likewise.
2993         (ufromfp): Likewise.
2994         (ufromfpf): Likewise.
2995         (ufromfpl): Likewise.
2996         (fromfpx): Likewise.
2997         (fromfpxf): Likewise.
2998         (fromfpxl): Likewise.
2999         (ufromfpx): Likewise.
3000         (ufromfpxf): Likewise.
3001         (ufromfpxl): Likewise.
3002         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3003         s_fromfpxF and s_ufromfpxF.
3004         * math/gen-fromfp-tests.py: New file.
3005         * math/gen-fromfp-tests-inputs: Likewise.
3006         * math/libm-test.inc: Include <stdint.h>
3007         (check_intmax_t): New function.
3008         (check_uintmax_t): Likewise.
3009         (struct test_fiu_M_data): New type.
3010         (struct test_fiu_U_data): Likewise.
3011         (RUN_TEST_fiu_M): New macro.
3012         (RUN_TEST_LOOP_fiu_M): Likewise.
3013         (RUN_TEST_fiu_U): Likewise.
3014         (RUN_TEST_LOOP_fiu_U): Likewise.
3015         (fromfp_test_data): New array.
3016         (fromfp_test): New function.
3017         (fromfpx_test_data): New array.
3018         (fromfpx_test): New function.
3019         (ufromfp_test_data): New array.
3020         (ufromfp_test): New function.
3021         (ufromfpx_test_data): New array.
3022         (ufromfpx_test): New function.
3023         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3024         ufromfpx_test.
3025         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3026         characters.
3027         * math/test-tgmath-ret.c: Include <stdint.h>.
3028         (rm): New variable.
3029         (width): Likewise.
3030         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3031         called function.
3032         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3033         CHECK_RET_CONST_TYPE.
3034         (CHECK_RET_CONST_DOUBLE): Likewise.
3035         (CHECK_RET_CONST_LDOUBLE): Likewise.
3036         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3037         macros.
3038         (fromfp): New CHECK_RET_CONST call.
3039         (ufromfp): Likewise.
3040         (fromfpx): Likewise.
3041         (ufromfpx): Likewise.
3042         (do_test): Call check_return_fromfp, check_return_ufromfp,
3043         check_return_fromfpx and check_return_ufromfpx.
3044         * math/test-tgmath.c: Include <stdint.h>
3045         (NCALLS): Increase to 138.
3046         (F(compile_test)): Initialize i.  Call fromfp functions.
3047         (F(fromfp)): New function.
3048         (F(fromfpx)): Likewise.
3049         (F(ufromfp)): Likewise.
3050         (F(ufromfpx)): Likewise.
3051         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3052         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3053         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3054         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3055         ufromfpxl.
3056         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3057         ufromfp and ufromfpx.
3058         * math/fromfp.h: New file.
3059         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3060         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3061         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3062         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3063         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3064         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3065         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3066         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3067         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3068         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3069         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3070         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3071         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3072         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3073         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3074         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3075         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3076         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3077         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3078         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3079         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3080         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3081         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3082         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3083         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3084         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3085         ufromfp, fromfpx and ufromfpx.
3086         (CFLAGS-nldbl-fromfp.c): New variable.
3087         (CFLAGS-nldbl-fromfpx.c): Likewise.
3088         (CFLAGS-nldbl-ufromfp.c): Likewise.
3089         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3090         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3091         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3092         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3093         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3094         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3095         * sysdeps/nacl/libm.abilist: Update.
3096         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3097         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3098         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3099         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3100         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3101         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3102         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3103         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3104         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3105         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3106         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3107         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3109         Likewise.
3110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3111         Likewise.
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3113         Likewise.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3115         Likewise.
3116         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3117         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3118         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3119         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3120         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3122         Likewise.
3123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3124         Likewise.
3125         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3126         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3127         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3129 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3131         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3132         compat-gethnamaddr.
3133         (CPPFLAGS): Remove.
3134         * resolv/gethnamaddr.c: Rename ...
3135         * resolv/compat-gethnamaddr.c: ... to this file.
3136         (_endhtent): Make static.
3137         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3138         symbol.
3139         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3140         compat symbol.
3141         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3142         symbol.
3143         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3144         Turn into compat symbol.
3145         * include/resolv.h (_endhtent): Remove declaration.
3147 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3149         * bits/types.h (__intmax_t): New typedef.
3150         (__uintmax_t): Likewise.
3151         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3152         (intmax_t): Define using __intmax_t.
3153         (uintmax_t): Define using __uintmax_t.
3155         * support/Makefile (tests-special): Make definition conditional on
3156         [$(run-built-tests) = yes].
3157         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3158         on [$(run-built-tests) = yes].
3160 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3162         * Rules (tests): Add tests-printers-programs to tests to be
3163         built.
3165 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3167         * sysvipc/Makefile (tests): Add test-sysvshm.
3168         * sysvipc/test-sysvshm.c: New file.
3170         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3171         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3172         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3173         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3174         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3175         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3176         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3177         Likewise.
3178         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3179         Likewise.
3180         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3181         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3182         is defined.
3184         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
3185         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
3186         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
3187         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
3188         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
3189         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
3190         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
3191         Likewise.
3192         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
3193         Likewise.
3194         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
3195         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
3196         defined.
3198         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3199         oldshmctl.
3200         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
3201         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
3202         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
3203         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
3204         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
3205         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
3206         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
3207         Likewise.
3208         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
3209         Likewise.
3210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
3211         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
3212         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
3213         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
3214         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
3215         implementation.
3216         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
3217         if it is defined.
3219         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
3220         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
3221         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
3222         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
3223         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
3224         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
3225         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
3226         Likewise.
3227         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
3228         Likewise.
3229         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
3230         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3231         Define to __NR_osf_shmat.
3232         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
3233         defined.
3235         * sysvipc/Makefile (tests): Add test-sysvsem.
3236         * sysvipc/test-sysvsem.c: New file.
3238         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
3239         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
3240         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
3241         Likewise.
3242         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
3243         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
3244         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
3245         Likewise.
3246         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
3247         Likewise.
3248         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
3249         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
3250         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
3251         add a comment about s390 syscall difference from default one.
3252         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
3253         syscall if it is defined.
3255         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
3256         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
3257         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
3258         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
3259         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
3260         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3261         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3262         Likewise.
3263         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3264         Likewise.
3265         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3266         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3267         defined.
3269         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3270         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3271         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3272         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3273         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3274         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3275         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3278         Likewise.
3279         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3280         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3281         if it is defined.
3283         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3284         oldsemctl.
3285         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3286         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3287         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3289         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3290         implementation.
3291         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3292         syscall if it is defined.
3293         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3294         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3295         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3296         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3297         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3298         Likewise.
3299         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3301         * sysvipc/Makefile (tests): Add test-sysvmsg.
3302         * sysvipc/test-sysvmsg.c: New file.
3303         * support/check.h (FAIL_UNSUPPORTED): New define.
3305         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3306         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3307         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3308         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3309         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3310         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3311         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3312         Likewise.
3313         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3314         Likewise.
3315         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3316         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3317         define.
3319         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3320         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3321         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3322         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3323         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3324         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3325         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3326         Likewise.
3327         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3328         Likewise.
3329         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3330         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3331         if defined.
3333         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3334         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3335         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3336         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3337         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3338         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3339         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3340         Likewise.
3341         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3342         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3343         Likewise.
3344         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3345         if defined.
3346         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3348         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3349         oldmsgctl.
3350         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3351         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3352         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3353         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3354         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3355         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3356         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3357         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3358         Likewise.
3359         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3360         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3361         implementation.
3362         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3363         if defined.
3365         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3366         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3367         definition and define its own.
3368         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3369         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3370         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3371         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3372         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3373         definitions to common header.
3374         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3375         operation from ipc_ops.h.
3377         * sysdeps/unix/sysv/linux/kernel-features.h
3378         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3379         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3380         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3381         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3382         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3383         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3384         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3385         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3386         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3387         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3388         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3389         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3390         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3391         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3392         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3394 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3396         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3397         overflow in pointer addition.
3399 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3401         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3402         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3404         (strchr): Add __strchr_power8 to list of strchr functions.
3405         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3406         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3407         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3408         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3409         (strchr): Add __strchr_power8 to ifunc list.
3410         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3411         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3412         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3413         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3415 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3417         * support/Makefile (libsupport-routines): Add
3418         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3419         (tests): Add tst-support_record_failure.
3420         (tests-special): tst-support_record_failure-2.
3421         (tst-support_record_failure-2.out): Depend on
3422         tst-support_record_failure-2.sh and tst-support_record_failure.
3423         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3424         (support_test_verify_impl, support_record_failure)
3425         (support_report_failure, support_report_failure_reset): Declare.
3426         * support/support_test_main.c (adjust_exit_status): New function.
3427         (support_test_main): Call it to incorporate record test failures.
3428         * support/support_test_verify_impl.c: New file.
3429         * support/support_record_failure.c: Likewise.
3430         * support/tst-support_record_failure.c: Likewise.
3431         * support/tst-support_record_failure-2.sh: Likewise.
3432         * support/xunistd.h: Likewise.
3433         * support/xfork.c: Likewise.
3434         * support/xwaitpid.c: Likewise.
3436 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3438         * scripts/check-c++-types.sh: Add comments.
3440 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3442         [BZ #19514]
3443         * resolv/res_send.c: Fix typo in comment.
3444         * sysdeps/i386/i386-mcount.S: Likewise.
3445         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3446         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3447         * sysdeps/sparc/sparc-mcount.S: Likewise.
3449 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3451         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3452         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3453         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3454         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3455         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3456         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3457         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3458         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3460 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3462         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3464 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3466         [BZ #17252]
3467         * posix/unistd.h (getentropy): Declare.
3469 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3471         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3472         Remove.
3473         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3474         (cmd): Remove spoof, nospoof, spoofalert.
3475         (parse_line): Ignore spoof-related lines.
3476         (do_init): Do not process RESOLV_SPOOF_CHECK.
3478 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3480         [BZ #20964]
3481         sunrpc: Always obtain AF_INET addresses from NSS.
3482         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3483         * sunrpc/rpc_gethostbyname.c: New file.
3484         * sunrpc/Makefile (routines): Add it.
3485         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3486         * sunrpc/clnt_simp.c (callrpc): Likewise.
3487         * sunrpc/getrpcport.c (getrpcport): Likewise.
3489 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3491         * sunrpc/rpcinfo.c: Remove.
3492         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3494 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3496         [BZ# 19387]
3497         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3498         addition.
3499         * string/test-memchr.c (do_test): Remove alignment limitation.
3500         (test_main): Add test that trigger BZ# 19387.
3502 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3504         [BZ #7065]
3505         Enable stack protectore if requested by ./configure.
3506         * Makeconfig (+stack-protector): New variable.
3507         (+cflags): Use it.
3509 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3511         [BZ #7065]
3512         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3513         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3514         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3515         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3516         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3518 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3520         [BZ #7065]
3521         * login/Makefile (pt_chown-cflags): Remove.
3522         * nscd/Makefile (CFLAGS-nscd): Likewise.
3523         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3525 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3527         [BZ #7065]
3528         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3529         non-libc-linking testcase.
3531 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3532             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3533             Florian Weimer  <fweimer@redhat.com>
3535         [BZ #7065]
3536         PLT avoidance for __stack_chk_fail*.
3537         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3538         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3539         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3540         __stack_chk_fail_local alias.
3541         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3542         (__stack_chk_fail): Turn into hidden reference to
3543         __stack_chk_fail_local.
3545 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3547         [BZ #7065]
3548         * configure.ac: Add check for unsupported stack-protection level.
3549         (libc_cv_predef_stack_protector): Remove.
3550         (no_ssp): New variable.
3551         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3552         (stack_protector): Set to -fno-stack-protector similarly.
3553         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3554         (libc_cv_asm_set_directive): Likewise.
3555         (libc_cv_protected_data): Likewise.
3556         (libc_cv_z_combreloc): Likewise.
3557         (libc_cv_hashstyle): Likewise.
3558         (libc_cv_has_glob_dat): Likewise.
3559         (libc_cv_output_format): Likewise.
3560         (libc_cv_output_format): Likewise.
3561         (libc_cv_ehdr_start): Likewise.
3562         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3563         (LIBC_LINKER_FEATURE): Likewise.
3564         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3566 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3568         [BZ #7065]
3569         * elf/Makefile (dummy-stack-chk-fail): New.
3570         (librtld.map): Use it.
3572 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3574         [BZ #7065]
3575         Compile the dynamic linker without stack protection.
3576         * elf/Makefile (elide-stack-protector): New.
3577         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3578         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3579         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3580         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3582 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3584         [BZ #7065]
3585         * config.make.in (have-ssp, no-stack-protector): New.
3586         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3587         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3588         (CFLAGS-sbrk.op): Likewise.
3589         (CFLAGS-brk.o): Likewise.
3590         (CFLAGS-brk.op): Likewise.
3591         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3592         (CFLAGS-wordcopy.c): Likewise.
3594 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3596         [BZ #7065]
3597         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3598         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3599         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3600         (__ifunc_resolver): Use it.
3601         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3602         inhibit_stack_protector.
3603         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3604         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3605         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3606         (foo_protected_ifunc): Likewise.
3607         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3608         (foo_protected_ifunc): Likewise.
3609         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3610         * sysdeps/nacl/nacl_interface_query.c
3611         (nacl_interface_query_ifunc): Likewise.
3612         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3613         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3614         Likewise.
3615         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3616         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3617         the generated vDSO syscall resolver.
3619 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3620             Florian Weimer  <fweimer@redhat.com>
3622         [BZ #7065]
3623         Initialize the stack guard earlier when linking statically.
3624         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3625         (__pthread_initialize_minimal): Declare.
3626         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3627         declaration.
3628         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3629         stack canary and apply_irel initialization up.  Call
3630         __pthread_initialize_minimal only if linked in.
3631         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3632         constant values.
3633         (__pthread_initialize_minimal): Remove.
3634         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3635         (__pthread_initialize_minimal_internal): Do not call
3636         __libc_setup_tls.
3638 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3640         [BZ #7065]
3641         * configure.ac (libc_cv_ssp): Move up.
3642         (libc_cv_ssp_strong): Likewise.
3643         (libc_cv_ssp_all): New.
3644         (stack_protector): Augment, adding -fstack-protector-all.
3645         (no_stack_protector): New.
3646         (STACK_PROTECTOR_LEVEL): New.
3647         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3648         * manual/install.texi (--enable-stack-protector): Document it.
3649         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3651 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3653         * README.pretty-printers: Must specify CPPFLAGS-* also.
3654         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3655         (CPPFLAGS-test-mutex-printers.c): Define.
3656         (CPPFLAGS-test-condattr-printers.c): Define.
3657         (CPPFLAGS-test-cond-printers.c): Define.
3658         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3659         (CPPFLAGS-test-rwlock-printers.c): Define.
3661         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3662         (tests): Add tst-cancel-getpwuid_r.
3663         * nss/tst-cancel-getpwuid_r.c: New file.
3665         [BZ #11941]
3666         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3667         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3668         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3669         tst-nodelete-dlclose.
3670         (modules-names): Add tst-nodelete-dlclose-dso and
3671         tst-nodelete-dlclose-plugin.
3672         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3673         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3674         ($(objpfx)tst-nodelete-dlclose): Define.
3675         ($(objpfx)tst-nodelete-dlclose.out): Define.
3677 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3679         * scripts/test_printers_common.py: Log GDB output in case of
3680         Python detection failure.
3682 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3684         * configure.ac: Check for python3 or python.
3685         * configure: Regenerated.
3686         * config.make.in (PYTHON): New variable.
3687         * benchtests/Makefile: Don't define PYTHON.
3688         (bench): Define target only if PYTHON was defined.
3689         * Rules: Don't define PYTHON.
3690         Define pretty printer targets only if PYTHON was defined.
3691         (tests-printers): Add to tests-unsupported if PYTHON is not
3692         found.
3693         (python-flags, python-invoke): Remove.
3694         (tests-printers-out): Use PYTHON instead of python-invoke.
3696 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3698         [BZ #20978]
3699         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3700         Compare name == NULL, not name != NULL.
3702         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3703         trailing whitespace removed.
3704         * scripts/config.guess: Update to version 2016-10-02.
3705         * scripts/config.sub: Update to version 2016-11-19.
3706         * scripts/install-sh: Update to version 2016-01-11.22.
3707         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3708         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3710 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3712         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3713         (do_one_test) Restore original string so iteration works.
3714         * string/string-inlines.c (do_test): Create better input strings.
3715         (test_main) Reduce number of testruns.
3716         * string/string-inlines.c (__old_strsep_1c): New function.
3717         (__old_strsep_2c): Likewise.
3718         (__old_strsep_3c): Likewise.
3719         * string/strsep.c (__strsep): Remove case of small delim string.
3720         Call strcspn directly rather than strpbrk.
3721         * string/bits/string2.h (__strsep): Remove define.
3722         (__strsep_1c): Remove.
3723         (__strsep_2c): Remove.
3724         (__strsep_3c): Remove.
3725         (strsep): Remove.
3726         * sysdeps/unix/sysv/linux/internal_statvfs.c
3727         (__statvfs_getflags): Rename to __strsep.
3729 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3731         * csu/libc-tls.c (_dl_tls_setup): Remove.
3732         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3733         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3734         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3736 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3738         [BZ #7065]
3739         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3740         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3742 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3743             Florian Weimer  <fweimer@redhat.com>
3745         [BZ #7065]
3746         * csu/Makefile (tests): Empty assignment and document it.
3747         (tests-static): Remove.
3748         * csu/tst-empty.c: Move to...
3749         * misc/tst-empty.c: ... here.  Switch to new test driver.
3750         * csu/tst-atomic.c: Move to...
3751         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3752         * csu/tst-atomic-long.c: Move to...
3753         * misc/tst-atomic-long.c: ... here.
3754         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3755         tst-atomic-long.
3756         (tests-static): Add tst-empty.
3758 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3760         * manual/nss.texi: Change incorrect @vtable to @table.
3761         * manual/arith.texi: Convert @tables of variables to @vtables
3762         and remove unnecessary indexing.
3763         * manual/filesys.texi: Likewise.
3764         * manual/llio.texi: Likewise.
3765         * manual/memory.texi: Likewise.
3766         * manual/process.texi: Likewise.
3767         * manual/resource.texi: Likewise.
3768         * manual/search.texi: Likewise.
3769         * manual/signal.texi: Likewise.
3770         * manual/socket.texi: Likewise.
3771         * manual/stdio.texi: Likewise.
3772         * manual/sysinfo.texi: Likewise.
3773         * manual/syslog.texi: Likewise.
3774         * manual/terminal.texi: Likewise.
3775         * manual/time.texi: Likewise.
3776         * manual/users.texi: Likewise.
3778 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3780         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3781         (roundeven): New declaration.
3782         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3783         macro.
3784         * math/Versions (roundeven): New libm symbol at version
3785         GLIBC_2.25.
3786         (roundevenf): Likewise.
3787         (roundevenl): Likewise.
3788         * math/Makefile (libm-calls): Add s_roundevenF.
3789         * math/libm-test.inc (roundeven_test_data): New array.
3790         (roundeven_test): New function.
3791         (main): Call roundeven_test.
3792         * math/test-tgmath.c (NCALLS): Increase to 134.
3793         (F(compile_test)): Call roundeven.
3794         (F(roundeven)): New function.
3795         * manual/arith.texi (Rounding Functions): Document roundeven,
3796         roundevenf and roundevenl.
3797         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3798         * include/math.h (roundeven): Use libm_hidden_proto.
3799         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3800         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3801         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3802         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3803         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3804         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3805         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3806         roundeven.
3807         (CFLAGS-nldbl-roundeven.c): New variable.
3808         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
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-20  Joseph Myers  <joseph@codesourcery.com>
3845         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3846         preprocessor indentation inside #if.
3848 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3850         * math/libm-test.inc (fmt_ftostr): New function.
3851         (print_float, check_float_internal): Replace some uses of
3852         FTOSTR with uses of fmt_ftostr.
3853         (print_max_error, print_complex_max_error, print_function_ulps)
3854         (print_complex_function_ulps): Remove uses of the macros
3855         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3856         * math/test-double.h (FTOSTR): Define to strfromd.
3857         (PRINTF_EXPR): Delete.
3858         (PRINTF_XEXPR): Likewise.
3859         (PRINTF_NEXPR): Likewise.
3860         * math/test-float.h (FTOSTR): Define to strfromf.
3861         (PRINTF_EXPR): Delete.
3862         (PRINTF_XEXPR): Likewise.
3863         (PRINTF_NEXPR): Likewise.
3864         * math/test-ldouble.h (FTOSTR): Define to strfroml.
3865         (PRINTF_EXPR): Delete.
3866         (PRINTF_XEXPR): Likewise.
3867         (PRINTF_NEXPR): Likewise.
3869 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3871         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3872         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
3873         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3874         (__lll_lock_elision): Decrement adapt_count while unlocking
3875         instead of before locking.
3876         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3877         (__lll_trylock_elision): Likewise.
3878         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
3879         (__lll_unlock_elision): Likewise.
3881 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3883         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
3884         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
3885         Use __libc_tbegin_retry macro.
3887 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3889         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
3890         Add -msoft-float.
3891         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
3892         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3893         Use __libc_t* transaction macros instead of __builtin_t*.
3894         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3895         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3897 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3899         * sysdeps/unix/sysv/linux/s390/elision-lock.c
3900         (__lll_lock_elision): Use atomics to load / store adapt_count.
3901         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3902         (__lll_trylock_elision): Likewise.
3904 2016-12-20  Florian Weimer  <fweimer@redhat.com>
3906         Do not require memset elimination in explicit_bzero test.
3907         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
3908         (enum test_expectation): Add NO_EXPECTATIONS.
3909         (subtests): NO_EXPECTATIONS for ordinary clear.
3910         (check_test_buffer): Handle NO_EXPECTATIONS.
3911         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
3913 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3915         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3916         (fmaxmag): New declaration.
3917         (fminmag): Likewise.
3918         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
3919         macro.
3920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
3921         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
3922         (fmaxmagf): Likewise.
3923         (fmaxmagl): Likewise.
3924         (fminmag): Likewise.
3925         (fminmagf): Likewise.
3926         (fminmagl): Likewise.
3927         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
3928         * math/s_fmaxmag_template.c: New file.
3929         * math/s_fminmag_template.c: Likewise.
3930         * math/libm-test.inc (fmaxmag_test_data): New array.
3931         (fmaxmag_test): New function.
3932         (fminmag_test_data): New array.
3933         (fminmag_test): New function.
3934         (main): Call fmaxmag_test and fminmag_test.
3935         * math/test-tgmath.c (NCALLS): Increase to 132.
3936         (F(compile_test)): Call fmaxmag and fminmag.
3937         (F(fminmag)): New function.
3938         (F(fmaxmag)): Likewise.
3939         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
3940         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
3941         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
3942         fminmag.
3943         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
3944         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
3945         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3946         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3947         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
3948         and fminmag.
3949         (CFLAGS-nldbl-fmaxmag.c): New variable.
3950         (CFLAGS-nldbl-fminmag.c): Likewise.
3951         * sysdeps/nacl/libm.abilist: Update.
3952         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3953         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3954         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3955         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3956         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3957         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3958         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3959         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3962         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3965         Likewise.
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3967         Likewise.
3968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3969         Likewise.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3971         Likewise.
3972         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3974         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3975         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3976         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3978         Likewise.
3979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3980         Likewise.
3981         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3982         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3983         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3985 2016-12-19  Torvald Riegel  <triegel@redhat.com>
3987         [BZ #20973]
3988         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
3989         wake-up in robust mutexes.
3990         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3992 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3994         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
3995         (CFLAGS-bench-fmaxf.c): New rule.
3996         (CFLAGS-bench-fminf.c): Likewise.
3997         * benchtests/fmaxf-inputs: New file.
3998         * benchtests/fminf-inputs: Likewise.
4000         * benchtests/Makefile (bench-math): Add fmin and fmax.
4001         (CFLAGS-bench-fmax.c): New rule.
4002         (CFLAGS-bench-fmin.c): Likewise.
4003         * benchtests/fmax-inputs: New file.
4004         * benchtests/fmin-inputs: Likewise.
4006         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4007         parenthesis.
4008         (CMDLINE_PROCESS): Define using function instead of macro.
4009         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4010         of test-skeleton.
4011         * benchtests/bench-memchr.c: Likewise.
4012         * benchtests/bench-memcmp.c: Likewise.
4013         * benchtests/bench-memcpy-large.c: Likewise.
4014         * benchtests/bench-memcpy.c: Likewise.
4015         * benchtests/bench-memmem.c: Likewise.
4016         * benchtests/bench-memmove-large.c: Likewise.
4017         * benchtests/bench-memmove.c: Likewise.
4018         * benchtests/bench-memset-large.c: Likewise.
4019         * benchtests/bench-memset.c: Likewise.
4020         * benchtests/bench-rawmemchr.c: Likewise.
4021         * benchtests/bench-strcasecmp.c: Likewise.
4022         * benchtests/bench-strcasestr.c: Likewise.
4023         * benchtests/bench-strcat.c: Likewise.
4024         * benchtests/bench-strchr.c: Likewise.
4025         * benchtests/bench-strcmp.c: Likewise.
4026         * benchtests/bench-strcpy.c: Likewise.
4027         * benchtests/bench-strcpy_chk.c: Likewise.
4028         * benchtests/bench-strlen.c: Likewise.
4029         * benchtests/bench-strncasecmp.c: Likewise.
4030         * benchtests/bench-strncmp.c: Likewise.
4031         * benchtests/bench-strncpy.c: Likewise.
4032         * benchtests/bench-strnlen.c: Likewise.
4033         * benchtests/bench-strpbrk.c: Likewise.
4034         * benchtests/bench-strrchr.c: Likewise.
4035         * benchtests/bench-strsep.c: Likewise.
4036         * benchtests/bench-strspn.c: Likewise.
4037         * benchtests/bench-strstr.c: Likewise.
4038         * benchtests/bench-strtok.c: Likewise.
4040 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4042         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4043         stepping identification.
4044         (init_cpu_features): Add handle of Haswell.
4046 2016-11-25  Jim Meyering  <meyering@fb.com>
4048         [BZ #20386]
4049         Let gcc detect assert(a = 1) errors.
4050         * assert/assert.h (assert): Rewrite, retaining the old definintion
4051         when required, but otherwise putting the expression as-is in an "if"
4052         expression (hence, with no added parentheses) within a statement
4053         expression.
4055 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4057         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4058         DSO.
4060 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4062         * Rules (python-flags, python-invoke): New.
4063         ($(test-printers-out)): Use $(python-flags).
4065 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4067         * manual/arith.texi (Math Error Reporting): Document that sNaN
4068         arguments are not considered domain errors.
4070 2016-12-16  Zack Weinberg <zackw@panix.com>
4071             Florian Weimer <fweimer@redhat.com>
4072             Nick Mathewson <nickm@torproject.org>
4074         * string/explicit_bzero.c: New routine.
4075         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4076         * string/Makefile (routines, strop-tests, tests): Add them.
4077         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4078         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4080         * debug/explicit_bzero_chk.c: New routine.
4081         * debug/Makefile (routines): Add it.
4082         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4083         * string/bits/string3.h: Fortify explicit_bzero.
4085         * manual/string.texi: Document explicit_bzero.
4086         * NEWS: Mention addition of explicit_bzero.
4088         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4089         data before returning, using explicit_bzero.
4090         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4091         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4092         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4094         * include/string.h: Redirect internal uses of explicit_bzero
4095         to __explicit_bzero_chk[_internal].
4096         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4097         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4098         * sysdeps/arm/nacl/libc.abilist
4099         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4100         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4101         * sysdeps/unix/sysv/linux/arm/libc.abilist
4102         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4103         * sysdeps/unix/sysv/linux/i386/libc.abilist
4104         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4105         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4106         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4107         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4108         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4109         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4110         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4111         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4112         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4117         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4118         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4119         * sysdeps/unix/sysv/linux/sh/libc.abilist
4120         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4121         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4124         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4125         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4126         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4127         Add entries for explicit_bzero and __explicit_bzero_chk.
4129 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4131         * math/fenv.h
4132         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4133         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4134         * math/test-fe-snans-always-signal.c: New file.
4135         * math/Makefile (tests): Add test-fe-snans-always-signal.
4136         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4137         * manual/arith.texi (Infinity and NaN): Document
4138         FE_SNANS_ALWAYS_SIGNAL.
4140 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4142         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4143         bracket.
4145 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4147         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4148         before calling execv.
4150 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4152         [BZ# 20971]
4153         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4154         overflow in pointer addition.
4155         * string/test-memchr.c (do_test): Add an argument to pass as
4156         the size on memchr.
4157         (test_main): Add check for SIZE_MAX.
4159 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4161         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4162         (libm-calls): Add w_scalblnF.
4163         * math/w_scalbln.c: Remove.
4164         * math/w_scalblnf.c: Likewise.
4165         * math/w_scalblnl.c: Likewise.
4166         * math/w_scalbln_template.c: New file with type-generic
4167         implementation based on math/w_scalbln.c.
4168         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4169         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4171 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4173         [BZ #20947]
4174         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4175         either is a signaling NaN.
4176         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4177         follow fmaxl more closely.
4178         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4179         when either is a signaling NaN.
4180         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4181         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4182         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4183         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
4184         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
4185         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
4186         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
4187         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
4188         (fmin_test_data): Likewise.
4190 2016-12-15  Andreas Schwab  <schwab@suse.de>
4192         * support/support_test_main.c (support_test_main): Don't shadow
4193         file-local variable test_pid.
4195 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4197         [BZ #20947]
4198         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
4199         either is a signaling NaN.
4200         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
4202 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4204         [BZ #20947]
4205         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
4206         when either is a signaling NaN.
4207         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
4209         * bits/long-double.h: New file.
4210         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
4211         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
4212         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
4213         * sysdeps/mips/bits/long-double.h: Likewise.
4214         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
4215         * math/Makefile (headers): Add bits/long-double.h.
4216         * misc/sys/cdefs.h: Include <bits/long-double.h>.
4217         * stdlib/strtold.c: Include <bits/long-double.h> instead of
4218         <bits/wordsize.h>.
4219         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
4220         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
4221         * math/math.h: Do not include <bits/mathdef.h>.
4222         * sysdeps/aarch64/bits/mathdef.h: Remove file.
4223         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
4224         inclusion.
4225         * sysdeps/ia64/bits/mathdef.h: Remove file.
4226         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
4227         * sysdeps/mips/bits/mathdef.h: Likewise.
4228         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4229         * sysdeps/s390/bits/mathdef.h: Likewise.
4230         * sysdeps/sparc/bits/mathdef.h: Likewise.
4231         * sysdeps/x86/bits/mathdef.h: Likewise.
4232         * sysdeps/s390/s390-32/bits/wordsize.h
4233         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
4234         conditional code.
4235         * sysdeps/s390/s390-64/bits/wordsize.h
4236         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4237         Likewise.
4238         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
4239         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4240         Likewise.
4241         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
4242         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4243         Likewise.
4244         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4245         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4246         Likewise.
4248         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
4249         <linux/falloc.h>.
4250         (FALLOC_FL_KEEP_SIZE): Remove.
4251         (FALLOC_FL_PUNCH_HOLE): Likewise.
4252         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
4253         (FALLOC_FL_ZERO_RANGE): Likewise.
4255 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4257         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
4259 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4261         * sysdeps/unix/sysv/linux/renameat.c: New file.
4262         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4264         * sysdeps/unix/sysv/linux/rename.c: New file.
4265         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4267 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4269         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4270         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4271         * string/strtok_r.c (__strtok_r): Optimize for performance.
4272         * string/string-inlines.c (__old_strtok_r_1c): New function.
4273         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4275 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4277         * math/Makefile (gen-libm-calls): Add w_log1pF.
4278         (libm-calls): Remove w_log1pF.
4279         * math/w_log1p.c: Remove.
4280         * math/w_log1pf.c: Likewise.
4281         * math/w_log1pl.c: Likewise.
4282         * math/w_log1p_template.c: New file with type-generic
4283         implementation based on math/w_log1p.c.
4284         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4285         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4287 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4289         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4291 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4293         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4294         kernel version to 4.9.
4296 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4298         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4299         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4301 2016-12-13  Andreas Schwab  <schwab@suse.de>
4303         * sysdeps/powerpc/dl-procinfo.c: Don't define
4304         _dl_powerpc_platforms.
4305         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4306         constants instead of referencing _dl_powerpc_platforms.
4307         (_dl_platform_string): Remove.
4309 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4311         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4313 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4315         * Rules (binaries-shared-tests, binaries-pie-tests)
4316         (binaries-static-tests): Link with $(link-extra-libs-tests).
4317         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4318         Remove $(link-extra-libs-tests).
4320 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4322         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4323         (sysdep_routines): Add strncmp_power9.
4324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4325         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4326         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4327         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4328         (strncmp): Add __strncmp_power9 to ifunc list.
4329         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4331 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4333         [BZ #17252]
4334         Add getentropy, getrandom.
4335         * stdlib/sys/random.h: New file.
4336         (headers): Add it.
4337         * stdlib/Makefile (routines): Add getentropy, getrandom.
4338         (tests): Add tst-getrandom.
4339         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4340         * stdlib/getentropy.c: New file.
4341         * stdlib/getrandom.c: Likewise.
4342         * stdlib/tst-getrandom.c: Likewise.
4343         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4344         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4345         * manual/crypt.texi (Unpredictable Bytes): New section.
4346         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4347         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4348         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4349         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4350         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4351         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4352         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4353         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4354         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4355         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4356         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4357         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4361         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4363         Likewise.
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4365         Likewise.
4366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4368         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4369         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4370         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4372         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4375         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4376         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4377         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4379 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4381         [BZ #20956]
4382         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4383         as additional compiler barriers.
4384         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4385         (fn2, do_test): Declare with external linkage.
4386         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4387         (do_test): Declare with external linkage.
4388         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4389         (do_test): Declare with external linkage.
4390         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4391         (do_test): Declare with external linkage.
4393 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4395         * support/support_test_main.c (support_test_main): Use correct
4396         timeout.
4398 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4399             Florian Weimer  <fweimer@redhat.com>
4401         [BZ #16421]
4402         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4403         and __u6_addr32 members.
4404         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4405         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4406         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4407         Use __u6_addr32.
4408         * inet/tst-checks.c: Use <support/test-driver.c>
4409         * inet/tst-checks-posix.c: New file.
4410         * inet/Makefile (tests): Add it.
4411         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4413 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4415         New subdirectory support for build and test infrastructure.
4416         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4417         setting install-lib.
4418         * Makeconfig (link-extra-libs-tests): Define.
4419         (+link-pie-tests, +link-static-tests, +link-tests): Use
4420         link-extra-libs-tests.
4421         (rpath-dirs, all-subdirs): Add support.
4422         (built-modules): Add libsupport.
4423         (libsupport): Define.
4424         * support: New directory.
4425         * support/Makefile: New file.
4426         * support/check.c: Likewise.
4427         * support/check.h: Likewise.
4428         * support/delayed_exit.c: Likewise.
4429         * support/ignore_stderr.c: Likewise.
4430         * support/oom_error.c: Likewise.
4431         * support/set_fortify_handler.c: Likewise.
4432         * support/support.h: Likewise.
4433         * support/temp_file-internal.h: Likewise.
4434         * support/temp_file.c: Likewise.
4435         * support/test-driver.c: Likewise.
4436         * support/test-driver.h: Likewise.
4437         * support/test_main.c: Likewise.
4438         * support/write_message.c: Likewise.
4439         * support/xasprintf.c: Likewise.
4440         * support/xcalloc.c: Likewise.
4441         * support/xmalloc.c: Likewise.
4442         * support/xpthread_barrier_destroy.c: Likewise.
4443         * support/xpthread_barrier_init.c: Likewise.
4444         * support/xpthread_barrier_wait.c: Likewise.
4445         * support/xpthread_cancel.c: Likewise.
4446         * support/xpthread_check_return.c: Likewise.
4447         * support/xpthread_cond_wait.c: Likewise.
4448         * support/xpthread_create.c: Likewise.
4449         * support/xpthread_detach.c: Likewise.
4450         * support/xpthread_join.c: Likewise.
4451         * support/xpthread_mutex_lock.c: Likewise.
4452         * support/xpthread_mutex_unlock.c: Likewise.
4453         * support/xpthread_sigmask.c: Likewise.
4454         * support/xpthread_spin_lock.c: Likewise.
4455         * support/xpthread_spin_unlock.c: Likewise.
4456         * support/xrealloc.c: Likewise.
4457         * support/xsignal.h: Likewise.
4458         * support/xthread.h: Likewise.
4459         * support_tempfile.h: Likewise.
4460         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4461         (TEST_DATA_LIMIT): Remove unused macro.
4462         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4463         <support/check.h>.
4464         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4465         (ignore_stderr, set_fortify_handler): Remove.  Now in
4466         <support/support.h>.
4467         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4468         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4469         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4470         (xpthread_join): Remove.  Now in <support/xthread.h>.
4471         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4472         Introduce legacy wrappers.
4473         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4474         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4475         (write_message): Remove.
4476         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4477         test-skeleton.c.
4478         * io/test-open-tmpfile: Likewise.
4479         * io/tst-posix_fallocate-common.c: Likewise.
4480         * libio/tst-fseek.c: Likewise.
4481         * malloc/tst-malloc-backtrace.c: Likewise.
4482         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4483         * malloc/tst-malloc-thread-exit.c: Likewise.
4484         * nptl/tst-cancel7.c: Likewise.
4485         * nptl/tst-cleanup0.c: Likewise.
4486         * posix/tst-posix_fadvise-common.c: Likewise.
4487         * rt/tst-shm.c: Likewise.
4488         * time/bug-getdate1.c: Likewise.
4489         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4490         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4491         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4493 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4495         * Rules [$(run-built-tests) != no] (tests-expected): Add
4496         $(tests-printers).
4497         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4499 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4501         [BZ #20539]
4502         * math/Makefile (install-lib-ldscripts): Add libm.a.
4503         (install_subdir): Remove.
4504         (install-others): Add.
4505         ($(inst_libdir)/libm.a): Add rule for installation as
4506         linker script.
4507         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4509 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4511         * INSTALL: Regenerated.
4512         * Makeconfig: Add comments and whitespace to make the control flow
4513         clearer.
4514         (+link-printers-tests, +link-pie-printers-tests,
4515         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4516         built-rtld-LDFLAGS, link-libc-rpath,
4517         link-libc-tests-after-rpath-link,
4518         link-libc-printers-tests): New.
4519         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4520         link-libc-tests): Use the new variables as required.
4521         * Makerules ($(py-const)): New rule.
4522         generated: Add $(py-const).
4523         * README.pretty-printers: New file.
4524         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4525         (others): Depend on $(py-const).
4526         (tests): Depend on $(tests-printers-programs) or
4527         $(tests-printers-out),
4528         as required.  Pass $(tests-printers) to merge-test-results.sh.
4529         * manual/install.texi: Add requirements for testing the pretty
4530         printers.
4531         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4532         tests-printers, CFLAGS-test-mutexattr-printers.c
4533         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4534         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4535         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4536         * nptl/nptl-printers.py: New file.
4537         * nptl/nptl_lock_constants.pysym: Likewise.
4538         * nptl/test-cond-printers.c: Likewise.
4539         * nptl/test-cond-printers.py: Likewise.
4540         * nptl/test-condattr-printers.c: Likewise.
4541         * nptl/test-condattr-printers.py: Likewise.
4542         * nptl/test-mutex-printers.c: Likewise.
4543         * nptl/test-mutex-printers.py: Likewise.
4544         * nptl/test-mutexattr-printers.c: Likewise.
4545         * nptl/test-mutexattr-printers.py: Likewise.
4546         * nptl/test-rwlock-printers.c: Likewise.
4547         * nptl/test-rwlock-printers.py: Likewise.
4548         * nptl/test-rwlockattr-printers.c: Likewise.
4549         * nptl/test-rwlockattr-printers.py: Likewise.
4550         * scripts/gen-py-const.awk: Likewise.
4551         * scripts/test_printers_common.py: Likewise.
4552         * scripts/test_printers_exceptions.py: Likewise.
4554 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4556         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4557         argument.
4558         (Glibc.build_glibc): Strip installed shared libraries if
4559         requested.
4560         (get_parser): Add --strip option.
4561         (main): Update Context call.
4563 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4564             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4566         [BZ #20847]
4567         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4568         array bounds for else branch.
4569         (__execvpe): Style fixes.
4570         * posix/tst-vfork3.c (run_script): New function.
4571         (create_script): Likewise.
4572         (do_test): Use run_script internal function.
4573         (do_prepare): Use create_script internal function.
4575 2016-12-07  Andreas Schwab  <schwab@suse.de>
4577         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4578         (__elision_available): Don't declare.
4579         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4580         (__elision_available): Don't define.
4581         (elision_init): Don't set __elision_available.
4583 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4585         [BZ #20940]
4586         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4587         return Inf for arguments Inf and sNaN.
4588         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4589         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4590         Likewise.
4591         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4592         Likewise.
4593         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4594         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4595         for arguments Inf and sNaN.  When returning a NaN, compute it by
4596         arithmetic on the arguments.
4597         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4598         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4599         arguments.
4601 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4603         [BZ #20916]
4604         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4605         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4606         to compute result.
4607         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4608         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4610 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4612         * include/atomic.h (__atomic_check_size_ls): New.
4613         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4614         atomic_store_release): Use it.
4615         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4616         (elision_adapt, ELIDE_LOCK): Use atomics.
4617         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4618         atomics and improve code comments.
4619         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4620         (__lll_trylock_elision): Likewise.
4622 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4624         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4625         programs.
4627 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4629         [BZ #20916]
4630         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4631         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4632         arguments to compute result.
4633         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4634         1 for arguments (sNaN, 0) or (1, sNaN).
4635         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4636         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4638         [BZ #20919]
4639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4640         NaN first argument when raised to power 0.
4641         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4642         raising to power zero.
4643         * math/w_powf.c (__powf): Likewise.
4644         * math/w_powl.c (__powl): Likewise.
4645         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4646         pow (0, 0) or pow (NaN, 0).
4648 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4650         [BZ #20918]
4651         * configure.ac: Test for static NSS cryptographic libraries and set
4652         libc_cv_static_nss_crypt.
4653         * configure: Regenerate.
4654         * config.make.in (static-nss-crypt): Define.
4655         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4656         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4657         (CFLAGS-tst-linkall-static.c): Define.
4658         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4659         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4660         ($(objpfx)tst-linkall-static): Define.
4661         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4662         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4664 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4666         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4667         (one-hundred, tst-tls-many-dynamic-modules): Define.
4668         (modules-names): Add $(tst-tls-many-dynamic-modules).
4669         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4670         macros.
4671         (tst-tls-manydynamic): Link against libdl, libpthread.
4672         (tst-tls-manydynamic.out): The test needs the test modules at run
4673         time.
4674         * elf/tst-tls-manydynamic.c: New file.
4675         * elf/tst-tls-manydynamic.h: Likewise.
4676         * elf/tst-tls-manydynamicmod.c: Likewise.
4678 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4680         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4681         (TLS_DTV_UNALLOCATED): Add.
4682         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4683         offsets.
4685 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4687         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4689 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4691         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4692         Add -fno-optimize-sibling-calls.
4694 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4696         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4697         New declaration.
4698         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4699         macro.
4700         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4701         New macro.
4702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4704         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4705         (llogbf): Likewise.
4706         (llogbl): Likewise.
4707         * math/Makefile (gen-libm-calls): Add w_llogbF.
4708         (tests): Add test-fp-llogb-constants.
4709         * math/w_llogb_template.c: New file.  Based on
4710         math/w_ilogb_template.c.
4711         * math/libm-test.inc (llogb_test_data): New array.
4712         (llogb_test): New function.
4713         (main): Call llogb_test.
4714         * math/test-fp-llogb-constants.c: New file.  Based on
4715         math/test-fp-ilogb-constants.c.
4716         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4717         (do_test): Call check_return_llogb.
4718         * math/test-tgmath.c (NCALLS): Increase to 126.
4719         (F(compile_test)): Call llogb.
4720         (F(llogb)): New function.
4721         * manual/math.texi (Exponents and Logarithms): Document llogb,
4722         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4723         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4724         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4725         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4726         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4727         (CFLAGS-nldbl-llogb.c): New variable.
4728         * sysdeps/nacl/libm.abilist: Update.
4729         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4731         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4732         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4733         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4734         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4735         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4736         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4737         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4738         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4739         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4740         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4742         Likewise.
4743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4744         Likewise.
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4746         Likewise.
4747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4748         Likewise.
4749         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4750         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4751         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4752         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4753         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4755         Likewise.
4756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4757         Likewise.
4758         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4759         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4760         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4762 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4764         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4765         _Float128 instead of long double.
4766         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4768         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4769         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4770         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4771         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4772         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4773         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4774         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4775         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4776         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4777         Likewise.
4779 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4781         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4782         Remove redirection to __strrchr_ppc.
4784 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4786         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4787         (sysdep_routines): Add strcmp_power9.
4788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4789         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4790         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4791         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4792         (strcmp): Add __strcmp_power9 to ifunc list.
4793         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4795 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4797         * bits/fp-logb.h: New file.
4798         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4799         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4800         * sysdeps/x86/bits/fp-logb.h: Likewise.
4801         * math/Makefile (headers): Add bits/fp-logb.h.
4802         * math/math.h: Include <bits/fp-logb.h>.
4803         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4804         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4805         * bits/mathdef.h (FP_ILOGB0): Remove.
4806         (FP_ILOGBNAN): Likewise.
4807         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4808         (FP_ILOGBNAN): Likewise.
4809         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4810         (FP_ILOGBNAN): Likewise.
4811         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4812         (FP_ILOGBNAN): Likewise.
4813         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4814         (FP_ILOGBNAN): Likewise.
4815         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4816         (FP_ILOGBNAN): Likewise.
4817         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4818         (FP_ILOGBNAN): Likewise.
4819         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4820         (FP_ILOGBNAN): Likewise.
4821         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4822         (FP_ILOGBNAN): Likewise.
4823         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4824         (FP_ILOGBNAN): Likewise.
4826         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4827         time module.
4828         (Context.__init__): Initialize self.logsdir_old.
4829         (Context.run_builds): Handle bot action.
4830         (Context.bot_cycle): Copy logs directory before running builds.
4831         (Context.bot_run_self): Take argument for whether to check
4832         subprocess result.  Flush stdout before running subprocess.
4833         (Context.bot): New function.
4834         (get_parser): Allow bot action.
4836 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4838         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4839         Import email.mime.text, email.utils and smtplib modules.
4840         (Context.__init__): Initialize self.bot_config_json.
4841         (Context.run_builds): Handle bot-cycle action.
4842         (Context.load_bot_config_json): New function.
4843         (Context.part_build_old): Likewise.
4844         (Context.bot_cycle): Likewise.
4845         (Context.bot_build_mail): Likewise.
4846         (Context.bot_run_self): Likewise.
4847         (get_parser): Allow bot-cycle action.
4849 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4851         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4852         Remove redirection to __stpcpy_ppc.
4854 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4856         Remove __libc_memalign from ld.so because it is unused.
4857         * elf/dl-minimal.c: Update comment on the malloc implementation.
4858         (malloc): Renamed from __libc_memalign, replacing the original
4859         malloc implementation.  Replace the align parameter with
4860         MALLOC_ALIGNMENT.
4861         * elf/Versions (ld): Update comment and remove __libc_memalign.
4862         * sysdeps/nacl/ld.abilist: Likewise.
4863         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4864         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4865         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4869         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4871         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4872         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4873         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4874         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4875         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
4882         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
4884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
4885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
4888         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
4889         * sysdeps/generic/localplt.data (ld.so): Likewise.
4890         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4891         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4892         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4893         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4894         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4895         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4896         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4897         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
4898         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4900         (ld.so): Likewise.
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4902         (ld.so): Likewise.
4903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4904         Likewise.
4905         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4906         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4907         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
4908         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
4909         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4911 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4913         [BZ #16628]
4914         Implement _dl_catch_error, _dl_signal_error in libc.so.
4915         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
4916         (catch_hook): Define as thread-local or regular variable,
4917         depending on DL_ERROR_BOOTSTRAP.
4918         (CATCH_HOOK): Remove.
4919         (dl_signal_error, _dl_catch_error): Use
4920         catch_hook.  Add hidden definition for libc.
4921         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
4922         for DL_ERROR_BOOTSTRAP only.
4923         * elf/dl-error.c: New file.
4924         * elf/dl-error-minimal.c: Likewise.
4925         * elf/tst-latepthread.c: Likewise.
4926         * elf/tst-latepthreadmod.c: Likewise.
4927         * elf/Makefile (routines): Add dl-error.
4928         (dl-routines): Remove dl-error.
4929         (rtld-routines): Add dl-error-minimal.
4930         [build-shared] (tests): Add tst-latepthread.
4931         (module-names): Add tst-latepthreadmod.
4932         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
4933         symbol.
4934         (tst-latepthreadmod.so): Link against libpthread.
4935         (tst-latepthread): Link against libdbl.
4936         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
4937         _dl_catch_error.
4938         [ld] (GLIBC_PRIVATE): Likewise.
4939         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
4940         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
4941         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
4942         directly.
4943         * elf/dl-tsd.c: Remove file.
4944         * elf/rtld.c (_rtld_global_ro): Remove initializers for
4945         _dl_catch_error, _dl_signal_error.
4946         (_dl_initial_error_catch_tsd): Remove definition.
4947         (do_preload): Remove initialization of dl_error_catch_tsd.
4948         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
4949         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
4950         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4951         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4952         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
4953         set dl_error_catch_tsd.
4954         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
4955         _dl_error_catch_tsd member.
4956         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
4957         members.
4958         (_dl_initial_error_catch_tsd): Remove declaration.
4959         (_dl_dprintf): Provide definition for use outside of ld.so.
4960         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
4961         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
4962         prototype for libc.
4963         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
4964         _dl_catch_error.
4965         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4966         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4967         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4968         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4969         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4970         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4972         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4973         Likewise.
4974         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4976         (ld.so): Likewise.
4977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4978         (ld.so): Likewise.
4979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4980         Likewise.
4981         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4982         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4983         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4984         Likewise.
4985         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4986         Likewise.
4987         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4989 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4991         [BZ #4099]
4992         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
4993         _IO_BUFSIZ (8192).
4995 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
4997         * PROJECTS: Remove file.
4999 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5001         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5003 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5004             Steve Ellcey  <sellcey@caviumnetworks.com>
5006         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5007         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5008         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5009         fxstatat.
5010         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5011         lxstat.
5012         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5013         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5014         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5015         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5016         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5017         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5018         __xstat.
5020 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5022         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5023         Define.
5024         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5025         definition.
5027 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5029         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5030         version and turn into strong alias.  Remove compat symbol.
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5033         (__longjmp): Remove.
5035 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5037         * bits/fp-fast.h: New file.
5038         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5039         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5040         * math/Makefile (headers): Add bits/fp-fast.h.
5041         * math/math.h: Include <bits/fp-fast.h>.
5042         * bits/mathdef.h (FP_FAST_FMA): Remove.
5043         (FP_FAST_FMAF): Likewise.
5044         (FP_FAST_FMAL): Likewise.
5045         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5046         (FP_FAST_FMAF): Likewise.
5047         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5048         (FP_FAST_FMAF): Likewise.
5049         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5050         (FP_FAST_FMAF): Likewise.
5051         (FP_FAST_FMAL): Likewise.
5052         * sysdeps/arm/bits/mathdef.h: Remove file.
5053         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5054         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5055         * sysdeps/tile/bits/mathdef.h: Likewise.
5057 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5059         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5060         * math/w_ilogb.c: Remove.
5061         * math/w_ilogbf.c: Likewise.
5062         * math/w_ilogbl.c: Likewise.
5063         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5064         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5065         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5066         (libm-calls): Remove w_ilogbF.
5067         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5068         (LDOUBLE_ilogbl_libm_version): New macro.
5070         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5072         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5073         [!__STRICT_ANSI__ && !__cplusplus].
5075 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5077         [BZ #20750]
5078         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5079         of PIC.
5081 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5082             Yury Norov  <ynorov@caviumnetworks.com>
5083             Steve Ellcey  <sellcey@caviumnetworks.com>
5085         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5086         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5087         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5088         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5089         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5090         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5091         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5092         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5093         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5094         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5095         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5096         to get correct reg name for ILP32.
5097         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5098         (RELA_SIZE): New Macro.
5099         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5100         to support ILP32.
5101         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5102         cast for ILP32 mode.
5103         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5104         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5105         * sysdeps/aarch64/memset.S (__memset): Ditto.
5106         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5107         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5108         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5109         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5110         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5111         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5112         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5113         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5114         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5115         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5116         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5117         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5118         change PTR_MANGLE call to use register numbers instead of names.
5119         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5120         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5121         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5122         * sysdeps/aarch64/start.S (_start): Ditto.
5123         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5124         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5125         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5126         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5127         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5128         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5129         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5130         Make defined values dependent on __ILP32__.
5131         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5132         (sem_t): Change __align type.
5133         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5134         PTR_SIZE): New Macros.
5135         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5136         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5137         Set when in ILP32 mode.
5138         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5139         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5140         Set elf flags for ILP32.
5141         (add_system_dir): Set ILP32 library directories.
5142         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5143         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5144         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5145         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5146         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5147         New Macros.
5148         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5150 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5152         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5153         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5154         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5156 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5158         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5159         <asm/cachectl.h>.
5161 2016-11-27  Zack Weinberg  <zackw@panix.com>
5163         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5164         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5166 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5168         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5169         error_t to fix usage in C++ programs.
5171 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5173         * scripts/build-many-glibcs.py: Import datetime module.
5174         (Context.__init__): Load JSON build state.  Initialize list of
5175         status logs.
5176         (Context.run_builds): Update saved build state.
5177         (Context.add_makefile_cmdlist): Update list of status logs.
5178         (Context.load_build_state_json): New function.
5179         (Context.store_build_state_json): Likewise.
5180         (Context.clear_last_build_state): Likewise.
5181         (Context.update_build_state): Likewise.
5182         (CommandList.status_logs): Likewise.
5184 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
5186         * scripts/build-many-glibcs.py (Context.__init__): Save text of
5187         script being executed.
5188         (Context.get_script_text): New function.
5189         (Context.exec_self): Likewise.
5190         (Context.checkout): Re-exec script if changed by checkout process.
5192 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5194         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5195         (setpayloadsig): New declaration.
5196         * math/Versions (setpayloadsig): New libm symbol at version
5197         GLIBC_2.25.
5198         (setpayloadsigf): Likewise.
5199         (setpayloadsigl): Likewise.
5200         * math/Makefile (libm-calls): Add s_setpayloadsigF.
5201         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
5202         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
5203         (setpayloadsig_test_data): New array.
5204         (setpayloadsig_test): New function.
5205         (main): Call setpayloadsig_test.
5206         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
5207         setpayloadsigf and setpayloadsigl.
5208         * manual/libm-err-tab.pl: Update comment on interfaces without
5209         ulps tabulated.
5210         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
5211         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
5212         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
5213         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
5214         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
5215         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
5216         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5217         setpayloadsig.
5218         (CFLAGS-nldbl-setpayloadsig.c): New variable.
5219         * sysdeps/nacl/libm.abilist: Update.
5220         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5221         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5222         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5223         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5224         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5226         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5228         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5229         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5230         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5231         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5233         Likewise.
5234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5235         Likewise.
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5237         Likewise.
5238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5239         Likewise.
5240         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5241         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5242         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5244         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5246         Likewise.
5247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5248         Likewise.
5249         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5250         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5251         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5253         * scripts/build-many-glibcs.py: Import json module.
5254         (Context.__init__): Take replace_sources argument.  Load
5255         versions.json.
5256         (Context.load_versions_json): New function.
5257         (Context.store_json): Likewise.
5258         (Context.store_versions_json): Likewise.
5259         (Context.set_component_version): Likewise.
5260         (Context.checkout): Update versions.json.  Check for and handle
5261         changes of version.  Prefer previously explicitly specified
5262         version to default version.
5263         (Context.checkout_vcs): Return a revision identifier.
5264         (Context.git_checkout): Likewise.
5265         (Context.gcc_checkout): Likewise.
5266         (get_parser): Add --replace-sources option.
5267         (main): Pass replace_sources argument to Context call.
5269 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5271         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5272         * nptl/allocatestack.c (allocate_stack): Likewise.
5273         (__reclaim_stacks): Likewise.
5274         (setxid_signal_thread): Obtain pid through syscall.
5275         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5276         (sighandle_setxid): Likewise.
5277         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5278         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5279         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5280         Likewise.
5281         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5282         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5283         comment.
5284         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5285         * nptl/descr.h (struct pthread): Change comment about pid value.
5286         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5287         pid assert.
5288         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5289         Do not set pid value.
5290         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5291         pid cache check.
5292         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5293         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5294         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5295         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5296         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5297         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5298         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5299         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5300         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5301         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5302         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5303         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5304         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5305         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5306         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5307         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5308         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5309         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5310         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5311         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5312         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5313         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5314         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5315         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5316         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5319         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5320         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5321         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5322         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5323         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5324         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5325         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5326         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5327         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5328         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5329         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5330         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5331         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5332         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5333         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5334         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5337         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5338         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5339         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5340         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5341         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5342         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5343         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5344         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5345         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5346         struct access.
5347         (clone_test): Remove function.
5348         (do_test): Rewrite to take in consideration pid is not cached anymore.
5350 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5352         * bits/flt-eval-method.h: New file.
5353         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5354         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5355         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5356         * math/Makefile (headers): Add bits/flt-eval-method.h.
5357         * math/math.h: Include <bits/flt-eval-method.h>.
5358         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5359         [__USE_ISOC99] (double_t): Likewise.
5360         * bits/mathdef.h (float_t): Remove.
5361         (double_t): Likewise.
5362         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5363         (double_t): Likewise.
5364         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5365         (double_t): Likewise.
5366         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5367         (double_t): Likewise.
5368         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5369         (double_t): Likewise.
5370         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5371         (double_t): Likewise.
5372         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5373         (double_t): Likewise.
5374         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5375         (double_t): Likewise.
5376         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5377         (double_t): Likewise.
5378         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5379         (double_t): Likewise.
5380         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5381         (double_t): Likewise.
5382         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5383         (double_t): Likewise.
5384         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5385         (double_t): Likewise.
5386         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5387         (double_t): Likewise.
5389 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5391         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5392         instead of PIC.
5394 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5396         [BZ #20859]
5397         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5398         (-0x7fffffff) instead of 0x80000001.
5399         * math/test-fp-ilogb-constants.c: New file.
5400         * math/Makefile (tests): Add test-fp-ilogb-constants.
5402 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5404         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5405         (_init): Use it in place of hardcoded R_MIPS_JALR.
5406         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5407         (_init): Use it in place of hardcoded R_MIPS_JALR.
5408         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5409         (_init): Use it in place of hardcoded R_MIPS_JALR.
5411 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5413         [BZ #20787]
5414         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5415         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5416         (double_t): Do not define to double if [__x86_64__] when
5417         __FLT_EVAL_METHOD__ is nonzero.
5418         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5419         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5420         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5421         test-flt-eval-method-387 and test-flt-eval-method-sse.
5422         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5423         variable.
5424         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5426 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5428         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5429         use of -fno-isolate-erroneous-paths options for tilepro.
5431 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5433         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5434         structure initialization is no longer needed.
5436 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5438         [BZ #20855]
5439         * bits/mathdef.h (float_t): Define to float.
5440         * math/test-flt-eval-method.c: New file.
5441         * math/Makefile (tests): Add test-flt-eval-method.
5442         (CFLAGS-test-flt-eval-method.c): New variable.
5444 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5446         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5447         and __fstatfs.  Make them aliases of __fstatfs64 if
5448         STATFS_IS_STATFS64 is set to non-zero.
5449         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5450         and __statfs64.
5451         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5452         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5453         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5454         for __statfs and statfs.
5455         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5456         to 0.
5457         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5458         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5459         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
5460         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5461         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5462         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
5465         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5466         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5467         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5468         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5470 2016-11-22  Andreas Schwab  <schwab@suse.de>
5472         * misc/mkstemp.c: Include <fcntl.h>.
5473         * misc/mkstemps.c: Likewise.
5474         * misc/mkostemp.c: Likewise.
5475         * misc/mkostemps.c: Likewise.
5477 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5479         [BZ #20847]
5480         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5481         array bounds.
5482         (__execvpe): Likewise.
5484 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5486         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5487         -fno-isolate-erroneous-paths options for tilepro.
5489 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5491         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5492         to 0 when in 32 bit mode.
5493         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5494         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5495         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5496         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5498         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5499         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5500         XSTAT_IS_XSTAT64 test.
5501         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5502         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5503         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5504         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5505         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5506         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5507         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5508         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5509         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5510         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5511         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5513 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5515         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5516         (setpayload): New declaration.
5517         * math/Versions (setpayload): New libm symbol at version
5518         GLIBC_2.25.
5519         (setpayloadf): Likewise.
5520         (setpayloadl): Likewise.
5521         * math/Makefile (libm-calls): Add s_setpayloadF.
5522         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5523         test_Ff_b1_data.
5524         (RUN_TEST_Ff_b1): New macro.
5525         (RUN_TEST_LOOP_Ff_b1): Likewise.
5526         (canonicalize_test_data): Update type.
5527         (setpayload_test_data): New array.
5528         (setpayload_test): New function.
5529         (main): Call setpayload_test.
5530         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5531         setpayloadf and setpayloadl.
5532         * manual/libm-err-tab.pl: Update comment on interfaces without
5533         ulps tabulated.
5534         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5535         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5536         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5537         Likewise.
5538         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5539         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5540         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5541         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5542         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5543         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5544         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5545         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5546         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5547         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5548         setpayload.
5549         (CFLAGS-nldbl-setpayload.c): New variable.
5550         * sysdeps/nacl/libm.abilist: Update.
5551         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5552         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5553         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5554         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5555         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5556         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5557         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5558         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5559         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5560         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5561         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5562         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5564         Likewise.
5565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5566         Likewise.
5567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5568         Likewise.
5569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5570         Likewise.
5571         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5572         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5573         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5574         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5575         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5577         Likewise.
5578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5579         Likewise.
5580         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5581         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5582         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5584 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5586         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5587         * include/unistd.h: Extend comment about __access_noerrno return
5588         semantics.
5589         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5590         (access_common): Correct typo for EACCES.
5592 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5594         * sysdeps/tile/math-tests.h: New file.
5596         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5597         (__old_set_dataplane): Rename from set_dataplane and make a
5598         compatibility symbol.
5599         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5600         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5601         sys/dataplane.h.
5603 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5605         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5606         script quote words in command output to log suitably for input to
5607         the shell.
5609 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5610             Maciej W. Rozycki  <macro@imgtec.com>
5612         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5613         `.Lno_weak_fn' label.
5614         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5615         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5617 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5618             Yury Norov  <ynorov@caviumnetworks.com>
5620         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5621         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5622         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5623         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5624         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5626         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5627         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5628         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5629         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5630         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5631         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5632         (sysdep_routines): Remove oldgetrlimit64.
5633         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5634         (sysdep_routines): Likewise.
5635         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5636         (sysdep_routines): Likewise.
5637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5638         [$(subdir) = resource] (sysdep_routines): Likewise.
5639         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5640         [$(subdir) = resource] (sysdep_routines): Likewise.
5641         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5642         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5643         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5644         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5645         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5646         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5647         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5648         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5649         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5650         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5651         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5652         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5653         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5654         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5655         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5656         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5657         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5658         setrlimit and getrlimit.
5659         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5661         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5664         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5665         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5666         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5667         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5668         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5669         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5670         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5671         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5672         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5673         (__old_getrlimit64): Add compatibility symbol.
5674         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5676 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5678         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5679         newly built gmp, mpfr and mpc.
5681         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5683 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5685         * conform/Makefile (linknamespace-libs): Rename to
5686         linknamespace-libs-thr.
5687         (linknamespace-libs-posix): New variable.
5688         (linknamespace-libs-xsi): Likewise.
5689         (linknamespace-libs-XPG3): Include libcrypt.a.
5690         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5691         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5692         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5693         (linknamespace-libs-XOPEN2K): Likewise.
5694         (linknamespace-libs-XOPEN2K8): Likewise.
5695         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5697         [BZ #20829]
5698         * stdio-common/Versions (__snprintf): Add to version
5699         GLIBC_PRIVATE.
5700         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5701         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5702         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5703         of snprintf.
5704         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5706 2016-11-16  Zack Weinberg  <zackw@panix.com>
5708         * string/string.h: Remove obsolete comment stating that
5709         strcoll_l and strxfrm_l have not yet been standardized.
5711 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5713         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5714         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5715         __access_noerrno.
5716         * io/access.c (__access_noerrno): New function.
5717         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5718         (hurd_fail_seterrno): Likewise.
5719         (access_common): Likewise.
5720         (__access_noerrno): Likewise.
5721         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5722         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5723         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5724         macro.
5726 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5728         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5729         Only declare fpregs if [__SH_FPU_ANY__].
5731 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5733         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5734         Make code unconditional.
5735         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5737 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5739         * manual/sysinfo.texi (S_APPEND): Delete.
5740         (S_IMMUTABLE): Likewise.
5742 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5743             Magnus Granberg  <zorry@gentoo.org>
5744             Mike Frysinger  <vapier@gentoo.org>
5746         [BZ #20662]
5747         * configure.ac (libc_cv_predef_stack_protector): Also check for
5748         __stack_chk_fail_local symbols.
5749         * configure: Regenerated.
5751 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5753         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5754         (libc_hidden_def): Remove redefinition.
5755         (__sigsetjmp): Add hidden definition.
5756         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5757         (libc_hidden_def): Remove redefinition.
5758         (__sigsetjmp): Add hidden definition.
5760 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5762         * scripts/build-many-glibcs.py (os.path): Do not import.
5763         (Context): Inherit explicitly from object.  Remove blank line
5764         between class and docstring.
5765         (Config): Likewise.
5766         (Glibc): Likewise.
5767         (Command): Likewise.
5768         (CommandList): Likewise.
5769         (Context.write_files): Store chmod mode in a variable.
5771         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5772         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5773         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5775 2016-11-14  Zack Weinberg  <zackw@panix.com>
5777         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5778         creating or re-creating it.
5780         * string/bits/string2.h: Fix typo in comment.
5782 2016-11-14  Zack Weinberg  <zackw@panix.com>
5784         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5785         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5786         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5787         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5788         of redirected function names.
5790         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5791         as well.  Document that MESSAGE must be a single string literal.
5793 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5795         * scripts/build-many-glibcs.py: New file.
5797         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5798         (do_test): Disable -Wmaybe-uninitialized around uses of
5799         except_mask.
5801         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5803 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5805         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5806         (atomic_store_release): Provide tilepro-specific implementations.
5808 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5810         * math/math.h (__MATH_TG): New macro.
5811         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5812         [__USE_ISOC99] (signbit): Likewise.
5813         [__USE_ISOC99] (isfinite): Likewise.
5814         [__USE_ISOC99] (isnan): Likewise.
5815         [__USE_ISOC99] (isinf): Likewise.
5816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5819         __MATH_TG and __MATH_EVAL_FMT2.
5820         * sysdeps/generic/math_private.h (fabs_tg): Define using
5821         __MATH_TG.
5822         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5823         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5824         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5825         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5826         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5827         macro.
5828         (__iscanonical): Likewise.
5829         (iscanonical): Define using __MATH_TG.
5831 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5833         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5834         guards.
5836         * sysdeps/unix/sysv/linux/access.c: New file.
5837         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5839 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5841         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5842         and __WORDSIZE32_PTRDIFF_LONG.
5844 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5846         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5848 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5850         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5851         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5852         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5853         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5854         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5856         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5857         * sysdeps/unix/sysv/linux/truncate.c: New file.
5858         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5859         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5860         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5861         Remove.
5862         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5863         Likewise.
5865         * posix/tst-truncate-common.c: New file.
5866         * posix/tst-truncate.c: Use tst-truncate-common.c.
5867         * posix/tst-truncate64.c: Likewise and add LFS tests.
5868         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5869         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5870         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5871         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5872         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
5873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
5874         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
5875         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
5876         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
5877         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5878         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
5879         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
5880         Remove.
5881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
5882         Likewise.
5884 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
5886         [BZ #20790]
5887         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
5888         to MAXLINESIZE.
5889         * sunrpc/bug20790.x: New file.
5890         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
5891         variable.
5892         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
5893         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
5895         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
5897         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
5899         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
5900         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
5901         calloc, realloc, free, memalign and __libc_memalign rather than
5902         making them optional.
5904         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
5905         for libc.so.
5907 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5909         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
5910         ptw-lseek64.
5911         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
5912         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
5913         Likewise.
5914         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
5915         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
5916         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
5917         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
5918         * sysdeps/unix/sysv/linux/lseek.c: New file.
5919         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
5920         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
5921         __libc_lseek64 from auto-generation.
5922         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5923         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
5925 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5927         * nptl/tst-basic1.c (tf, do_test): Use write_message.
5928         * nptl/tst-cleanup1.c (do_test): Likewise.
5929         * nptl/tst-cleanup3.c (do_test): Likewise.
5930         * nptl/tst-key1.c (do_test): Likewise.
5931         * nptl/tst-key2.c (tf, do_test): Likewise.
5932         * nptl/tst-key3.c (tf, do_test): Likewise.
5933         * nptl/tst-stdio1.c (do_test): Likewise.
5934         * nptl/tst-stdio2.c (do_test): Likewise.
5936         * nptl/tst-kill3.c (handler): Use write_message in place of write.
5937         * nptl/tst-kill6.c (handler): Likewise.
5938         * nptl/tst-tls2.c (CB): Likewise.
5939         * nptl/tst-tls3.c (CB): Likewise.
5941 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
5943         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
5945 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
5946             Steve Ellcey  <sellcey@caviumnetworks.com>
5948         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
5949           __ASSUME_ST_INO_64_BIT as 0
5950         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
5951         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
5952           over the code where __ASSUME_ST_INO_64_BIT is used.
5953         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5954         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5955         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5957 2016-11-07  Florian Weimer  <fweimer@redhat.com>
5959         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5960         Document ABI exposure of the __kind offset.
5961         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5962         Mention reason for the __kind offset exposure in the ABI.
5963         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5964         Likewise.
5965         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5966         Likewise.
5967         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5968         Likewise.
5969         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
5970         (struct __pthread_mutex_s): Likewise.
5971         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5972         Likewise.
5973         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5974         Likewise.
5975         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5976         Likewise.
5977         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5978         Likewise.
5979         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5980         Likewise.
5981         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5982         Likewise.
5983         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5984         (struct __pthread_mutex_s): Likewise.
5985         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5986         (struct __pthread_mutex_s): Likewise.
5987         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
5988         Likewise.
5990 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
5992         * test-skeleton.c: Document do_test usage.
5994 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
5996         * iconv/gconv.h (__gconv_info): Define __data element using a
5997         zero-length array.
5999 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6001         * math/test-tgmath2.c: Split up test function.
6003 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6005         * Rules (tests-expected): New variable, depending on
6006         $(run-built-tests).
6007         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6008         $(tests).
6010         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6011         $(tests-unsupported).
6013 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6015         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6016         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6018 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6020         [BZ #20768]
6021         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6022         __fegetenv instead of fegetenv.
6024         [BZ #14139]
6025         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6026         (find_files): Obtain platform name from libm-test-ulps-name and
6027         store in %pplatforms.
6028         (canonicalize_platform): Remove.
6029         (print_platforms): Use $pplatforms directly.
6030         (by_platforms): Do not allow for platforms missing from
6031         %pplatforms.
6032         * sysdeps/aarch64/libm-test-ulps-name: New file.
6033         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6034         * sysdeps/arm/libm-test-ulps-name: Likewise.
6035         * sysdeps/generic/libm-test-ulps-name: Likewise.
6036         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6037         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6038         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6039         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6040         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6041         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6042         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6043         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6044         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6045         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6046         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6047         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6048         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6049         * sysdeps/sh/libm-test-ulps-name: Likewise.
6050         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6051         * sysdeps/tile/libm-test-ulps-name: Likewise.
6052         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6054         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6056         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6057         (test-xfail-check-execstack): New variable.
6059         * sysdeps/mips/localplt.data: New file.
6061 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6062             Steve Ellcey  <sellcey@caviumnetworks.com>
6064         * bits/wordsize.h: Add documentation.
6065         * sysdeps/aarch64/bits/wordsize.h : New file
6066         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6067         definitions.
6068         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6069         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6070         with #if instead of #ifdef.
6071         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6072         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6073         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6074         Add or change defines.
6075         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6076         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6077         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6078         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6079         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6080         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6081         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6082         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6083         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6084         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6085         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6086         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6087         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6088         * sysdeps/x86/bits/wordsize.h: Likewise.
6090 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6091             Kevin Petit  <kevin.petit@arm.com>
6093         * sysdeps/aarch64/memchr.S (__memchr): New file.
6095 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6097         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6099 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6101         [BZ #19398]
6102         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6103         $(linknamespace-symlists-tests).
6105 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6107         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6109 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6110             Carlos O'Donell  <carlos@redhat.com>
6112         [Bug #20729]
6113         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6114         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6115         for -Os related change.
6117 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6119         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6121 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6123         [BZ #19673]
6124         * manual/math.texi (Exponents and Logarithms): Correct description
6125         of clog10.
6127 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6129         [Bz #20729]
6130         * locale/weight.h: Include libc-internal.h.
6131         * locale/weightwc.h: Likewise.
6132         * nptl/nptl_dbP.h: Likewise.
6134 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6136         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6137         when it is MACH_PORT_NULL.
6139 2016-10-31  Andreas Schwab  <schwab@suse.de>
6141         [BZ #20707]
6142         * posix/glob.c (glob): Initialize pglob before checking for
6143         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6144         valid brace expression despite GLOB_BRACE.
6145         * posix/globtest.sh: Test it.
6147 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6149         [BZ #20729]
6150         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6151         Define.
6152         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6153         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6154         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6155         for seq2.back_us and seq1.back_us only for -Os compiles.
6156         * locale/weightwc.h (findix): Likewise.
6157         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6158         DB_GET_FIELD_ADDRESS only for -Os compiles.
6159         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6160         for slen only for -Os compiles.
6161         * string/strcoll_l.c (get_next_seq): Ignore
6162         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6163         for -Os compiles.
6165         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6166         * include/crypt.h: New file.
6168 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6170         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6171         from test-skeleton.c.
6172         (statclass): Replace calls to write with calls to write_message.
6174 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6176         * math/math.h
6177         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6178         New macro.
6179         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6180         Likewise.
6181         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6182         Likewise.
6183         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
6184         SNANL.
6185         * math/test-double.h (snan_value_MACRO): New macro.
6186         * math/test-float.h (snan_value_MACRO): Likewise.
6187         * math/test-ldouble.h (snan_value_MACRO): Likewise.
6188         * math/libm-test.inc (issignaling_test_data): Add tests of
6189         snan_value_MACRO.
6191 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6193         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
6194         behavior when eliding a lock not held by the current thread.
6195         * sysdeps/powerpc/nptl/elide.h: Likewise.
6197 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6199         [BZ #20728]
6200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
6201         branch to _exit() by a function call.
6203 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6205         * malloc/malloc.c: Update chunk layout comments.
6206         (chunk_main_arena): Update comment.
6208 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6210         * crypt/sha256.c, crypt/sha256-block.c,
6211         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
6212         sha256_process_block to __sha256_process_block.
6213         * crypt/sha512.c, crypt/sha512-block.c,
6214         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
6215         sha512_process_block to __sha512_process_block.
6217 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6219         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
6221         * math/test-nan-overflow.c: Include stdlib.h for malloc.
6223 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
6225         [BZ #20019]
6226         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
6227         definition in unrelocated shared library.
6228         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6230 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6232         [BZ #20729]
6233         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
6234         * sysdeps/unix/sysv/linux/i386/Makefile
6235         (uses-6-syscall-arguments): Define.
6236         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
6237         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
6238         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
6239         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
6240         Likewise.
6241         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
6242         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
6243         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
6244         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
6245         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
6246         (CFLAGS-fallocate64.os): Likewise.
6247         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
6248         (CFLAGS-pthread_rwlock_timedrdlock.os)
6249         (CFLAGS-pthread_rwlock_timedwrlock.o)
6250         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
6251         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
6252         (CFLAGS-sem_timedwait.os): Likewise.
6254 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6256         * elf/tst-linkall-static.c: New file.
6257         * elf/Makefile (tests-static): Add tst-linkall-static.
6258         (tst-linkall-static): Link against static libraries.
6260 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6262         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6263         mmaped chunks.
6265 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6267         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6268         members to mchunk_prev_size, mchunk_size.
6269         (chunk_main_arena): Reverse sense and rename from
6270         chunk_non_main_arena.
6271         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6272         mchunk_size instead of size.
6273         (set_non_main_arena): Define.
6274         (chunksize): Use chunksize_nomask instead of direct member access.
6275         (chunksize_nomask): Define.
6276         (next_chunk): Use chunksize instead of direct member access.
6277         (prev_size, set_prev_size): Define.
6278         (prev_chunk): Use prev_size instead of direct member access.
6279         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6280         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6281         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6282         (mchunk_prev_size, mchunk_size): Poison tokens.
6283         (unlink): Use chunksize_nomask, prev_size accessors.
6284         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6285         (do_check_free_chunk): Use prev_size accessor.
6286         (sysmalloc): Use set_prev_size, set_head accessors.
6287         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6288         (__libc_free): Use chunksize_nomask accessor.
6289         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6290         chunk_main_arena accessors.
6291         (_int_free): Use chunksize_nomask, prev_size accessors.
6292         (malloc_consolidate): Use chunksize, prev_size accessors.
6293         (_int_realloc): Use chunksize_nomask accessor.
6294         (_int_memalign): Use set_prev_size accessor.
6295         (__malloc_info): Use chunksize_nomask accessor.
6296         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6297         accessors.
6298         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6299         (heap_trim): Use chunksize_nomask, prev_size accessors.
6301 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6303         [BZ #19380]
6304         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6305         for inexact results.
6306         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6307         of inexact result where mpfr_subnormalize is the only inexact
6308         step.
6309         * stdlib/tst-strtod-round-data.h: Regenerated.
6310         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6311         Define to 0.
6312         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6314 2016-10-27  David S. Miller  <davem@davemloft.net>
6316         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6318 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6320         * malloc/malloc.c (do_set_mallopt_check): New function.
6321         (do_set_mmap_threshold): Likewise.
6322         (do_set_mmaps_max): Likewise.
6323         (do_set_top_pad): Likewise.
6324         (do_set_perturb_byte): Likewise.
6325         (do_set_trim_threshold): Likewise.
6326         (do_set_arena_max): Likewise.
6327         (do_set_arena_test): Likewise.
6328         (__libc_mallopt): Use them.
6330 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6332         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6333         (canonicalize): New declaration.
6334         * math/Versions (canonicalize): New libm symbol at version
6335         GLIBC_2.25.
6336         (canonicalizef): Likewise.
6337         (canonicalizel): Likewise.
6338         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6339         * math/s_canonicalize_template.c: New file.
6340         * math/libm-test.inc: Update comment on functions tested and
6341         testing of NaN payloads.
6342         (TEST_NAN_PAYLOAD): New macro.
6343         (NO_TEST_INLINE): Update value.
6344         (XFAIL_TEST): Likewise.
6345         (ERRNO_UNCHANGED): Likewise.
6346         (ERRNO_EDOM): Likewise.
6347         (ERRNO_ERANGE): Likewise.
6348         (IGNORE_RESULT): Likewise.
6349         (NON_FINITE): Likewise.
6350         (TEST_SNAN): Likewise.
6351         (NO_TEST_MATHVEC): Likewise.
6352         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6353         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6354         (struct test_Ffp_b1_data): New type.
6355         (RUN_TEST_Ffp_b1): New macro.
6356         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6357         (canonicalize_test_data): New array.
6358         (canonicalize_test): New function.
6359         (main): Call canonicalize_test.
6360         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6361         canonicalizef and canonicalizel.
6362         * manual/libm-err-tab.pl: Update comment on interfaces without
6363         ulps tabulated.
6364         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6365         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6366         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6367         canonicalize.
6368         (CFLAGS-nldbl-canonicalize.c): New variable.
6369         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6370         to ...
6371         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6372         ... here.
6373         (do_test): Also test canonicalizel.
6374         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6375         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6376         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6377         file.
6378         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6379         Use libm_hidden_def.
6380         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6381         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6382         (do_test): Also test canonicalizel.
6383         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6384         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6385         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6386         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6387         libm_hidden_def.
6388         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6389         macro.
6390         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6391         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6392         * sysdeps/nacl/libm.abilist: Update.
6393         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6394         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6395         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6396         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6397         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6399         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6400         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6401         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6402         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6406         Likewise.
6407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6408         Likewise.
6409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6410         Likewise.
6411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6412         Likewise.
6413         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6414         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6415         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6416         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6417         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6419         Likewise.
6420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6421         Likewise.
6422         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6424         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6426         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6427         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6428         getpayload.
6429         (CFLAGS-nldbl-getpayload.c): New variable.
6431 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6433         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6434         integer from the format string.
6436 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6438         [BZ #19473]
6439         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6440         declarations.
6441         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6442         weak aliases.
6443         * malloc/hooks.c (__malloc_get_state): Remove definition.
6444         (malloc_get_state): New stub implementation as
6445         compatibility symbol.
6446         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6447         compat symbol.
6448         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6449         malloc_set_state.
6450         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6452 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6454         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6455         (names): Turn into concatenation of strings.
6456         (gconv_init): Adapt iteration over names.
6458 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6460         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6461         make const.
6462         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6463         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6464         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6465         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6466         character in sbconv.
6467         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6468         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6469         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6471 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6473         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6475         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6476         (M_TRIM_THRESHOLD): Likewise.
6478         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6479         (M_ARENA_MAX): Likewise.
6480         * malloc/malloc.c: Remove obsolete comment.
6482         * manual/memory.texi: Add environment variable alternatives to
6483         setting mallopt parameters.
6485 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6487         * include/atomic.h
6488         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6489         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6491 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6493         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6494         * stdlib/tst-strfrom.h: New file.
6495         * stdlib/tst-strfrom.c: New file.
6496         * stdlib/tst-strfrom-locale.c: New file.
6498         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6499         * stdlib/bug-strtod2.c: Likewise.
6500         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6501         * stdlib/tst-strtod6.c: Likewise.
6502         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6504 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6506         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6507         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6508         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6509         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6510         * stdlib/stdlib.h (strfromd): New declaration.
6511         (strfromf): Likewise.
6512         (strfroml): Likewise.
6513         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6514         strfrom.
6515         * stdlib/strfromd.c: New file.
6516         * stdlib/strfromf.c: Likewise.
6517         * stdlib/strfroml.c: Likewise.
6518         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6519         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6520         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6521         * sysdeps/arm/nacl/libc.abilist: Update.
6522         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6526         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6527         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6528         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6529         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6530         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6531         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6532         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6533         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6549         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6551 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6553         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6554         instead of cmpli.
6555         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6556         instead of cmpli.
6558 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6560         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6561         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6562         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6563         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6564         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6565         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6567 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6569         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6570         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6571         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6572         SYSCALL_LL64_PRW.
6573         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6574         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6575         __ASSUME_PRW_DUMMY_ARG.
6576         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6577         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6578         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6579         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6580         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6581         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6583 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6585         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6587 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6589         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6590         "C++", to override a potential extern "C" directive around the
6591         header file inclusion.
6593 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6595         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6597 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6599         * sysdeps/powerpc/fpu/fenv_private.h:
6600         (_FPU_MASK_ALL): Rename to...
6601         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6602         XE FPSCR bits.
6604         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6606         (_FPU_MASK_ROUNDING): Rename to...
6607         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6608         NI bits.
6610         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6611         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6612         bits and rounding bits.
6614         (__libc_feholdbits_ppc): New inline function to mask, set,
6615         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6616         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6617         (libc_feholdexcept_setround_ppc): Likewise.
6619         (__libc_femergeenv_ppc): New function to dynamically mask both
6620         old and new FP environments and merge.
6621         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6622         (libc_feresetround_ppc): Likewise.
6623         (libc_feupdateenv_test_ppc): Likewise.
6624         (libc_feupdateenv_ppc): Likewise.
6626         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6627         of ISA RN bits, and update macro names.
6628         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6629         effectively the same as the previously mentioned function.
6631         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6632         usage with fe_resetround_ppc.
6634         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6635         to be used.
6636         (libc_feholdexcept_setround_ctxf): Likewise.
6637         (libc_feholdexcept_setround_ctxl): Likewise.
6639 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6641         [BZ #20715]
6642         * math/math.h [__cplusplus] (iszero): Define as function template.
6643         * math/Makefile [CXX] (tests): Add test-math-iszero.
6644         (CFLAGS-test-math-iszero.cc): Set.
6645         * math/test-math-iszero.cc: New file.
6647 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6649         [BZ #20660]
6650         * sysdeps/arm/e_sqrt.c: New file.
6651         * sysdeps/arm/e_sqrtf.c: Likewise.
6653 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6655         [BZ #20718]
6656         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6657         not use floating-point comparisons to test sign.
6658         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6659         Likewise.
6661         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6662         (getpayload): New declaration.
6663         * math/Versions (getpayload): New libm symbol at version
6664         GLIBC_2.25.
6665         (getpayloadf): Likewise.
6666         (getpayloadl): Likewise.
6667         * math/Makefile (libm-calls): Add s_getpayloadF.
6668         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6669         (struct test_f_f_data): Add comment.
6670         (RUN_TEST_fp_f): New macro.
6671         (RUN_TEST_LOOP_fp_f): Likewise.
6672         (getpayload_test_data): New array.
6673         (getpayload_test): New function.
6674         (main): Call getpayload_test.
6675         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6676         descriptor.
6677         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6678         getpayloadf and getpayloadl.
6679         * manual/libm-err-tab.pl: Update comment on interfaces without
6680         ulps tabulated.
6681         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6682         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6683         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6684         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6685         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6686         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6687         * sysdeps/nacl/libm.abilist: Update.
6688         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6691         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6693         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6701         Likewise.
6702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6703         Likewise.
6704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6705         Likewise.
6706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6707         Likewise.
6708         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6712         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6714         Likewise.
6715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6716         Likewise.
6717         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6718         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6719         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6721 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6723         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6724         tst-fallocate{64}.
6725         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6726         on syscall return.
6728 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6730         [BZ #20689]
6731         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6732         usable.
6734 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6736         * sysdeps/generic/nan-high-order-bit.h: New file.
6737         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6738         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6739         * sysdeps/hppa/math_private.h: Remove file.
6740         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6741         not define here.
6742         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6743         <nan-high-order-bit.h>.
6744         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6745         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6746         <nan-high-order-bit.h>.
6747         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6748         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6749         <nan-high-order-bit.h>.
6750         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6751         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6752         <nan-high-order-bit.h>.
6753         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6754         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6755         <nan-high-order-bit.h>.
6756         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6757         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6758         <nan-high-order-bit.h>.
6759         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6760         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6761         <nan-high-order-bit.h>.
6762         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6763         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6764         <nan-high-order-bit.h>.
6765         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6766         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6767         <nan-high-order-bit.h>.
6768         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6769         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6770         <nan-high-order-bit.h>.
6771         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6772         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6773         <nan-high-order-bit.h>.
6774         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6775         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6776         <nan-high-order-bit.h>.
6777         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6778         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6779         <nan-high-order-bit.h>.
6780         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6781         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6782         <nan-high-order-bit.h>.
6783         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6784         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6785         <nan-high-order-bit.h>.
6786         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6787         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6788         <nan-high-order-bit.h>.
6789         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6790         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6791         <nan-high-order-bit.h>.
6792         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6793         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6794         <nan-high-order-bit.h>.
6795         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6797 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6799         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6801 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6803         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6804         abort-instr.h.
6805         (EFAULT): Remove conditional define.
6806         (ENOSYS): Likewise.
6807         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6808         instead of conditional branch instructions.
6810 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6812         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6813         (totalordermag): New declaration.
6814         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6815         New macro.
6816         * math/Versions (totalordermag): New libm symbol at version
6817         GLIBC_2.25.
6818         (totalordermagf): Likewise.
6819         (totalordermagl): Likewise.
6820         * math/Makefile (libm-calls): Add s_totalordermagF.
6821         * math/libm-test.inc (totalordermag_test_data): New array.
6822         (totalordermag_test): New function.
6823         (main): Call totalordermag_test.
6824         * math/test-tgmath.c (NCALLS): Increase to 125.
6825         (F(compile_test)): Call totalordermag.
6826         (F(totalordermag)): New function.
6827         * manual/arith.texi (FP Comparison Functions): Document
6828         totalordermag, totalordermagf and totalordermagl.
6829         * manual/libm-err-tab.pl: Update comment on interfaces without
6830         ulps tabulated.
6831         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6832         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6833         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6834         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6838         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6839         totalordermag.
6840         (CFLAGS-nldbl-totalordermag.c): New variable.
6841         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6842         (do_test): Also test totalordermagl.
6843         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6844         Likewise.
6845         * sysdeps/nacl/libm.abilist: Update.
6846         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6847         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6848         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6849         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6850         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6852         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6853         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6854         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6855         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6856         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6857         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6859         Likewise.
6860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6861         Likewise.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6863         Likewise.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6865         Likewise.
6866         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6867         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6868         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6869         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6870         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6872         Likewise.
6873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6874         Likewise.
6875         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6876         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6877         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6879 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
6881         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
6882         boolean.
6884 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
6886         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
6887         raising FE_INVALID with feraisexcept in case where part of
6888         argument is infinite, subtract that part of argument from itself.
6889         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
6890         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
6891         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6893 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6895         * math/libm-test.inc (totalorder_test_data): Add more tests.
6897 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6899         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
6900         Undefine weak_alias and add a comment why mips64 require
6901         versioning.
6903 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6905         [BZ #20647]
6906         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
6907         maximum CPUID level is less than 2.
6909 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6911         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6912         (totalorder): New declaration.
6913         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
6914         New macro.
6915         * math/Versions (totalorder): New libm symbol at version
6916         GLIBC_2.25.
6917         (totalorderf): Likewise.
6918         (totalorderl): Likewise.
6919         * math/Makefile (libm-calls): Add s_totalorderF.
6920         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
6921         string.
6922         * math/libm-test.inc (PAYLOAD_DIG): New macro.
6923         (qnan_value_pl): Likewise.
6924         (snan_value_pl): Likewise.
6925         (qnan_value): Define using qnan_value_pl.
6926         (snan_value): Define using snan_value_pl.
6927         (struct test_ff_i_data): Add comment about which tests use this
6928         structure.
6929         (RUN_TEST_ff_b): New macro.
6930         (RUN_TEST_LOOP_ff_b): Likewise.
6931         (totalorder_test_data): New array.
6932         (totalorder_test): New function.
6933         (main): Call totalorder_test.
6934         * math/test-tgmath.c (NCALLS): Increase to 122.
6935         (F(compile_test)): Call totalorder.
6936         (F(totalorder)): New function.
6937         * manual/arith.texi (FP Comparison Functions): Document
6938         totalorder, totalorderf and totalorderl.
6939         * manual/libm-err-tab.pl: Update comment on interfaces without
6940         ulps tabulated.
6941         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
6942         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
6943         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
6944         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
6945         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
6946         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
6947         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
6948         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6949         totalorder.
6950         (CFLAGS-nldbl-totalorder.c): New variable.
6951         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
6952         file.
6953         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6954         Add test-totalorderl-ldbl-128ibm.
6955         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
6956         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
6957         test-totalorderl-ldbl-96.
6958         * sysdeps/nacl/libm.abilist: Update.
6959         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6960         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6961         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6962         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6963         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6964         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6965         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6966         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6967         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6968         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6969         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6970         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6972         Likewise.
6973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6974         Likewise.
6975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6976         Likewise.
6977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6978         Likewise.
6979         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6980         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6981         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6982         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6983         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6985         Likewise.
6986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6987         Likewise.
6988         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6989         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6990         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6992 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6994         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
6995         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
6996         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
6997         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
6998         remove ENOSYS implementation.
6999         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7000         Consolidate all Linux implementations.
7002 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7004         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7005         * resolv/herror.c (herror): Cast away const-ness.
7006         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7007         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7009 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7011         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7012         instead of M_NAN + M_NAN.
7013         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7015 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7017         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7018         unused variable 'p'.
7020 2016-10-09  Alan Modra  <amodra@gmail.com>
7021             Andreas Schwab  <schwab@linux-m68k.org>
7023         [BZ #20554]
7024         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7025         [PIC && !SHARED]: Set up PIC register for PLT call.
7027 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7029         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7030         conditional on value of [__FLT_EVAL_METHOD__].
7031         * math/test-iseqsig-excess-precision.c: New file.
7032         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7034 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7036         * math/s_iseqsig_template.c: Include math-private.h.
7038         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7039         * posix/tst-posix_fadvise.c: New file.
7040         * posix/tst-posix_fadvise64.c: Likewise.
7041         * posix/tst-posix_fadvise-common.c: Likewise.
7042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7043         (__ASSUME_FADVISE64_64_6ARG): Define.
7044         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7045         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7046         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7047         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7048         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7049         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7050         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7051         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7052         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7053         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7054         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7055         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7058         Likewise.
7059         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7060         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7061         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7062         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7063         Alias to __posix_fadvise64_l32.
7064         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7065         Add compat definition to posix_fadvise64.
7066         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7067         Add versioned definition to posix_fadvise64.
7068         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7069         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7070         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7071         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7072         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7074         * io/Makefile (tests): Add tst-posix_fallocate and
7075         tst-posix_fallocate64.
7076         * io/tst-posix_fallocate-common.c: New file.
7077         * io/tst-posix_fallocate.c: Likewise.
7078         * io/tst-posix_fallocate64.c: Likewise.
7079         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7080         file.
7081         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7082         Likewise.
7083         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7084         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7085         Likewise.
7086         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7087         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7088         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7089         SYSCALL_LL to pass both offset and len arguments.
7090         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7091         Likewise.
7092         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7093         __libc_pwrite64 alias used by posix_fallocate64.
7095         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7096         tst-fallocate64.
7097         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7098         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7099         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7100         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7101         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7102         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7103         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7104         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7105         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7106         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7107         macro on offset argument.
7108         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7109         SYSCALL_LL64 on offset argument.
7111         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7112         tst-fallocate64.
7113         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7114         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7115         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7116         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7117         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7118         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7119         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7120         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7121         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7122         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7123         macro on offset argument.
7124         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7125         SYSCALL_LL64 on offset argument.
7126         * test-skeleton.c (FAIL_RET): Add macro.
7127         (FAIL_EXIT): Likewise.
7128         (FAIL_EXIT1): Likewise.
7129         (_FAIL): Likewise.
7131 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7133         [BZ #20629]
7134         resolv: Remove RES_USEBSTRING and its implementation.
7135         * resolv/resolv.h (RES_USEBSTRING): Remove.
7136         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7137         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7138         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7139         (labellen): Remove extended label types support.
7140         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7141         * resolv/res_init.c (res_setoptions): Likewise.
7142         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7144 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7146         resolv: Remove RES_NOIP6DOTINT and its implementation.
7147         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7148         (RES_NOIP6DOTINT): Remove.
7149         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7150         handling.
7151         * resolv/res_debug.c (p_option): Likewise.
7152         * resolv/res_init.c (res_setoptions): Likewise.
7153         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7155 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7157         resolv: Deprecate unimplemented flags.
7158         * misc/sys/cdefs.h (__glibc_macro_warning1)
7159         (__glibc_macro_warning): Define.
7160         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7161         (RES_KEEPTSIG): Mark as deprecated.
7162         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7163         RES_NOCHECKNAME, RES_KEEPTSIG.
7164         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7166 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7168         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7169         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7170         Use strong_alias to create symbols for glibc verison 2.19.
7172 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7174         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7176 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7178         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7180 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7182         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
7184 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7187         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
7188         in header for using it as type for ifunc function because __GI_* symbols
7189         for ppc32 do not target the ifunc symbols.
7190         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7192 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7194         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
7195         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
7196         libc_ifunc_hidden_def.
7197         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7198         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
7199         Redirect ifunced function in header for using it as type of ifunc'ed
7200         function. Redefine libc_hidden_def to use fallback non ifunc'ed
7201         function for __GI_* symbol.
7202         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
7203         * include/libc-symbols.h
7204         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
7206 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7208         [BZ #20478]
7209         * sysdeps/s390/multiarch/ifunc-resolve.h
7210         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
7211         to create ifunc symbols.
7212         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
7213         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
7214         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
7215         for using it as type for ifunc function.
7216         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7217         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7218         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7219         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7220         * sysdeps/s390/multiarch/strcat.c: Likewise.
7221         * sysdeps/s390/multiarch/strchr.c: Likewise.
7222         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7223         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7224         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7225         * sysdeps/s390/multiarch/strlen.c: Likewise.
7226         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7227         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7228         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7229         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7230         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7231         * sysdeps/s390/multiarch/strspn.c: Likewise.
7232         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7233         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7234         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7235         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7236         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7237         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7238         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7239         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
7240         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
7241         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7242         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
7243         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
7245 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7247         * include/libc-symbols.h (__ifunc_resolver):
7248         New macro is used by __ifunc* macros.
7249         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
7250         depending on HAVE_GCC_IFUNC.
7251         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
7252         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
7253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7254         Redirect ifunced function in header for using as type for ifunc function.
7255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
7256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
7257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
7258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
7259         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7261         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7262         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7263         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7264         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7265         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7266         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7267         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7268         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7274         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7275         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7276         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7277         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7278         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7279         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7280         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7281         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7282         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7283         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7284         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7285         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7286         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7287         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7289         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7290         instead of libc_ifunc() macro.
7291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7294 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7296         * config.h.in (HAVE_GCC_IFUNC): New undef.
7297         * configure.ac: Add check if gcc supports attribute ifunc feature.
7298         * configure: Regenerated.
7299         * manual/install.texi: Add recommendation for gcc with
7300         indirect-function support.
7301         * INSTALL: Regenerated.
7303 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7305         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7306         macro.
7307         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7308         (__iseqsig): New declaration.
7309         * math/s_iseqsig_template.c: New file.
7310         * math/Versions (__iseqsigf): New libm symbol at version
7311         GLIBC_2.25.
7312         (__iseqsig): Likewise.
7313         (__iseqsigl): Likewise.
7314         * math/libm-test.inc (iseqsig_test_data): New array.
7315         (iseqsig_test): New function.
7316         (main): Call iseqsig_test.
7317         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7318         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7319         * manual/libm-err-tab.pl: Update comment on interfaces without
7320         ulps tabulated.
7321         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7322         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7323         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7324         * sysdeps/nacl/libm.abilist: Update.
7325         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7326         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7327         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7328         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7329         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7330         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7331         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7332         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7333         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7334         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7335         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7336         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7338         Likewise.
7339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7340         Likewise.
7341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7342         Likewise.
7343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7344         Likewise.
7345         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7346         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7347         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7348         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7349         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7351         Likewise.
7352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7353         Likewise.
7354         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7355         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7356         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7358 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7360         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7361         do_sincos_2, sloww, sloww1): Update comments.
7363         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7364         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7366         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7367         K boolean and rename it.
7368         (__sin): Adjust.
7369         (__cos): Adjust.
7371 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7372             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7374         * manual/nss.texi: Fix typos in the manual.
7376 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7378         * manual/contrib.texi: Fix typos in the manual.
7380         * manual/maint.texi: Fix typos in the manual.
7382         * manual/install.texi: Fix typos in the manual.
7383         * INSTALL: Regenerated.
7385         * manual/lang.texi: Fix typos in the manual.
7387         * manual/probes.texi: Fix typos in the manual.
7389         * manual/threads.texi: Fix typos in the manual.
7391         * manual/debug.texi: Fix typos in the manual.
7393         * manual/crypt.texi: Fix typos in the manual.
7395         * manual/conf.texi: Fix typos in the manual.
7397         * manual/sysinfo.texi: Fix typos in the manual.
7399         * manual/users.texi: Fix typos in the manual.
7401         * manual/job.texi: Fix typos in the manual.
7403         * manual/process.texi: Fix typos in the manual.
7405         * manual/argp.texi: Fix typos in the manual.
7406         * manual/getopt.texi: Likewise.
7407         * manual/startup.texi: Likewise.
7409         * manual/signal.texi: Fix typos in the manual.
7411         * manual/setjmp.texi: Fix typos in the manual.
7413         * manual/resource.texi: Fix typos in the manual.
7415         * manual/time.texi: Fix typos in the manual.
7417         * manual/arith.texi: Fix typos in the manual.
7419         * manual/math.texi: Fix typos in the manual.
7421         * manual/syslog.texi: Fix typos in the manual.
7423         * manual/terminal.texi: Fix typos in the manual.
7425         * manual/socket.texi: Fix typos in the manual.
7427         * manual/filesys.texi: Fix typos in the manual.
7429         * manual/llio.texi: Fix typos in the manual.
7431         * manual/stdio.text: Fix typos in the manual.
7433 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7435         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7436         instead of K1.
7438         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7439         SHIFT_QUADRANT and make it bool.
7440         (do_sincos_2): Likewise.
7441         (sloww): Likewise.
7442         (sloww1): Likewise.
7443         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7444         (__cos): Likewise.
7446 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7448         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7450 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7452         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7453         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7454         0x7fffffffL].
7455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7457 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7459         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7460         inline by __inline__.
7461         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7462         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7463         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7464         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7465         sigset_t from signal.h.
7466         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7467         which is already required.
7469 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7471         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7473 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7475         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7476         (struct tcp_repair_window): New type.
7478 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7480         * libio/tst-memstream3.c: Include string.h.
7482 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7484         [BZ #18241]
7485         [BZ #20181]
7486         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7487         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7488         write position is at the end the buffer.
7489         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7490         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7491         (_IO_str_seekoff): Set correct offset from negative displacement and
7492         set EINVAL for invalid ones.
7493         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7494         buffer length.
7495         (_IO_wstr_switch_to_get_mode): New function.
7496         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7497         set EINVAL for invalid ones.
7498         * libio/tst-memstream3.c: New file.
7499         * libio/tst-wmemstream3.c: Likewise.
7500         * manual/examples/memstrm.c: Remove warning when priting size_t.
7502 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7504         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7505         macro to use __builtin_fma.
7506         * sysdeps/x86_64/fpu/dla.h: Remove file.
7508         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7509         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7510         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7512 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7514         [BZ #20292]
7515         * elf/Makefile (routines): Add dl-addr-obj.
7516         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7517         tst-_dl_addr_inside_object.
7518         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7519         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7520         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7521         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7522         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7523         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7524         * elf/dl-open.c: Likewise.
7525         * elf/dl-addr-obj.c: New file.
7526         * elf/tst-_dl_addr_inside_object.c: New file.
7528 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7530         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7531         <bits/iscanonical.h>.
7532         * bits/iscanonical.h: New file.
7533         * math/s_iscanonicall.c: Likewise.
7534         * math/Versions (__iscanonicall): New libm symbol at version
7535         GLIBC_2.25.
7536         * math/libm-test.inc (iscanonical_test_data): New array.
7537         (iscanonical_test): New function.
7538         (main): Call iscanonical_test.
7539         * math/Makefile (headers): Add bits/iscanonical.h.
7540         (type-ldouble-routines): Add s_iscanonicall.
7541         * manual/arith.texi (Floating Point Classes): Document
7542         iscanonical.
7543         * manual/libm-err-tab.pl: Update comment on interfaces without
7544         ulps tabulated.
7545         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7546         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7547         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7548         Likewise.
7549         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7550         test-iscanonical-ldbl-128ibm.
7551         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7552         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7553         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7554         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7555         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7556         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7557         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7559         Likewise.
7560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7561         Likewise.
7562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7563         Likewise.
7564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7565         Likewise.
7566         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7567         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7569 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7571         * string/bits/string3.h: Remove C++ style comments.
7573 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7575         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7576         instead of ternary condition.
7577         (do_sincos_2): Likewise.
7578         (__sin): Likewise.
7579         (__cos): Likewise.
7580         (slow): Likewise.
7581         (sloww): Likewise.
7582         (sloww1): Likewise.
7583         (bsloww): Likewise.
7584         (bsloww1): Likewise.
7586         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7587         instead of ternary condition.
7588         (do_sin_slow): Likewise.
7589         (do_sincos_1): Likewise.
7590         (do_sincos_2): Likewise.
7591         (__cos): Likewise.
7592         (sloww): Likewise.
7593         (sloww1): Likewise.
7594         (sloww2): Likewise.
7595         (bsloww): Likewise.
7596         (bsloww1): Likewise.
7597         (bsloww2): Likewise.
7599         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7600         check from here...
7601         (slow2): ... and here...
7602         (__sin): ... to here.
7604 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7606         * math/math.h
7607         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7608         Cast argument to its own type.
7609         * math/test-iszero-excess-precision.c: New file.
7610         * math/Makefile (tests): Add test-iszero-excess-precision.
7611         (CFLAGS-test-iszero-excess-precision.c): New variable.
7613 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7615         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7616         field, add err field.
7617         (__spawni_child): Report error through err member instead of pipe.
7618         (__spawnix): Likewise.
7620 2016-09-28  Zack Weinberg  <zackw@panix.com>
7622         * scripts/check-installed-headers.sh: Generalize treatment of
7623         sys/elf.h to all target architectures.
7625         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7626         deleted typedef ucontext_t.
7628 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7630         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7631         (__INTERNAL_SYSCALL1): Likewise.
7632         (__INTERNAL_SYSCALL2): Likewise.
7633         (__INTERNAL_SYSCALL3): Likewise.
7634         (__INTERNAL_SYSCALL4): Likewise.
7635         (__INTERNAL_SYSCALL5): Likewise.
7636         (__INTERNAL_SYSCALL6): Likewise.
7637         (__INTERNAL_SYSCALL7): Likewise.
7638         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7639         (__INTERNAL_SYSCALL_NARGS): Likewise.
7640         (__INTERNAL_SYSCALL_DISP): Likewise.
7641         (INTERNAL_SYSCALL_CALL): Likewise.
7642         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7643         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7644         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7645         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7646         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7647         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7648         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7649         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7650         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7651         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7652         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7653         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7654         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7656 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7658         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7659         macro.
7660         * math/libm-test.inc (iszero_test_data): New array.
7661         (iszero_test): New function.
7662         (main): Call iszero_test.
7663         * manual/arith.texi (Floating Point Classes): Document iszero.
7664         * manual/libm-err-tab.pl: Update comment on interfaces without
7665         ulps tabulated.
7667 2016-09-23  Zack Weinberg  <zackw@panix.com>
7669         * scripts/check-installed-headers.sh: New script.
7670         * Rules: In each directory that defines header files to be installed,
7671         run check-installed-headers.sh on them as a special test.
7672         * Makefile: Likewise for the headers installed at top level.
7674         * include/aliases.h, include/alloca.h, include/argz.h
7675         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7676         * include/elf.h, include/envz.h, include/err.h
7677         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7678         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7679         * include/link.h, include/malloc.h, include/mcheck.h
7680         * include/mntent.h, include/netinet/ether.h
7681         * include/nss.h, include/obstack.h, include/printf.h
7682         * include/pty.h, include/resolv.h, include/rpc/auth.h
7683         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7684         * include/rpc/clnt.h, include/rpc/des_crypt.h
7685         * include/rpc/key_prot.h, include/rpc/netdb.h
7686         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7687         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7688         * include/rpc/rpc_msg.h, include/rpc/svc.h
7689         * include/rpc/svc_auth.h, include/rpc/xdr.h
7690         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7691         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7692         * include/rpcsvc/ypupd.h, include/shadow.h
7693         * include/stdio_ext.h, include/sys/epoll.h
7694         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7695         * include/sys/prctl.h, include/sys/profil.h
7696         * include/sys/statfs.h, include/sys/sysctl.h
7697         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7698         * sysdeps/arm/nacl/include/bits/setjmp.h
7699         * sysdeps/mips/include/sys/asm.h
7700         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7701         * sysdeps/unix/sysv/linux/include/sys/timex.h
7702         * sysdeps/x86/fpu/include/bits/fenv.h:
7703         Add #ifndef _ISOMAC guard around internal declarations.
7704         Add multiple-inclusion guard if not already present.
7706 2016-09-23  Zack Weinberg  <zackw@panix.com>
7708         * sysdeps/generic/sys/ucontext.h
7709         * sysdeps/arm/sys/ucontext.h
7710         * sysdeps/i386/sys/ucontext.h
7711         * sysdeps/m68k/sys/ucontext.h
7712         * sysdeps/mips/sys/ucontext.h
7713         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7714         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7715         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7716         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7717         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7718         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7719         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7720         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7721         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7722         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7723         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7724         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7725         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7726         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7727         Include both bits/sigcontext.h and bits/sigstack.h.
7728         Fix grammar error in comment, if present.
7730         * bits/sigstack.h
7731         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7732         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7733         * sysdeps/unix/sysv/linux/bits/sigstack.h
7734         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7735         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7736         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7737         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7738         * bits/sigcontext.h
7739         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7740         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7741         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7742         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7743         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7744         as well as signal.h, if this was not already allowed.  Request
7745         definition of size_t if necessary.  Minimize semantically-null
7746         differences across files.
7748 2016-09-23  Zack Weinberg  <zackw@panix.com>
7750         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7751         Remove all logic conditional on __need macros.  Move all the
7752         conditionally defined types to their own headers...
7753         * time/bits/types/clock_t.h: Define clock_t here.
7754         * time/bits/types/clockid_t.h: Define clockid_t here.
7755         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7756         * time/bits/types/struct_timespec.h: Define struct timespec here.
7757         * time/bits/types/struct_timeval.h: Define struct timeval here.
7758         * time/bits/types/struct_tm.h: Define struct tm here.
7759         * time/bits/types/time_t.h: Define time_t here.
7760         * time/bits/types/timer_t.h: Define timer_t here.
7761         * time/Makefile: Install the new headers.
7763         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7764         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7765         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7766         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7767         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7768         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7769         * sysdeps/unix/sysv/linux/bits/resource.h
7770         * sysdeps/unix/sysv/linux/bits/timex.h
7771         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7772         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7773         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7774         * sysdeps/unix/sysv/linux/sys/acct.h
7775         * sysdeps/unix/sysv/linux/sys/timerfd.h
7776         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7777         * time/sys/time.h, time/sys/timeb.h
7778         Use the new bits/types headers.
7780         * include/time.h: Remove __need logic.
7781         * include/bits/time.h
7782         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7783         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7784         * include/bits/types/struct_itimerspec.h
7785         * include/bits/types/struct_timespec.h
7786         * include/bits/types/struct_timeval.h
7787         * include/bits/types/struct_tm.h:
7788         New wrapper headers.
7790 2016-09-23  Zack Weinberg  <zackw@panix.com>
7792         * sysdeps/mach/hurd/net/if_ppp.h
7793         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7794         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7795         if __USE_MISC is defined, to ensure struct ifreq is declared.
7797         * inet/netinet/ether.h: Condition all function prototypes
7798         on __USE_MISC, to ensure struct ether_addr is declared.
7800         * socket/bits/types/struct_osockaddr.h: New header.
7801         * include/bits/types/struct_osockaddr.h: New wrapper.
7802         * socket/Makefile: Install the new header.
7803         * socket/sys/socket.h, inet/protocols/talkd.h:
7804         Refer to bits/types/struct_osockaddr.h for the definition of
7805         struct osockaddr.
7807 2016-09-23  Zack Weinberg  <zackw@panix.com>
7809         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7810         * inet/protocols/routed.h, inet/protocols/talkd.h
7811         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7812         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7813         * sysdeps/generic/netinet/if_ether.h
7814         * sysdeps/generic/netinet/in_systm.h
7815         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7816         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7817         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7818         * sysdeps/mach/hurd/net/if_arp.h
7819         * sysdeps/mach/hurd/net/if_ppp.h
7820         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7821         * sysdeps/unix/sysv/linux/bits/in.h
7822         * sysdeps/unix/sysv/linux/net/ethernet.h
7823         * sysdeps/unix/sysv/linux/net/if_arp.h
7824         * sysdeps/unix/sysv/linux/net/if_ppp.h
7825         * sysdeps/unix/sysv/linux/net/if_shaper.h
7826         * sysdeps/unix/sysv/linux/net/route.h
7827         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7828         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7829         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7830         * sysdeps/unix/sysv/linux/netipx/ipx.h
7831         * sysdeps/unix/sysv/linux/sys/acct.h
7832         * include/arpa/nameser.h, include/resolv.h:
7833         Change all uses of u_char to unsigned char,
7834         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7835         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7836         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7837         and u_int64_t and u_quad_t to uint64_t.
7839         * mach/sys/reboot.h: Remove two casts of integer literals
7840         to the types they already have.
7842         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7843         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7844         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7845         from referring to 'unsigned char' to 'uint8_t' for consistency with
7846         the macro definition below.
7848         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7849         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7850         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7851         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7852         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7853         * sysdeps/unix/sysv/linux/sys/acct.h
7854         * include/arpa/nameser.h, include/resolv.h:
7855         Fix indentation disrupted by mechanical edits.
7857         * inet/protocols/talkd.h, resolv/arpa/nameser.h
7858         * sysdeps/generic/netinet/in_systm.h
7859         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7860         * sysdeps/gnu/netinet/udp.h
7861         * sysdeps/unix/sysv/linux/net/ethernet.h
7862         * sysdeps/unix/sysv/linux/net/if_arp.h
7863         * sysdeps/unix/sysv/linux/net/if_ppp.h
7864         * sysdeps/unix/sysv/linux/net/if_shaper.h
7865         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7866         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7867         * sysdeps/unix/sysv/linux/netipx/ipx.h
7868         * sysdeps/unix/sysv/linux/sys/acct.h
7869         Include stdint.h for uintNN_t definitions.
7870         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7872 2016-09-23  Zack Weinberg  <zackw@panix.com>
7874         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
7875         * sysdeps/unix/sysv/linux/netrose/rose.h:
7876         Include sys/socket.h and netax25/ax25.h.
7878         * inet/netinet/icmp6.h, inet/netinet/ip6.h
7879         * resolv/arpa/nameser_compat.h:
7880         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
7882         * sysdeps/unix/sysv/linux/sys/quota.h:
7883         Use __caddr_t instead of caddr_t.
7884         * sysdeps/unix/sysv/linux/sys/timerfd.h:
7885         Use __clockid_t instead of clockid_t.
7887         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
7889         * argp/argp.h: Check whether _LIBC is defined before expanding it.
7890         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
7891         expanding it.
7893         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
7894         Define __glibc_c99_flexarr_available to 1 when the compiler
7895         supports C99-compatible flexible array members, 0 otherwise.
7896         * sysdeps/unix/sysv/linux/bits/socket.h
7897         * sysdeps/mach/hurd/bits/socket.h
7898         * bits/socket.h: Use __glibc_c99_flexarr_available in
7899         definitions of struct cmsghdr and CMSG_DATA.
7901 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7903         * manual/nss.texi (NSS Modules Interface): Adjust function return
7904         type to enum nss_status.  Document errnop argument.  Clarify
7905         h_errnop semantics.  Fix cross-reference formatting.
7906         (NSS Module Function Internals): Mention that *errnop needs to be
7907         set on failure, but not to zero.
7909 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7911         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
7912         (get_random_name): New functions.
7913         (check_wrapper_flags_mode): Use linkat to give the new file a name
7914         determined by get_random_name.
7915         (do_test): Add calls to test open64 and openat64.
7917 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7919         * test-skeleton.c: Remove #include <stdarg.h>.
7921 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
7923         [BZ #19826]
7924         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
7925         initialization of static TLS entries.
7926         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
7927         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7929 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7931         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
7932         _hurd_malloc_fork_prepare.
7933         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
7934         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
7935         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
7936         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
7937         (_hurd_fork_child_hook): Drop malloc_fork_child.
7938         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
7939         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
7940         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
7941         after locking locks (notably hurd_dtable_lock). Call
7942         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
7943         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
7944         __malloc_fork_unlock_child.
7945         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
7947 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
7949         * soft-fp/extendhftf2.c: New.
7950         * soft-fp/fixhfti.c: Likewise.
7951         * soft-fp/fixunshfti.c: Likewise.
7952         * soft-fp/floattihf.c: Likewise.
7953         * soft-fp/floatuntihf.c: Likewise.
7954         * soft-fp/half.h: Likewise.
7955         * soft-fp/trunctfhf2.c: Likewise.
7957 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
7959         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
7960         macro.
7961         * math/libm-test.inc (issubnormal_test_data): New array.
7962         (issubnormal_test): New function.
7963         * manual/arith.texi (Floating Point Classes): Document
7964         issubnormal.
7965         * manual/libm-err-tab.pl: Update comment on interfaces without
7966         ulps tabulated.
7968         * sysdeps/generic/stdint.h: Define
7969         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7970         <bits/libc-header-start.h> instead of including <features.h>.
7971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
7972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
7973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
7974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
7975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
7976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
7977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
7978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
7979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
7980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
7981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
7982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
7983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
7984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
7985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
7986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
7987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
7988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
7989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
7990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
7991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
7992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
7993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
7994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
7995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
7996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
7997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
7998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
7999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8004         * manual/arith.texi (Integers): Document these macros for types
8005         specified by width properties.
8006         * manual/lang.texi (Width of Type): Document these macros for
8007         other standard typedefs.
8008         * stdlib/tst-width-stdint.c: New file.
8009         * stdlib/Makefile (tests): Add tst-width-stdint.
8011 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8013         [BZ #20016]
8014         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8015         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8016         Move ...
8017         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8018         ... here, as compatibility symbols in a new file.
8019         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8020         * resolv/res_init.c (__res_vinit): Adjust member names.
8021         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8022         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8023         (res_send_rhook): Remove.
8024         (struct __res_state): Rename qhook, rhook members.
8026 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8028         malloc: Use __libc_lock wrappers.
8029         * malloc/arena.c (list_lock, free_list_lock): Define using
8030         __libc_lock_define_initialized.
8031         (arena_lock): Adjust formatting.
8032         * malloc/malloc.c (struct malloc_state): Define mutex using
8033         __libc_lock_define.
8034         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8035         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8036         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8037         (mutex_unlock, mutex_trylock): Remove.
8038         (__pthread_initialize): Remove unused macro.
8039         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8040         (mutex_unlock, mutex_trylock): Remove.
8042 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8044         [BZ #20592]
8045         Remove RR type classification macros.
8046         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8047         (ns_t_udp_p, ns_t_xfr_p): Remove.
8049 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8051         Remove misleading version information.
8052         * resolv/arpa/nameser.h (__NAMESER): Remove.
8053         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8055 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8057         Remove the always-defined BIND_4_COMPAT macro.
8058         * resolv/arpa/nameser.h: Unconditionally include
8059         <arpa/nameser_compat.h>.
8060         (BIND_4_COMPAT): Remove.
8061         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8063 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8065         [BZ #20591]
8066         Remove obsolete DNSSEC support.
8067         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8068         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8069         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8070         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8071         (ns_cert_types): Add comment.
8072         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8073         separately.
8074         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8075         (dst_s_dns_key_id): Remove.
8076         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8077         variables.
8079 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8081         [BZ #20524]
8082         * manual/string.texi (String/Array Comparison): Clarify the
8083         strverscmp behavior.
8085 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8087         * test-skeleton.c (xasprintf): Add function.
8088         * io/tst-open-tmpfile.c: New test.
8089         * io/Makefile (tests): Add it.
8091 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8093         Avoid running $(CXX) during build to obtain header file paths.
8094         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8095         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8096         * Makerules (cstdlib, cmath): Remove variables.  Use
8097         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8098         * configure: Regenerate.
8100 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8102         * Makeconfig (all-object-suffixes): Include .op only if
8103         $(build-profile).
8105 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8107         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8108         conditionals.  Do not define PATH_MAX.
8110 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8112         * posix/Makefile (tests): Add tst-spawn3.
8113         * posix/tst-spawn3.c: New file.
8114         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8115         if it is already opened for open action.
8117         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8118         all signals when executing the clone vfork child.
8119         (SIGALL_SET): Remove macro.
8121         * nptl/Makefile (tests): Add tst-exec5.
8122         * nptl/tst-exec5.c: New file.
8123         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8124         asynchronous cancellation.
8126 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8128         * hurd/exc2signal.c: #include <hurd/signal.h>
8129         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8130         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8131         accordingly.
8132         * mach/mach_error.c (mach_error): Fix old-style function definition.
8133         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8135 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8137         * math/Makefile (libm-calls): Remove s_nanF.
8138         (gen-libm-calls): Add s_nanF.
8140         * math/s_nan.c: Refactor into ...
8141         * math/s_nan_template.c: New file.
8143         * math/s_nanf.c: Removed.
8144         * math/s_nanl.c: Removed.
8145         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8146         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8148         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8149         (LDOUBLE_nanl_libm_version): New macro.
8151         * sysdeps/generic/math-type-macros-double.h:
8152         (M_STRTO_NAN): New macro.
8153         * sysdeps/generic/math-type-macros-float.h: Likewise.
8154         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8156         * sysdeps/generic/math-type-macros.h: Document
8157         M_STRTO_NAN.
8159 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8161         * math/s_nanf.c: Remove __nanf undef.
8162         * math/s_nan.c: Remove __nan undef.
8163         * math/s_nanl.c: Remove __nanl undef.
8165         * sysdeps/generic/math_private.h (__nan): Remove macro
8166         override.
8167         (__nanf): Likewise.
8168         (__nanl): Likewise.
8170 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8172         * math/Makefile (gen-all-calls): New variable.
8173         (generated): Replace gen-libm-calls with gen-all-calls.
8174         (gen-libm-templates.stmp): Likewise.  Also, ensure
8175         the output directory exists or is created and add
8176         dependency on the Makefile.
8177         (calls): Move s_ldexpF into gen-calls.
8178         (gen-calls): New variable.
8180         * math/s_ldexpf.c: Removed.
8181         * math/s_ldexpl.c: Removed.
8182         * math/s_ldexp.c: Refactored into ...
8183         * math/s_ldexp_template.c: New file.
8185         * sysdeps/generic/math-type-macros-double.h: Remove
8186         redundant fall-through definition of declare_mgen_alias.
8187         (declare_mgen_alias_2): New macro.
8189         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
8190         New macro for function aliased to two exported symbols.
8192         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
8193         new template file.
8194         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8196 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8198         * Makeconfig (all-object-suffixes): Remove .og.
8199         * Makerules (elide-routines.og): Remove.
8200         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
8201         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
8202         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
8204 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8206         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
8207         .os objects.
8209 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8211         [BZ #20615]
8212         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
8213         fpu directory by non-fpu.
8214         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
8215         on non-fpu directory from a fpu directory.
8217 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
8219         * include/limits.h: Define
8220         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8221         <bits/libc-header-start.h> instead of including <features.h>.
8222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
8223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
8224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
8225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
8226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
8227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
8228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
8229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
8230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
8232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
8233         * manual/lang.texi (Width of Type): Document these macros.
8234         * stdlib/tst-width.c: New file.
8235         * stdlib/Makefile (tests): Add tst-width.
8237 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8239         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
8240         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
8242 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8244         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8245         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8246         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8248 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8250         [BZ #18243]
8251         * rt/Makefile (test): Add tst-shm-cancel.
8252         * rt/tst-shm-cancel.c: New file.
8253         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
8255         [BZ #18243]
8256         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
8257         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
8258         definition.
8259         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
8260         uncontended case.
8261         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8262         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8263         (tf): Fix check for uncontended case.
8264         (do_test): Likewise.
8265         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8266         (tf): Fix check for uncontended case.
8267         (do_test): Likewise.
8268         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8269         (tf): Fix check for uncontended case.
8270         (do_test): Likewise.
8271         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8272         (tf): Fix check for uncontended case.
8273         (do_test): Likewise.
8275         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8276         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8278         [BZ #15765]
8279         * nptl/Makefile (tests): Add tst-sem16.
8280         * nptl/tst-sem16.c: New file.
8281         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8283         * nptl/sem_open.c (sem_open): Init pad value to 0.
8284         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8285         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8287 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8289         [BZ #20611]
8290         * inet/Makefile (routines): Add inet6_scopeid_pton.
8291         (tests): Add tst-inet6_scopeid_pton.
8292         * inet/inet6_scopeid_pton.c: New file.
8293         * inet/net-internal.h: Likewise.
8294         * inet/tst-inet6_scopeid_pton.c: New test.
8295         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8296         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8299 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8301         Remove support for compiling wrappers with PTW.
8302         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8303         * nptl/Makefile (pthread-compat-wrappers): Define.
8304         (libpthread-routines): Use pthread-compat-wrappers.
8305         * sysdeps/unix/sysv/linux/alpha/Makefile
8306         (libpthread-routines, libpthread-shared-only-routines): Remove
8307         ptw- prefix.
8308         * sysdeps/s390/nptl/Makefile
8309         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8310         * sysdeps/ia64/nptl/Makefile
8311         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8312         * sysdeps/nacl/Makefile (libpthread-routines): Use
8313         pthread-compat-wrappers to filter the routines list instead of the
8314         ptw- prefix.
8316 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8318         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8319         with L() and remove explicit suffix, convert real literals
8320         which can be equivalentally substituted with integers, and
8321         transform -L(x) to L(-x).
8323         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8324         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8325         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8326         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8327         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8328         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8329         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8330         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8331         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8332         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8334         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8336         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8337         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8338         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8339         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8340         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8341         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8342         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8343         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8344         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8346         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8347         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8348         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8349         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8350         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8351         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8352         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8353         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8354         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8355         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8356         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8357         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8358         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8359         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8360         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8361         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8362         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8363         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8364         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8365         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8366         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8367         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8368         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8369         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8370         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8371         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8372         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8374 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8376         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8378 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8380         * malloc/Makefile (tests): Remove individual static test names
8381         and just add all of tests-static.
8383         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8385 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8387         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8388         file.
8390         * sysdeps/sparc/fpu/fegetmode.c: New file.
8391         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8393         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8394         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8396         * sysdeps/s390/fpu/fegetmode.c: New file.
8397         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8399         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8400         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8401         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8402         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8403         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8404         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8406         * sysdeps/mips/fpu/fegetmode.c: New file.
8407         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8409         * sysdeps/m68k/fpu/fegetmode.c: New file.
8410         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8412         * sysdeps/ia64/fpu/fegetmode.c: New file.
8413         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8415         * sysdeps/hppa/fpu/fegetmode.c: New file.
8416         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8418         * sysdeps/arm/fegetmode.c: New file.
8419         * sysdeps/arm/fesetmode.c: Likewise.
8421         * sysdeps/alpha/fpu/fegetmode.c: New file.
8422         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8424         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8425         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8427         * math/fegetmode.c: New file.
8428         * math/fesetmode.c: Likewise.
8429         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8430         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8431         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8432         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8433         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8435         declaration.
8436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8437         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8438         typedef.
8439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8440         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8441         (femode_t): New typedef.
8442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8443         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8444         (femode_t): New typedef.
8445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8446         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8447         (femode_t): New typedef.
8448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8449         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8450         (femode_t): New typedef.
8451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8452         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8453         (femode_t): New typedef.
8454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8455         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8456         (femode_t): New typedef.
8457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8458         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8459         (femode_t): New typedef.
8460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8461         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8462         (femode_t): New typedef.
8463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8464         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8465         (femode_t): New typedef.
8466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8467         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8468         (femode_t): New typedef.
8469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
8470         declaration.
8471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8472         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8473         (femode_t): New typedef.
8474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8475         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8476         (femode_t): New typedef.
8477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8478         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8479         (femode_t): New typedef.
8480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8481         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8482         (femode_t): New typedef.
8483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8484         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8485         (femode_t): New typedef.
8486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8487         * manual/arith.texi (FE_DFL_MODE): Document macro.
8488         (fegetmode): Document function.
8489         (fesetmode): Likewise.
8490         * math/Versions (fegetmode): New libm symbol at version
8491         GLIBC_2.25.
8492         (fesetmode): Likewise.
8493         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8494         (tests): Add test-femode and test-femode-traps.
8495         * math/test-femode-traps.c: New file.
8496         * math/test-femode.c: Likewise.
8497         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8498         alias for __fe_dfl_env.
8499         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8500         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8501         (__fe_dfl_mode): Likewise.
8502         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8503         version GLIBC_2.25.
8504         * sysdeps/nacl/libm.abilist: Update.
8505         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8507         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8508         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8509         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8510         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8511         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8512         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8513         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8514         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8515         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8516         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8518         Likewise.
8519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8520         Likewise.
8521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8522         Likewise.
8523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8524         Likewise.
8525         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8526         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8527         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8528         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8529         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8533         Likewise.
8534         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8535         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8536         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8538 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8540         [BZ #20495]
8541         [BZ #20508]
8542         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8543         processors, set Use_dl_runtime_resolve_slow and set
8544         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8545         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8546         New.
8547         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8548         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8549         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8550         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8551         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8552         if Use_dl_runtime_resolve_opt is set.  Use
8553         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8554         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8555         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8556         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8557         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8558         New.
8559         (_dl_runtime_resolve_opt): Likewise.
8560         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8561         defined.
8563 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8565         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8566         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8568 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8570         Convert malloc to __libc_lock.  Automated part, using this Perl
8571         s/// command:
8572           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8573             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8574         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8575         conversion.
8577 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8579         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8580         (linknamespace-symlists-tests): Likewise.
8581         (linknamespace-header-tests): Likewise.
8583 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8585         [BZ #19810]
8586         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8587         * elf/tst-noload.c: New test case.
8588         * elf/Makefile (tests): Add tst-noload.
8590 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8592         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8594         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8595         not any more.
8597         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8599 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8601         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8602         (do_cos_slow): Likewise.
8603         (do_sin): Likewise.
8604         (do_sin_slow): Likewise.
8605         (slow): Likewise.
8606         (slow1): Likewise.
8607         (slow2): Likewise.
8608         (sloww): Likewise.
8609         (sloww1): Likewise.
8610         (sloww2): Likewise.
8611         (bsloww): Likewise.
8612         (bsloww1): Likewise.
8613         (bsloww2): Likewise.
8614         (cslow2): Likewise.
8616         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8618         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8619         arguments.  Consolidate input partitioning from callers here.
8620         (do_cos_slow): Likewise.
8621         (do_sin): Likewise.
8622         (do_sin_slow): Likewise.
8623         (do_sincos_1): Remove the no longer necessary input partitioning.
8624         (do_sincos_2): Likewise.
8625         (__sin): Likewise.
8626         (__cos): Likewise.
8627         (slow1): Likewise.
8628         (slow2): Likewise.
8629         (sloww1): Likewise.
8630         (sloww2): Likewise.
8631         (bsloww1): Likewise.
8632         (bsloww2): Likewise.
8633         (cslow2): Likewise.
8635 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8637         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8638         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8639         outside of allocated array.
8641 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8643         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8644         instead of MB_CUR_MAX to avoid variable-length array.
8646 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8648         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8649         (type-double-routines): Add k_rem_pio2.
8650         (type-float-routines): Add k_rem_pio2f.
8652         * sysdeps/generic/math_private.h:
8653         (__kernel_rem_pio2l): Removed.
8655         * math/k_rem_pio2l.c: Removed.
8656         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8657         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8658         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8659         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8661 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8663         * math/Makefile (gen-libm-calls): Add s_fmin
8664         (libm-calls): Remove above.
8666         * math/s_fmin.c: Refactor into ...
8667         * math/s_fmin_template.c: New file.
8669         * math/s_fminf.c: Removed.
8670         * math/s_fminl.c: Removed.
8671         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8672         (LDOUBLE_fmin_libm_version): New macro.
8674         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8675         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8677 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8679         * math/Makefile: (gen-libm-calls): Add s_fmax.
8680         (libm-calls): Remove above.
8682         * math/s_fmax.c: Refactor into ...
8683         * math/s_fmax_template.c: New file.
8684         * math/s_fmaxf.c: Removed.
8685         * math/s_fmaxl.c: Removed.
8687         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8688         (LDOUBLE_fmaxl_libm_version): New macro.
8690         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8691         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8693         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8694         s_fmin.c to pick the aarch64 version of the file.
8695         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8696         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8698 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8700         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8701         (libm-calls): Remove above.
8703         * math/s_nextdown.c: Refactor into ...
8704         * math/s_nextdown_template.c: New file.
8705         * math/s_nextdownf.c: Removed.
8706         * math/s_nextdownl.c: Removed.
8708         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8710 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8712         * math/Makefile (gen-libm-calls): Add s_fdim.
8713         (libm-calls): Move to above.
8715         * math/s_fdim.c: Renamed and refactored into to ...
8716         * math/s_fdim_template.c: New file.
8717         * math/s_fdiml.c: Removed.
8718         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8719         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8721         * sysdeps/generic/math-type-macros-double.h:
8722         (declare_mgen_alias): Don't declare if already declared.
8723         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8724         Likewise.
8726         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8727         (declare_mgen_alias): Don't declare if already declared.
8728         (M_LIBM_NEED_COMPAT): Likewise.
8729         (declare_mgen_libm_compat): Likewise.
8730         (LDOUBLE_fdiml_libm_version): New macro.
8732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8733         Include math/s_fdim.c now that ldbl-opt version is not needed.
8734         (declare_mgen_alias): New macro to disable aliasing.
8736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8737         (declare_mgen_alias): Likewise.
8738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8739         (declare_mgen_alias): Likewise.
8740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8741         (declare_mgen_alias): Likewise.
8742         (M_LIBM_NEED_COMPAT): Likewise.
8744 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8746         [BZ #20525]
8747         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8748         Include <linux/quota.h>.
8749         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8750         and btodb.
8751         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8752         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8753         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8754         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8755         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8756         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8757         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8758         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8759         types.
8760         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8761         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8763 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8765         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8766         (gammal_positive): Fix spacing.
8767         (__ieee754_gammal_r): Likewise.
8769 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8771         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8772         (_Float128): Define as long double, always.
8773         (L): Apply long double type suffix, always.
8775         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8776         _Float128, excepting comments.
8778         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8779         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8780         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8781         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8782         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8783         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8784         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8785         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8786         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8787         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8788         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8789         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8790         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8791         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8792         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8793         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8794         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8795         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8796         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8797         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8798         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8799         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8800         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8801         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8802         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8803         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8804         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8805         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8806         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8807         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8808         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8809         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8810         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8811         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8812         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8813         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8814         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8815         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8816         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8817         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8818         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8819         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8820         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8821         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8822         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8823         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8824         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8825         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8826         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8827         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8828         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8829         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8830         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8831         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8832         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8833         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8834         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8835         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8836         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8837         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8838         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8839         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8840         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8841         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8842         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8843         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8844         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8845         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8847         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8848         _Float128, and include math_private.h.
8849         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8852         long double semantics.
8853         (_Float128): Likewise.
8854         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8855         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8856         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8857         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8859 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8861         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8862         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8863         * sysdeps/s390/configure: Regenerated.
8864         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8865         instruction for raising over-/underflow if z196 zarch is supported
8866         by default.
8867         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8869 2016-08-30  Svante Signell  <svante.signell@gmail.com>
8871         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8872         it point to a dumb buffer for RPC to fill it.
8874 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8876         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
8877         instead of if/else.
8878         (do_sin_slow): Likewise.
8879         (do_sincos_1): Use fabs instead of if/else.
8880         (do_sincos_2): Likewise.
8881         (__sin): Likewise.
8882         (__cos): Likewise.
8883         (slow2): Likewise.
8884         (sloww): Likewise.
8885         (sloww1): Likewise.  Drop argument M.
8886         (sloww2): Use fabs instead of if/else.
8887         (bsloww): Likewise.
8888         (bsloww1): Likewise.
8889         (bsloww2): Likewise.
8891         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
8892         fall through comment.
8893         (do_sincos_1): Likewise.
8895         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
8896         Consolidate switch cases 0 and 2.
8898 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8900         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
8901         (libm-calls): Remove the above.
8903         * math/s_cexp_template.c: Update using type-generic macros.
8904         * math/s_clog10_template.c: Likewise.
8905         * math/s_cpow_template.c: Likewise.
8906         * math/s_clog_template.c: Likewise.
8907         * math/s_cproj_template.c: Likewise.
8908         * math/s_csqrt_template.c: Likewise.
8910         * math/s_cexp.c: Removed.
8911         * math/s_cexpf.c: Removed.
8912         * math/s_cexpl.c: Removed.
8913         * math/s_clog10.c: Removed.
8914         * math/s_clog10f.c: Removed.
8915         * math/s_clog10l.c: Removed.
8916         * math/s_cpow.c: Removed.
8917         * math/s_cpowf.c: Removed.
8918         * math/s_cpowl.c: Removed.
8919         * math/s_clog.c: Removed.
8920         * math/s_clogf.c: Removed.
8921         * math/s_clogl.c: Removed.
8922         * math/s_cproj.c: Removed.
8923         * math/s_cprojf.c: Removed.
8924         * math/s_cprojl.c: Removed.
8925         * math/s_csqrt.c: Removed.
8926         * math/s_csqrtf.c: Removed.
8927         * math/s_csqrtl.c: Removed.
8929         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
8930         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
8931         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
8932         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
8933         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
8934         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
8936         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
8937         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
8938         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
8939         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
8940         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
8941         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
8942         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
8943         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
8944         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
8945         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
8946         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
8948         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
8949         version.
8951         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
8952         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
8953         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
8954         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
8956 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8958         * s_cexp_template.c: Copy of s_cexp.c.
8959         * s_clog_template.c: Copy of s_clog.c.
8960         * s_clog10_template.c: Copy of s_clog10.c.
8961         * s_cpow_template.c: Copy of s_cpow.c.
8962         * s_cproj_template.c: Copy of s_cproj.c.
8963         * s_csqrt_template.c: Copy of s_csqrt.c.
8965 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8967         [BZ #20517]
8968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8969         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
8970         exported.
8972 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
8974         * math/fetestexceptflag.c: New file.
8975         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
8976         Stefan Liebler.
8977         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8978         (fetestexceptflag): New function declaration.
8979         * manual/arith.texi (fetestexceptflag): Document function.
8980         * math/Versions (fetestexceptflag): New libm symbol at version
8981         GLIBC_2.25.
8982         * math/Makefile (libm-support): Add fetestexceptflag.
8983         (tests): Add test-fetestexceptflag.
8984         * math/test-fetestexceptflag.c: New file.
8985         * sysdeps/nacl/libm.abilist: Update.
8986         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8987         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8988         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8989         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8990         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8991         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8992         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8993         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8994         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8995         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8996         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8997         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8999         Likewise.
9000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9001         Likewise.
9002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9003         Likewise.
9004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9005         Likewise.
9006         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9007         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9008         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9009         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9010         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9012         Likewise.
9013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9014         Likewise.
9015         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9016         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9017         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9019 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9021         [BZ #20432]
9022         Avoid strong references to malloc-internal symbols when linking
9023         statically, to support statically interposed mallocs.
9024         * include/libc-symbols.h (call_function_static_weak): New macro.
9025         * malloc/Makefile (tests): Add tst-interpose-nothread,
9026         tst-interpose-thread, tst-interpose-static-nothread,
9027         tst-interpose-static-thread.
9028         (tests-static): Add tst-interpose-static-nothread,
9029         tst-interpose-static-thread.
9030         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9031         tst-interpose-aux-thread.o.
9032         (test-extras): Add tst-interpose-aux-nothread,
9033         tst-interpose-aux-thread.
9034         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9035         tst-interpose-aux-nothread.o.
9036         (tst-interpose-thread, tst-interpose-static-thread): Link with
9037         tst-interpose-aux-thread.o and libthread.
9038         * malloc/tst-interpose-aux-nothread.c: New file.
9039         * malloc/tst-interpose-aux-thread.c: Likewise.
9040         * malloc/tst-interpose-aux.c: Likewise.
9041         * malloc/tst-interpose-aux.h: Likewise.
9042         * malloc/tst-interpose-nothread.c: Likewise.
9043         * malloc/tst-interpose-skeleton.c: Likewise.
9044         * malloc/tst-interpose-static-nothread.c: Likewise.
9045         * malloc/tst-interpose-static-thread.c: Likewise.
9046         * malloc/tst-interpose-thread.c: Likewise.
9047         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9048         * sysdeps/mach/hurd/fork.c (__fork): Only call
9049         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9050         __malloc_fork_unlock_child if defined.
9051         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9053 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9055         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9056         timespec C99 designated initialization.
9058 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9060         [BZ #19946]
9061         Avoid expected SIGALRM signals.
9062         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9063         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9064         (xpthread_create, xpthread_detach, xpthread_join)
9065         (delayed_exit_thread, delayed_exit): New functions.
9066         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9067         (tf): Use xpthread_cond_wait.
9068         (do_test): Likewise.  Replace alarm with delayed_exit.
9069         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9070         (do_test): Call delayed_exit.  Report failure.
9071         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9072         (do_test): Call delayed_exit.
9073         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9074         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9075         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9076         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9077         error.
9078         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9079         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9080         error.
9081         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9082         (do_test): Call delayed_exit.
9083         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9084         (do_test): Call delayed_exit.
9085         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9086         (do_test): Call delayed_exit instead of alarm.  Use
9087         xpthread_mutex_lock.
9088         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9089         (do_test): Call delayed_exit instead of alarm.  Use
9090         xpthread_mutex_lock.
9091         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9092         (do_test): Call delayed_exit instead of alarm.
9093         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9094         (do_test): Call delayed_exit instead of alarm.  Use
9095         xpthread_spin_lock.
9096         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9097         (do_test): Call delayed_exit instead of alarm.  Use
9098         xpthread_join.
9100 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9102         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9103         adjust CFA when allocating register save area on re-aligned
9104         stack.
9106 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9108         * string/tst-cmp.c: New test.
9109         * string/Makefile (tests): Add it.
9111 2016-08-25  Mark Wielaard  <mark@klomp.org>
9113         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9114         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9115         (check_tree_recurse): Use newly defined accessors.
9116         (check_tree): Likewise.
9117         (maybe_split_for_insert): Likewise.
9118         (__tfind): Likewise.
9119         (__tdelete): Likewise.
9120         (trecurse): Likewise.
9121         (tdestroy_recurse): Likewise.
9122         (__tsearch): Likewise. And add asserts for malloc alignment.
9123         (__twalk): Cast root to node in case CHECK_TREE is defined.
9125 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9127         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9129 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9131         * math/Makefile (libm-gen-calls): Add
9132         catan, catanh, ctan, ctanh.
9133         (libm-calls): Remove the above.
9135         * math/s_catan_template.c: Update using type-generic macros.
9136         * math/s_catanh_template.c: Likewise.
9137         * math/s_ctan_template.c: Likewise.
9138         * math/s_ctanh_template.c: Likewise.
9140         * math/s_catanf.c: Removed.
9141         * math/s_catan.c: Removed.
9142         * math/s_catanl.c: Removed.
9143         * math/s_catanhf.c: Removed.
9144         * math/s_catanh.c: Removed.
9145         * math/s_catanhl.c: Removed.
9146         * math/s_ctanf.c: Removed.
9147         * math/s_ctan.c: Removed.
9148         * math/s_ctanl.c: Removed.
9149         * math/s_ctanhf.c: Removed.
9150         * math/s_ctanh.c: Removed.
9151         * math/s_ctanhl.c: Removed.
9153         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9154         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9155         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9156         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9157         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9158         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9160         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9161         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9162         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9163         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9165 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9167         * s_catan_template.c: Copy of s_catan.c.
9168         * s_catanh_template.c: Copy of s_catanh.c.
9169         * s_ctan_template.c: Copy of s_ctan.c.
9170         * s_ctanh_template.c: Copy of s_ctanh.c.
9172 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9174         * math/Makefile (gen-libm-calls): Move
9175         casin, casinh, csin, csinh here.
9176         (libm-calls): Remove the above.
9178         * math/s_casin_template.c: Update using type-generic macros.
9179         * math/s_casinh_template.c: Likewise.
9180         * math/s_csin_template.c: Likewise.
9181         * math/s_csinh_template.c: Likewise.
9182         * math/k_casinh_template.c: Likewise.
9184         * math/s_casinf.c: Removed.
9185         * math/s_casin.c: Removed.
9186         * math/s_casinl.c: Removed.
9187         * math/s_casinh.c: Removed.
9188         * math/s_casinhf.c: Removed.
9189         * math/s_casinhl.c: Removed.
9190         * math/s_csin.c: Removed.
9191         * math/s_csinf.c: Removed.
9192         * math/s_csinl.c: Removed.
9193         * math/s_csinh.c: Removed.
9194         * math/s_csinhf.c: Removed.
9195         * math/s_csinhl.c: Removed.
9196         * math/k_casinh.c: Removed.
9197         * math/k_casinhf.c: Removed.
9198         * math/k_casinhl.c: Removed.
9200         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
9201         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9202         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9203         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9205         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
9206         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
9207         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
9208         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
9209         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
9210         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
9211         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
9212         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
9214         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
9215         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
9216         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
9217         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
9219         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
9220         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
9221         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
9222         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
9224 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9226         * s_casin_template.c: Copy of s_casin.c.
9227         * s_casinh_template.c: Copy of s_casinh.c.
9228         * s_csin_template.c: Copy of s_csin.c.
9229         * s_csinh_template.c: Copy of s_csinh.c.
9230         * k_casinh_template.c: Copy of k_casinh.c.
9232 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9234         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
9236 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9238         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
9239         (mul_split) Remove, rename as mul_splitl, remove
9240         redundant float.h include, and include via mul_splitl.h
9242         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9243         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9244         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9245         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9246         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9248         * math/mul_splitl.h: New file.
9250         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
9251         Move into mul_split.h, and remove redundant float.h include.
9253         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9254         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9255         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9256         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
9258         * math/mul_split.h: New file.
9260 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9262         * math/Makefile (libm-gen-calls): Move
9263         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9264         (libm-calls): Remove above.
9266         * math/s_cacos_template.c: Update using type-generic macros.
9267         * math/s_cacosh_template.c: Likewise.
9268         * math/s_ccos_template.c: Likewise.
9269         * math/s_ccosh_template.c: Likewise.
9271         * math/s_cacosf.c: Removed.
9272         * math/s_cacos.c: Removed.
9273         * math/s_cacosl.c: Removed.
9274         * math/s_cacoshf.c: Removed.
9275         * math/s_cacosh.c: Removed.
9276         * math/s_cacoshl.c: Removed.
9277         * math/s_ccosf.c: Removed.
9278         * math/s_ccos.c: Removed.
9279         * math/s_ccosl.c: Removed.
9280         * math/s_ccoshf.c: Removed.
9281         * math/s_ccosh.c: Removed.
9282         * math/s_ccoshl.c: Removed.
9284         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9285         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9286         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9287         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9288         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9289         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9291         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9292         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9293         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9294         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9296         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9297         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9298         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9299         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9301 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9303         * s_cacos_template.c: Copy of s_cacos.c.
9304         * s_cacosh_template.c: Copy of s_cacosh.c.
9305         * s_ccos_template.c: Copy of s_ccos.c.
9306         * s_ccosh_template.c: Copy of s_ccosh.c.
9308 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9310         * stdlib/tst-strtod-round-skeleton.c:
9311         Refactored from tst-strtod-round.c.
9313         (L_): New macro to apply literal modifier.
9314         (FNPFX): New macro to select str or wcs prefix.
9315         (CHAR): New macro to choose wchar_t or char.
9316         (STRM): New macro to choose printf for tested character type.
9318         (STRTO): New macro to choose appropriate string -> real function.
9319         (FNPFXS): Stringitized version of FNPFX.
9320         (STR): Support for above macro.
9321         (STRX): Likewise.
9323         (TEST): Update with above macros.
9324         (test): Likewise.
9325         (GEN_ONE_TEST): Likewise.
9326         (test_in_one_mode): Likewise.
9328         * stdlib/tst-strtod-round.c: New file.
9329         * wcsmbs/tst-wcstod-round.c: New file.
9331         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9332         (tst-wcstod-round): Add libm depencency for fesetround.
9334 2016-08-19  Zack Weinberg  <zackw@panix.com>
9336         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9338 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9340         [BZ #20477]
9341         * resolv/res_hconf.c (do_init): Use atomic access.
9342         * resolv/res_hconf.h: Add comments.
9343         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9344         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9347 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9349         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9350         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9351         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9352         Likewise.
9354 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9356         [BZ #16907]
9357         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9358         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9359         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9360         (__attribute__): Remove definition.
9362 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9364         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9365         Remove unused sqrtl declaration.
9367 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9369         * math/Makefile: (gen-libm-templates.stmp): New rule.
9370         (libm-calls): Move carg conj cimag and cabs into ...
9371         (gen-libm-calls): New variable.
9372         (generated): Inform Make objects from gen-libm-calls
9373         may be generated.
9375         * sysdeps/generic/math-type-macros.h: New file.
9376         * sysdeps/generic/math-type-macros-float.h: Likewise.
9377         * sysdeps/generic/math-type-macros-double.h: Likewise.
9378         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9379         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9380         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9382         * math/cabs.c: Refactor into
9383         * math/cabs_template.c: new file.
9384         * math/cabsf.c: Removed.
9385         * math/cabsl.c: Removed.
9386         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9387         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9389         * math/carg.c: Refactor into
9390         * math/carg_template.c: new file.
9391         * math/cargf.c: Removed.
9392         * math/cargl.c: Removed.
9393         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9394         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9396         * math/conj.c: Refactor into
9397         * math/conj_template.c: new file.
9398         * math/conjf.c: Removed.
9399         * math/conjl.c: Removed.
9400         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9401         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9403         * math/cimag.c: Refactor into
9404         * math/cimag_template.c: new file.
9405         * math/cimagf.c: Removed.
9406         * math/cimagl.c: Removed.
9407         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9408         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9410         * math/cimag.c: Refactor into
9411         * math/cimag_template.c: new file.
9412         * math/cimagf.c: Removed.
9413         * math/cimagl.c: Removed.
9414         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9415         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9417 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9419         Reduce time to expected nptl/tst-once5 failure.
9420         * nptl/tst-once5.cc (TIMEOUT): Define.
9422 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9424         [BZ #20452]
9425         Avoid additional copies of objects in libc.a in static libraries.
9426         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9427         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9428         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9429         rt-sysdep.
9430         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9431         Add nptl-sysdep.
9432         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9433         Add ptw-sysdep.
9434         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9435         rt-sysdep.
9436         * sysdeps/unix/sysv/linux/alpha/Makefile
9437         (libpthread-shared-only-routines): Add ptw-sysdep,
9438         ptw-sigprocmask, ptw-rt_sigaction.
9439         * sysdeps/unix/sysv/linux/ia64/Makefile
9440         (librt-shared-only-routines): Add rt-sysdep.
9441         * sysdeps/unix/sysv/linux/i386/Makefile
9442         (libpthread-shared-only-routines): Add libc-do-syscall.
9443         * sysdeps/unix/sysv/linux/microblaze/Makefile
9444         (libpthread-shared-only-routines): Add sysdep.
9445         * sysdeps/unix/sysv/linux/powerpc/Makefile
9446         (librt-shared-only-routines): Add rt-sysdep.
9447         (libpthread-shared-only-routines): Add sysdep.
9448         * sysdeps/unix/sysv/linux/s390/Makefile
9449         (librt-shared-only-routines): Add rt-sysdep.
9450         * sysdeps/unix/sysv/linux/sparc/Makefile
9451         (librt-shared-only-routines): Add rt-sysdep.
9452         (libpthread-shared-only-routines): Add sysdep.
9453         * sysdeps/unix/sysv/linux/tile/Makefile
9454         (libpthread-shared-only-routines): Likewise.
9456 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9458         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9459         Mask implicit bit out of unpacked value.
9460         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9462         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9464         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9466         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9468         * sysdeps/s390/fpu/fesetexcept.c: New file.
9470         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9471         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9472         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9474         * sysdeps/mips/fpu/fesetexcept.c: New file.
9476         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9478         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9480         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9482         * sysdeps/arm/fesetexcept.c: New file.
9484         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9486         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9488         * math/fesetexcept.c: New file.
9489         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9490         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9491         * math/fenv.h: Define
9492         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9493         <bits/libc-header-start.h> instead of including <features.h>.
9494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9495         declaration.
9496         * manual/arith.texi (fesetexcept): Document function.
9497         * math/Versions (fesetexcept): New libm symbol at version
9498         GLIBC_2.25.
9499         * math/Makefile (libm-support): Add fesetexcept.
9500         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9501         * math/test-fesetexcept.c: New file.
9502         * math/test-fesetexcept-traps.c: Likewise.
9503         * sysdeps/nacl/libm.abilist: Update.
9504         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9505         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9506         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9507         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9508         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9509         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9510         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9511         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9512         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9513         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9514         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9515         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9517         Likewise.
9518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9519         Likewise.
9520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9521         Likewise.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9523         Likewise.
9524         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9537 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9539         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9540         New.
9541         (do_test): Apply default_stack_size_in_mb if not set.
9542         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9544 2016-08-15  Andreas Schwab  <schwab@suse.de>
9546         [BZ #20435]
9547         CVE-2016-6323
9548         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9549         as .cantunwind.
9551 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9553         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9554         comment from fraiseexcpt.c.
9556         * math/test-fexcept.c (feraiseexcept_exact): New function.
9557         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9558         (test_except): Likewise.
9560 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9562         [BZ #20455]
9563         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9564         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9565         to be restored.
9567         * math/test-fexcept-traps.c: New file.
9568         * math/test-fexcept.c: Likewise.
9569         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9570         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9571         macro.
9572         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9573         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9575 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9577         * include/atomic.h (atomic_fetch_and_relaxed,
9578         atomic_fetch_and_release, atomic_fetch_or_release,
9579         atomic_fetch_xor_release): New.
9581 2016-08-06  Christian Seiler  <christian@iwakd.de>
9583         [BZ #20444]
9584         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9585         MACH_PORT_NULL.
9587 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9589         * math/s_fdim.c: Avoid alias renamed.
9590         * math/s_fdimf.c: Likewise.
9591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9592         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9593         Add s_fdimf-vis3, s_fdim-vis3.
9594         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9595         (CFLAGS-s_fdim-vis3.c): Likewise.
9596         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9597         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9599 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9602         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9603         Remove s_fdimf-vis3, s_fdim-vis3.
9604         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9605         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9612         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9613         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9615 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9617         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9618         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9619         -Wa,-Av9a -mvis.
9621 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9623         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9624         LIT() to individual constants in simple expressions
9625         after splitting on spaces.
9626         (_apply_lit): Rename replaced version, and use it to
9627         apply to what appears to be a token.
9629         * math/libm-test.inc: Fix many, many issues with
9630         spacing.
9632 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9634         * math/math.h: Move comment about <bits/mathdef.h> definitions
9635         above inclusion of <bits/mathdef.h>.  Do not mention
9636         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9638 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9640         * include/atomic.h (atomic_exchange_relaxed): New.
9642 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9644         * math/e_scalb.c: Do not include <fenv.h>.
9645         (invalid_fn): Do calculation resulting in NaN instead of raising
9646         FE_INVALID and returning a NaN explicitly.
9647         * math/e_scalbf.c: Do not include <fenv.h>.
9648         (invalid_fn): Do calculation resulting in NaN instead of raising
9649         FE_INVALID and returning a NaN explicitly.
9650         * math/e_scalbl.c: Do not include <fenv.h>.
9651         (invalid_fn): Do calculation resulting in NaN instead of raising
9652         FE_INVALID and returning a NaN explicitly.
9654 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9656         * po/de.po: Updated from Translation Project.
9657         * po/fi.po: Likewise.
9658         * po/sv.po: Likewise.
9660 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9662         [BZ #20452]
9663         Use sysdep.o from libc.a in static libraries.
9664         * sysdeps/unix/sysv/linux/i386/Makefile
9665         (libpthread-shared-only-routines): Add sysdep.
9666         (librt-shared-only-routines): Likewise.
9668 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9670         * math/tgmath.h (nextdown): Define if
9671         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9672         (nextup): Likewise.
9674         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9675         macro.
9676         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9677         Document.
9678         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9679         Document macro.
9680         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9681         (exp10f): Likewise.
9682         (exp10l): Likewise.
9683         * math/bits/mathcalls.h (exp10): Declare if
9684         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9686         * manual/arith.texi (nextup): Fix typo in last change.
9688 2016-08-03  Zack Weinberg  <zackw@panix.com>
9690         [BZ #19239]
9691         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9692         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9693         define major, minor, and makedev to issue deprecation warnings on use.
9694         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9695         previously-activated deprecation warnings for these macros and prevent
9696         subsequent inclusions of this header from having any effect.
9697         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9698         including <sys/sysmacros.h>, and undefine it again afterward.
9700 2016-08-03  Zack Weinberg  <zackw@panix.com>
9702         * sysdeps/generic/sys/sysmacros.h: Delete file.
9703         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9704         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9705         * bits/sysmacros.h: ... here; this encoding is now the generic
9706         encoding.  Now defines only the following macros:
9707         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9708         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9709         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9711         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9712         bits/sysmacros.h and the above new macros to generate the
9713         public implementations of major, minor, and makedev.
9714         * misc/tst-makedev.c: New test.
9715         * include/sys/sysmacros.h: New wrapper.
9717         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9718         (routines): Add makedev.
9719         (tests): Add tst-makedev.
9720         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9721         gnu_dev_makedev.
9722         * posix/Makefile (headers): Remove sys/sysmacros.h.
9723         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9725         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9726         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9727         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9728         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9729         * sysdeps/unix/sysv/linux/arm/libc.abilist
9730         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9731         * sysdeps/unix/sysv/linux/i386/libc.abilist
9732         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9733         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9734         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9735         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9736         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9737         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9738         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9739         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9740         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9745         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9746         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9747         * sysdeps/unix/sysv/linux/sh/libc.abilist
9748         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9749         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9752         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9753         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9754         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9755         Add GLIBC_2.25.
9757         * include/features.h (__glibc_clang_prereq): New macro.
9758         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9759         (__attribute_deprecated_msg__): New macros.
9761 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9763         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9764         macro.
9765         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9766         * manual/arith.texi (issignaling): Document as ISO from TS
9767         18661-1:2014.
9768         (nextup): Likewise.
9769         (nextupf): Likewise.
9770         (nextupl): Likewise.
9771         (nextdown): Likewise.
9772         (nextdownf): Likewise.
9773         (nextdownl): Likewise.
9774         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9775         macro.
9776         * math/math.h: Define
9777         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9778         <bits/libc-header-start.h> instead of including <features.h>.
9779         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9780         [__USE_GNU].
9781         * math/bits/mathcalls.h (nextdown): Declare if
9782         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9783         (nextup): Likewise.
9784         (__issignaling): Likewise.
9786 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9788         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9789         check, and remove __glibc_likely hint
9790         from FP_INFINITE check.
9791         * s_csinhf.c (__csinhf): Likewise.
9793         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9794         hint from FP_INFINITE check.
9795         * s_csinhl.c (__csinhl): Likewise.
9797 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9799         * math/Makefile (libm-calls): Insert F placeholder into
9800         object names.  Move w_lgamma_compat* routines into
9801         (libm-compat-calls): New variable.
9802         (libm-compat-calls-ldouble-yes): New variable.
9803         (calls): Insert F placeholder.
9804         (generated): Redefine using new type-foreach macro call.
9805         (routines): Likewise.
9807         (types): New variable to hold a list of symbolic names
9808         for each type supported by the target machine.
9809         (libm-routines): Redefine using new types variable.
9810         (type-foreach): macro to replace fooF with the
9811         appropriately suffixed foo for each types.
9813         (type-ldouble-suffix): New variable.
9814         (type-ldouble-routines): Likewise.
9815         (type-ldouble-yes): Likewise.
9816         (type-double-suffix): Likewise.
9817         (type-double-routines): Likewise.
9818         (type-float-suffix): Likewise.
9819         (type-float-routines): Likewise.
9821         (dbl-only-routines): Remove.
9822         (long-c-yes): Likewise.
9823         (long-m-routines): Likewise.
9824         (long-m-support): Likewise.
9825         (long-m-yes): Likewise.
9826         (test-longdouble-yes): Likewise.
9828         (test-float.o): Simplify by increasing the scope of the
9829         recipe which adds libm-test.stmp to the vector types.
9830         (test-ifloat.o): Likewise.
9831         (test-float-finite.o): Likewise.
9832         (test-double.o): Likewise
9833         (test-idouble.o): Likewise.
9834         (test-double-finite.o): Likewise.
9835         (test-ldouble.o): Likewise
9836         (test-ildoubl.o): Likewise.
9837         (test-ldouble-finite.o): Likewise.
9839         (libm-tests): Redefine type tests using foreach and the
9840         list of types in types.
9842         (CPPFLAGS-test-ildoubl.c): Rename to
9843         (CPPFLAGS-test-ildouble.c): New variable
9845         * math/test-ildoubl.c: Rename to
9846         * math/test-ildouble.c: New file.
9848 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9850         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9851         Use fabsl instead of fabs.
9852         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9853         Likewise.
9854         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9855         Add long double suffix to constant to ensure proper
9856         promotion to long double.
9858 2016-08-03  Tom Tromey  <tom@tromey.com>
9860         [BZ #20311]
9861         * nptl_db/Makefile (headers): Add proc_service.h.
9862         * nptl_db/proc_service.h: Add include guard.  Use
9863         __BEGIN/__END_DECLS.
9864         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9865         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9866         arguments.
9869 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9871         [BZ #17730]
9872         Avoid using memalign for TCB allocations.
9873         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
9874         (_dl_allocate_tls_storage): Use malloc and manual alignment.
9875         Avoid alignment gap in the TLS_DTV_AT_TP case.
9876         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
9877         determine the pointer to free.
9878         * nptl/tst-tls3-malloc.c: New test.
9879         * nptl/Makefile (tests): Add it.
9880         (tst-tls3-malloc): Link with libdl, libpthread.
9881         (LDFLAGS-tst-tls3-malloc): Set.
9882         (tst-tls3-malloc.out): Depend on DSO used in test.
9884 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9886         [BZ #17730]
9887         Avoid using memalign for TLS allocations.
9888         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
9889         is_static member with to_free member.
9890         (union dtv): Use struct dtv_pointer.
9891         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
9892         dtv_pointer instead of is_static.
9893         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
9894         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
9895         instead of val.
9896         (allocate_dtv_entry): New function.
9897         (allocate_and_init): Return struct dtv_pointer.  Call
9898         allocate_dtv_entry instead of __libc_memalign.
9899         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
9900         instead of val.
9901         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
9902         instead of is_static.  Adjust call to allocate_and_init.
9903         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
9904         struct dtv_pointer instead of val.
9906 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9908         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
9909         (MALLOC_ALIGN_MASK): Move ...
9910         * malloc/malloc-internal.h: ... to here.
9911         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
9913 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9915         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
9916         (UDP_ENCAP_GTP1U): Likewise.
9918         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
9919         (PF_MAX): Update value.
9920         (AF_QIPCRTR): New macro.
9922 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9924         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
9925         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9926         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9927         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9928         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9929         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9930         s_truncf-vis3, s_trunc-vis3.
9931         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9932         (CFLAGS-s_ceil-vis3.c): Likewise.
9933         (CFLAGS-s_floorf-vis3.c): Likewise.
9934         (CFLAGS-s_floor-vis3.c): Likewise.
9935         (CFLAGS-s_truncf-vis3.c): Likewise.
9936         (CFLAGS-s_trunc-vis3.c): Likewise.
9937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
9938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
9940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
9942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
9944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9945         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
9946         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9947         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
9948         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9950 2016-08-02  David S. Miller  <davem@davemloft.net>
9952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9953         (__nearbyint_vis3): Don't check for sNaN before float register is
9954         loaded with the incoming argument.
9955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9956         (__nearbyintf_vis3): Likewise.
9957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
9958         Likewise.
9959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
9960         Likewise.
9962         * string/test-strncmp.c (do_test_limit): Make sure the test data
9963         stream is aligned as required for the type "CHAR".
9964         (do_test): Likewise.
9966 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9968         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
9969         by beq instructions jumping to the end of the function.
9970         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
9971         clobber list. Use "i" constraint instead of "X".
9972         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
9973         of "X".
9975 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
9977         * bits/libc-header-start.h: New file.
9978         * Makefile (headers): Add bits/libc-header-start.h.
9979         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
9980         (__GLIBC_USE): New macro.
9981         * libio/stdio.h: Define
9982         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9983         <bits/libc-header-start.h> instead of including <features.h>.
9984         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
9985         (open_memstream): Likewise.
9986         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
9987         (__asprintf): Likewise.
9988         (asprintf): Likewise.
9989         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
9990         (getdelim): Likewise.
9991         (getline): Likewise.
9992         * string/string.h: Define
9993         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9994         <bits/libc-header-start.h> instead of including <features.h>.
9995         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
9996         (strndup): Likewise.
9997         * wcsmbs/wchar.h: Define
9998         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9999         <bits/libc-header-start.h> instead of including <features.h>.
10000         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10001         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10003 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10005         Support linking against compatibility symbols, for use in tests.
10006         * include/libc-symbols.h (symbol_version_reference): New macro.
10007         (symbol_version): Use it.
10008         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10009         (compat_symbol): Use compat_symbol_reference.
10010         (compat_symbol_1, compat_symbol_2): Remove.
10011         (compat_symbol_reference, compat_symbol_reference_1)
10012         (compat_symbol_reference_2): New macro.  Use
10013         symbol_version_reference.
10015 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10017         [BZ #19469]
10018         * malloc/Makefile (CPPFLAGS): Compile tests with
10019         -DTEST_NO_MALLOPT.
10020         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10022 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10024         [BZ #20033]
10025         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10026         finite version.
10027         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10028         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10029         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10030         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10031         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10032         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10033         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10034         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10035         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10036         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10038         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10039         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10040         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10041         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10042         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10043         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10044         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10045         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10046         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10047         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10048         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10049         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10050         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10051         in zero power.
10053 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10055         [BZ #20370]
10056         * malloc/arena.c (get_free_list): Update comment.  Assert that
10057         arenas on the free list have no attached threads.
10058         (remove_from_free_list): New function.
10059         (reused_arena): Call it.
10061 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10063         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10064         when it is a NaN.
10065         [_IEEE_FP_INEXACT] Remove.
10066         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10067         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10068         when it is a NaN.
10069         [_IEEE_FP_INEXACT] Remove.
10070         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10071         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10072         when it is a NaN.
10073         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10074         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10075         when its absolute value is greater than 0x1.0p52.
10076         [_IEEE_FP_INEXACT] Remove.
10077         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10078         when its absolute value is greater than 0x1.0p23.
10079         [_IEEE_FP_INEXACT] Remove.
10081 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10083         * version.h (RELEASE): Set to "development"
10084         (VERSION): Set to 2.24.90.
10085         * NEWS: Add 2.25 section.
10087         * version.h (RELEASE): Set to "stable"
10088         (VERSION): Set to 2.24.
10089         * include/features.h (__GLIBC_MINOR__): Set to 24.
10091         * NEWS: Add 2.24 fixed bugs.
10092         * po/libc.pot: Regenerate.
10094 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10097         [$(subdir) = math] (libm-sysdep_routines): Remove.
10098         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10099         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10100         s_truncf-vis3, s_trunc-vis3.
10101         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10103         file.
10104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10134         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10135         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10136         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10137         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10138         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10139         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10140         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10141         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10142         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10143         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10144         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10145         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10146         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10148 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10150         [BZ #20384]
10151         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10152         test-double-libmvec-sincos-avx-main.o,
10153         test-double-libmvec-sincos-avx2-main.o,
10154         test-double-libmvec-sincos-main.o,
10155         test-float-libmvec-sincosf-avx-main.o,
10156         test-float-libmvec-sincosf-avx2-main.o and
10157         test-float-libmvec-sincosf-main.o.
10158         test-float-libmvec-sincosf-avx512-main.o.
10159         ($(objpfx)test-double-libmvec-sincos): Also link with
10160         $(objpfx)test-double-libmvec-sincos-main.o.
10161         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10162         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10163         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10164         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10165         ($(objpfx)test-float-libmvec-sincosf): Also link with
10166         $(objpfx)test-float-libmvec-sincosf-main.o.
10167         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10168         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10169         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10170         test-double-libmvec-sincos-avx512-main.o and
10171         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10172         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10173         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10174         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10175         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10176         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10177         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10178         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10179         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10180         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10181         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10182         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10183         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
10184         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
10185         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
10186         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
10187         -DREQUIRE_AVX2.
10188         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
10189         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
10190         -DREQUIRE_AVX512F.
10191         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
10192         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
10193         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10194         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
10195         file.
10196         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
10197         Likewise.
10198         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
10199         Likewise.
10200         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
10201         Likewise.
10202         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
10203         Likewise.
10204         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
10205         Likewise.
10206         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
10207         Likewise.
10208         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
10209         Likewise.
10211 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
10213         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
10215 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
10217         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
10218         and typo in a comment about AT_HWCAP entry.
10220 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10222         * sysdeps/aarch64/libm-test-ulps: Updated.
10224 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10226         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
10227         of r13 as it is not restored in mvcle case.
10229 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
10231         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
10232         Rename "ret" to "__ret".
10233         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
10234         inline_syscall5, inline_syscall6): Likewise.
10236 2016-07-19   Will Newton  <will.newton@gmail.com>
10238         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
10239         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
10240         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
10241         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
10242         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
10244 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
10246         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
10247         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
10248         -mfpmath=387 with $(rtld-CFLAGS).
10249         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
10250         $(rtld-CFLAGS).
10252 2016-07-18   Ross Burton  <ross.burton@intel.com>
10253              Khem Raj  <raj.khem@gmail.com>
10255         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
10256         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
10257         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
10258         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
10259         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
10260         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10261         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10262         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10263         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10264         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10265         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10266         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10267         R_METAG_TLS_DTPOFF): New.
10269 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10270             Matt Clay  <mclay@lycos.com>
10272         [BZ #20357]
10273         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10274         to call __mpsin/__mpcos and to negate values.
10275         * math/auto-libm-test-in: Add test.
10276         * math/auto-libm-test-out: Regenerate.
10278 2016-07-18  Zack Weinberg  <zackw@panix.com>
10280         * grp/Makefile: Don't install the internal header grp-merge.h.
10282 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10284         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10286 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10288         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10290 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10292         [BZ #15368]
10293         * sysdeps/unix/sysv/linux/nptl-signals.h
10294         (__nptl_clear_internal_signals): New function.
10295         (__libc_signal_block_all): Likewise.
10296         (__libc_signal_block_app): Likewise.
10297         (__libc_signal_restore_set): Likewise.
10298         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10299         implementation.
10300         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10301         the cached pid/tid value in pthread structure.
10303 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10305         [BZ #20347]
10306         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10308 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10310         [BZ #20348]
10311         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10312         preadv64, pwrite64 and pwritev64.
10314 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10316         [BZ #20350]
10317         * posix/tst-preadwrite.c: Renamed to ...
10318         * posix/tst-preadwrite-common.c: This.
10319         (PREAD): Removed.
10320         (PWRITE): Likewise.
10321         (STRINGIFY): Likewise.
10322         (STRINGIFY2): Likewise.
10323         (do_prepare): Make it static and remove function arguments.
10324         (do_test): Likewise.
10325         (PREPARE): Updated.
10326         (TEST_FUNCTION): New.
10327         (name): Make it static.
10328         (fd): Likewise.
10329         (do_prepare): Use create_temp_file.
10330         (do_test): Renamed to ...
10331         (do_test_with_offset): This.  Make it static and accept offset.
10332         Properly check return value of PWRITE and PREAD.  Return bytes
10333         read.  Don't close fd nor unlink name.
10334         * posix/tst-preadwrite.c: Rewrite.
10335         * posix/tst-preadwrite64.c: Likewise.
10337 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10339         [BZ #20309]
10340         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10341         -mtls-dialect=gnu2 works.
10342         * configure: Regenerated.
10343         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10344         (tests): Add tst-gnu2-tls1.
10345         (modules-names): Add tst-gnu2-tls1mod.
10346         ($(objpfx)tst-gnu2-tls1): New.
10347         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10348         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10349         * elf/tst-gnu2-tls1.c: New file.
10350         * elf/tst-gnu2-tls1mod.c: Likewise.
10351         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10352         bytes for push in the PLT entry to align the stack.
10354 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10356         [BZ #20349]
10357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10359 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10361         [BZ #18707]
10362         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10363         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10365 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10367         * sysdeps/unix/sysv/linux/sysdep.h
10368         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10369         guards.
10370         * misc/tst-preadvwritev-common.c: New file.
10371         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10372         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10373         a check for files larger than 2GB.
10375         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10376         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10377         * sysdeps/unix/sysv/linux/pread.c
10378         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10379         __OFF_T_MATCHES_OFF64_T.
10380         * sysdeps/unix/sysv/linux/pread64.c
10381         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10382         * sysdeps/unix/sysv/linux/preadv.c
10383         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10384         * sysdeps/unix/sysv/linux/preadv64.c
10385         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10386         * sysdeps/unix/sysv/linux/pwrite.c
10387         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10388         * sysdeps/unix/sysv/linux/pwrite64.c
10389         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10390         * sysdeps/unix/sysv/linux/pwritev.c
10391         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10392         * sysdeps/unix/sysv/linux/pwritev64.c
10393         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10395 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10397         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10398         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10400 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10402         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10404 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10406         [BZ #20240]
10407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10408         (CFLAGS-s_modf-ppc32.c): New variable.
10409         (CFLAGS-s_modff-ppc32.c): Likewise.
10410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10411         (CFLAGS-s_modf-ppc64.c): Likewise.
10412         (CFLAGS-s_modff-ppc64.c): Likewise.
10414 2016-07-07  Andreas Schwab  <schwab@suse.de>
10416         [BZ #20263]
10417         * nptl/tst-robust10.c: New test.
10418         * nptl/Makefile (tests): Add tst-robust10.
10420 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10422         [BZ #20263]
10423         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10425 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10427         * sysdeps/s390/linkmap.h (struct link_map_machine):
10428         Remove member gotplt and add member jmprel.
10429         * sysdeps/s390/s390-32/dl-machine.h
10430         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10431         instead of gotplt with &got[3].
10432         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10433         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10435 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10437         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10439 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10441         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10442         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10443         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10444         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10445         * libio/vtables.c (_IO_vtable_check)
10446         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10447         * libio/libioP.h (IO_set_accept_foreign_vtables)
10448         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10450 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10452         [BZ #20314]
10453         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10454         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10455         $(common-objpfx)cmath.
10456         ($(common-objpfx)cstdlib): New target.
10457         ($(common-objpfx)cmath): Likewise.
10459 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10461         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10463 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10465         [BZ #20327]
10466         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10467         are not part of the string.
10469 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10471         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10472         * nptl/tst-cancel4-common.h (fifoname): New variable.
10473         (fifofd): Likewise.
10474         (cl_fifo): New function.
10475         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10476         SIGINT.
10477         (tf_open): Add early cancel test.
10479 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10481         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10483 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10485         * sysdeps/generic/ldsodefs.h
10486         (dl_symbol_visibility_binds_local_p): New inline function.
10487         * elf/dl-addr.c (determine_info): Treat hidden and internal
10488         symbols as local.
10489         * elf/dl-lookup.c (do_lookup_x): Likewise.
10490         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10492 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10494         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10495         invalid exception for a sNaN input.
10496         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10497         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10498         (__nearbyint_vis3): Likewise
10499         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10500         (__nearbyintf_vis3): Likewise
10501         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10502         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10503         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10504         Likewise.
10505         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10506         Likewise.
10508 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10510         [BZ #20139]
10511         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10512         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10513         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10514         2.24 or above.
10515         (HAVE_AVX512_ASM_SUPPORT): Removed.
10516         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10517         * sysdeps/x86_64/configure: Regenerated.
10518         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10519         check unconditional.
10520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10521         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10522         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10523         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10524         Likewise.
10525         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10526         Likewise.
10527         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10528         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10529         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10530         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10531         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10532         Likewise.
10533         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10534         Likewise.
10535         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10536         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10537         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10538         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10539         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10540         Likewise.
10541         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10542         Likewise.
10543         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10544         Likewise.
10545         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10546         Likewise.
10547         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10548         Likewise.
10549         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10550         Likewise.
10551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10552         Likewise.
10553         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10554         Likewise.
10555         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10556         Likewise.
10557         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10558         Likewise.
10559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10560         Likewise.
10562 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10564         [BZ #20024]
10565         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10566         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10567         of this implementation of vector function.
10568         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10569         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10571         Likewise.
10572         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10573         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10574         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10575         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10576         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10577         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10578         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10579         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10580         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10581         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10582         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10583         for testing vector sincos with fixed ABI.
10584         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10585         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10586         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10587         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10588         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10590         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10591         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10592         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10593         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10594         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10595         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10596         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10597         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10598         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10599         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10601 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10603         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10605 2016-06-30  Anton Blanchard  <anton@samba.org>
10607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10608         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10609         s_sinf-ppc64.
10610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10613         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10615 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10618         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10619         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10620         e_expf-ppc64.
10621         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10622         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10623         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10624         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10626 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10628         [BZ #20277]
10629         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10630         when SHARED is defined.
10632 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10634         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10635         (index_arch_Prefer_ERMS): Likewise.
10636         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10637         __memcpy_erms for Prefer_ERMS.
10638         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10639         (__memmove_erms): Enabled for libc.a.
10640         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10641         __memmove_erms or Prefer_ERMS.
10642         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10643         __mempcpy_erms for Prefer_ERMS.
10644         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10645         __memset_erms for Prefer_ERMS.
10647 2016-06-30  Andreas Schwab  <schwab@suse.de>
10649         [BZ #20262]
10650         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10651         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10652         of memory.
10654 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10656         [BZ #18645]
10657         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10658         (test-extras): Add tst-cleanupx4aux.
10659         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10660         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10661         tst-cleanupx4aux.o.
10662         * nptl/tst-cleanupx4aux.c: New file.
10664 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10666         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10668 2016-06-29  Andreas Schwab  <schwab@suse.de>
10670         [BZ #20260]
10671         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10672         address before the beginning of the string as an integer to avoid
10673         array-bounds warning.
10675 2016-06-28  Richard Henderson  <rth@redhat.com>
10677         * elf/elf.h (EM_BPF): New.
10678         (EM_NUM): Update.
10679         (R_BPF_NONE, R_BPF_MAP_FD): New.
10681         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10682         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10683         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10684         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10685         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10686         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10687         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10688         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10689         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10690         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10691         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10692         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10693         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10694         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10695         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10696         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10697         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10698         (EM_NUM): Update.
10700 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10702         [BZ #18960]
10703         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10704         Set _nl_current_LC_CATEGORY_used to two instead of one.
10706 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10708         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10709         (do_test): ... this.
10710         (TEST_FUNCTION): New macro.
10711          Include test-skeleton.c.
10712         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10713         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10715 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10717         [BZ #15479]
10718         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10719         floating-point environment rather than just control word.
10720         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10721         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10722         floating-point environment, with "invalid" exceptions merged in,
10723         rather than just control word.
10724         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10725         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10726         "inexact" exceptions.
10728         [BZ #15479]
10729         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10730         floating-point environment rather than just control word.
10731         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10732         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10733         floating-point environment, with "invalid" exceptions merged in,
10734         rather than just control word.
10735         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10736         * math/libm-test.inc (floor_test_data): Do not allow spurious
10737         "inexact" exceptions.
10739         [BZ #15479]
10740         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10741         floating-point environment rather than just control word.
10742         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10743         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10744         floating-point environment, with "invalid" exceptions merged in,
10745         rather than just control word.
10746         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10747         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10748         "inexact" exceptions.
10750 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10752         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10753         __libc_vfork.
10754         (__vfork) [IS_IN (libc)]: Remove alias.
10755         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10756         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10757         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10759 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10761         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10762         of atomic_compare_and_exchange_bool_rel.
10763         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10764         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10765         catomic_compare_and_exchange_bool_rel): Remove.
10766         * sysdeps/aarch64/atomic-machine.h
10767         (atomic_compare_and_exchange_bool_rel): Likewise.
10768         * sysdeps/alpha/atomic-machine.h
10769         (atomic_compare_and_exchange_bool_rel): Likewise.
10770         * sysdeps/arm/atomic-machine.h
10771         (atomic_compare_and_exchange_bool_rel): Likewise.
10772         * sysdeps/mips/atomic-machine.h
10773         (atomic_compare_and_exchange_bool_rel): Likewise.
10774         * sysdeps/microblaze/atomic-machine.h
10775         ( __arch_compare_and_exchange_bool_8_rel,
10776         __arch_compare_and_exchange_bool_16_rel): Likewise.
10777         * sysdeps/powerpc/atomic-machine.h
10778         ( __arch_compare_and_exchange_bool_8_rel,
10779         __arch_compare_and_exchange_bool_16_rel): Likewise.
10780         * sysdeps/powerpc/powerpc32/atomic-machine.h
10781         ( __arch_compare_and_exchange_bool_32_rel,
10782         __arch_compare_and_exchange_bool_64_rel): Likewise.
10783         * sysdeps/powerpc/powerpc64/atomic-machine.h
10784         ( __arch_compare_and_exchange_bool_32_rel,
10785         __arch_compare_and_exchange_bool_64_rel): Likewise.
10786         * sysdeps/tile/atomic-machine.h
10787         (atomic_compare_and_exchange_bool_rel): Likewise.
10789 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10791         [BZ #20296]
10792         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10793         when either argument is a NaN.
10794         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10795         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10797         * math/libm-test.inc (snan_value_ld): New macro.
10798         (isgreater_test_data): Add sNaN tests.
10799         (isgreaterequal_test_data): Likewise.
10800         (isless_test_data): Likewise.
10801         (islessequal_test_data): Likewise.
10802         (islessgreater_test_data): Likewise.
10803         (isunordered_test_data): Likewise.
10804         (nextafter_test_data): Likewise.
10805         (nexttoward_test_data): Likewise.
10806         (remainder_test_data): Likewise.
10807         (remquo_test_data): Likewise.
10808         (significand_test_data): Likewise.
10809         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10811 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10813         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10814         environment macros are defined.
10815         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10817 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10819         [BZ #20191]
10820         Implement vtable verification in libio.
10821         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10822         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10823         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10824         _IO_new_file_init_internal instead of _IO_file_init.
10825         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10826         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10827         * libio/Makefile (routines): Add vtables.
10828         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10829         (_IO_init): Remove, not for internal use.
10830         (_IO_init_internal): Declare, internal replacement for _IO_init.
10831         (_IO_file_init): Remove, not for internal use.
10832         (_IO_new_file_init): Remove, not for internal use.
10833         (_IO_new_file_init_internal): Declare, internal replacement for
10834         _IO_new_file_init.
10835         (_IO_old_file_init): Remove, not for internal use.
10836         (_IO_old_file_init_internal): Declare, internal replacement for
10837         _IO_old_file_init.
10838         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10839         internal use.
10840         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10841         Declare.
10842         (libio_vtable): New macro.
10843         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10844         functions.
10845         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10846         _IO_new_file_init.
10847         (_IO_new_file_init): New externally visible wrapper which disables
10848         vtable verification.
10849         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10850         Define as vtables.
10851         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10852         (_IO_init): New externally visible wrapper which disables
10853         vtable verification.
10854         * libio/iofdopen.c (_IO_new_fdopen): Call
10855         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
10856         comment.
10857         * libio/iofopen.c (__fopen_internal): Call
10858         _IO_new_file_init_internal instead of _IO_file_init.
10859         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10860         Define as vtables.
10861         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10862         _IO_new_file_init_internal instead of _IO_file_init.
10863         * libio/iopopen.c (_IO_new_popen): Likewise.
10864         (_IO_proc_jumps): Define as vtable.
10865         * libio/iovdprintf.c (_IO_vdprintf): Call
10866         _IO_new_file_init_internal instead of _IO_file_init.
10867         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10868         (__open_memstream): Call _IO_init_internal instead of _IO_init.
10869         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10870         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10871         _IO_old_file_init.
10872         (_IO_old_file_init): New externally visible wrapper which disables
10873         vtable verification.
10874         (_IO_old_file_jumps): Define as vtable.
10875         * libio/oldiofdopen.c (_IO_old_fdopen): Call
10876         _IO_old_file_init_internal instead of _IO_old_file_init.
10877         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10878         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10879         (_IO_old_proc_jumps): Define as vtable.
10880         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
10881         Define as vtables.
10882         * libio/vtables.c: New file.
10883         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
10884         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
10885         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
10886         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
10887         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
10888         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
10889         instead of _IO_init.
10891 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10893         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
10895 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10897         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
10898         potentially unused.
10900 2016-06-22  Florian Weimer  <fweimer@redhat.com>
10902         * test-skeleton.c (write_message): New function.
10903         * malloc/tst-mallocfork2.c (write_message): Remove.
10904         * debug/tst-longjmp_chk2.c (write_indented): New function.
10905         (write_message): Remove.
10906         (stackoverflow_handler): Call write_indented.
10908 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
10910         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
10911         "inexact" exceptions after fnstenv.
10912         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10913         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10914         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10916 2015-06-22  Zack Weinberg  <zackw@panix.com>
10918         * sysdeps/generic/bits/hwcap.h: Moved to ...
10919         * bits/hwcap.h: Here.
10921 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
10923         * sysdeps/aarch64/memcpy.S (memcpy):
10924         Further tuning for performance.
10926 2016-06-21  Florian Weimer  <fweimer@redhat.com>
10928         [BZ #20284]
10929         * malloc/arena.c (reused_arena): Do not return NULL if we start
10930         out with a non-corrupted arena.
10932 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10934         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
10935         * misc/tst-preadvwritev.c: New file.
10936         * misc/tst-preadvwritev64.c: Likewise.
10937         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
10938         usage.
10939         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
10940         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
10941         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
10942         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
10944 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
10946         [BZ #19654]
10947         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10948         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
10949         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
10950         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
10951         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
10952         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
10953         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
10954         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
10955         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
10956         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
10957         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
10958         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
10959         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
10960         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
10961         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
10962         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
10963         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
10964         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
10965         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
10966         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
10967         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
10968         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
10969         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
10970         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
10971         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
10972         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
10974 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10976         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
10977         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
10979 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10981         * sysdeps/aarch64/memcpy.S (memcpy):
10982         Rewrite of optimized memcpy and memmove.
10983         * sysdeps/aarch64/memmove.S (memmove): Remove
10984         memmove code (merged into memcpy.S).
10986 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10988         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
10989         * sysdeps/generic/dl-dtv.h: New file.
10990         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10991         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
10992         (dtv_t): Remove.
10993         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10994         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
10995         (dtv_t): Remove.
10996         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10997         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
10998         (dtv_t): Remove.
10999         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11000         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11001         (dtv_t): Remove.
11002         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11003         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11004         (dtv_t): Remove.
11005         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11006         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11007         (dtv_t): Remove.
11008         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11009         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11010         (dtv_t): Remove.
11011         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11012         (dtv_t): Remove.
11013         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11014         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11015         (dtv_t): Remove.
11016         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11017         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11018         (dtv_t): Remove.
11019         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11020         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11021         (dtv_t): Remove.
11022         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11023         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11024         (dtv_t): Remove.
11025         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11026         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11027         (dtv_t): Remove.
11028         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11029         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11030         (dtv_t): Remove.
11031         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11032         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11033         (dtv_t): Remove.
11034         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11035         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11036         (dtv_t): Remove.
11038 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11040         Revert symbol poisoning of  __malloc_initialize_hook.
11041         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11042         poisoning.
11043         * malloc/Makefile: Remove un-poisoning.
11044         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11045         instead of old__malloc_initialize_hook.
11046         * malloc/malloc-hooks.h: Likewise.
11047         * malloc/malloc.c: Likewise.
11048         * malloc/mcheck-init.c: Likewise.
11050 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11052         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11054 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11056         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11057         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11058         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11059         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11061 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11063         * NEWS: Mention addition of nextup and nextdown.
11064         * manual/arith.texi: Document nextup and nextdown.
11065         * manual/libm-err-tab.pl: Add nextup and nextdown.
11066         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11067         * math/Versions (libm): Add GLIBC_2.24.
11068         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11069         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11070         Add new test.
11071         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11072         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11073         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11074         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11075         (nextup_test_data): Likewise.
11076         (nextdown_test_data): Likewise.
11077         * math/s_nextdown.c: New file.
11078         * math/s_nextdownf.c: Likewise.
11079         * math/s_nextdownl.c: Likewise.
11080         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11081         F(nextup): New function.
11082         F(nextdown): Likewise.
11083         * math/tgmath.h: Add nextup and nextdown.
11084         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11085         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11086         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11087         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11088         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11089         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11090         Add nextup and nextdown.
11091         (CFLAGS-nldbl-nextup.c): New variable.
11092         (CFLAGS-nldbl-nextdown.c): Likewise.
11093         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11094         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11095         * sysdeps/nacl/libm.abilist: Update.
11096         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11097         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11098         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11099         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11100         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11101         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11102         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11103         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11104         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11105         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11106         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11107         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11110         Likewise.
11111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11113         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11114         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11115         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11116         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11117         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11120         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11121         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11122         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11123         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11125 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11127         * manual/pattern.texi: Fix typos & grammar errors.
11129 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11131         * manual/search.texi: Fix typos & grammar errors.
11133 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11135         * manual/message.texi: Fix typos & grammar errors.
11137 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11139         * manual/contrib.texi: Fix spelling typos.
11140         * manual/crypt.texi: Likewise.
11141         * manual/filesys.texi: Likewise.
11142         * manual/locale.texi: Likewise.
11143         * manual/message.texi: Likewise.
11144         * manual/nss.texi: Likewise.
11145         * manual/string.texi: Likewise.
11147 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11149         * manual/locale.texi: Fix typos & grammar errors.
11151 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11153         * manual/charset.texi: Fix typos & grammar errors.
11155 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11157         * manual/string.texi: Fix typos.
11159 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11161         * manual/ctype.texi: Fix typos.
11163 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11165         * manual/memory.texi: Fix various typos & grammar errors.
11167 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11169         [BZ #20255]
11170         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11171         * math/libm-test.inc (fdim_test_data): Add another test.
11173         [BZ #6796]
11174         [BZ #20255]
11175         [BZ #20256]
11176         * math/s_fdim.c: Include <math_private.h>.
11177         (__fdim): Use math_narrow_eval on result.
11178         * math/s_fdimf.c: Include <math_private.h>.
11179         (__fdimf): Use math_narrow_eval on result.
11180         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11181         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11182         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11183         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
11184         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
11185         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
11186         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
11187         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
11188         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
11189         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
11190         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
11191         * math/libm-test.inc (fdim_test_data): Expect errno setting on
11192         overflow.  Add sNaN tests.
11194         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
11195         fpclassify.
11196         * math/s_fdimf.c (__fdimf): Likewise.
11197         * math/s_fdiml.c (__fdiml): Likewise.
11199 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11201         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11202         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
11203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11204         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11205         ifunc'ed strcasecmp/strncasecmp.
11206         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
11207         [EALIGN]: Removed.
11208         [END]: Likewise.
11209         [__strcasecmp]: Define instead of the above to control symbol name.
11210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
11211         for __strcasecmp_power8.
11212         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
11213         for __strncasecmp_power8.
11214         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
11215         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
11216         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11217         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
11218         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
11219         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
11221 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
11223         [BZ #20252]
11224         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
11225         arguments when second argument is a NaN.
11226         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
11227         qNaN tests.
11229         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
11230         (conj_test_data): Likewise.
11231         (copysign_test_data): Likewise.
11232         (creal_test_data): Likewise.
11233         (fma_test_data): Likewise.
11234         (fmod_test_data): Likewise.
11236         [BZ #20250]
11237         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
11238         itself.
11239         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
11240         zero input to itself.
11241         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
11242         Likewise.
11243         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
11244         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11245         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11246         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11247         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
11249 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11251         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
11252         * nptl/tst-cancel4-common.c: New file.
11253         * nptl/tst-cancel4-common.h: Likewise.
11254         * nptl/tst-cancel4.c: Move common definitions to
11255         tst-cancel4-common.{c,h} file.
11256         * nptl/tst-cancel4_1.c: New test.
11257         * nptl/tst-cancel4_2.c: New test.
11259 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11261         [BZ #20248]
11262         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11263         (write_message): New function.
11264         (stackoverflow_handler): Call it instead of printf, to avoid
11265         excessive stack usage by printf.
11266         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11268 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11270         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11271         (prio_inherit_missing): Remove define.
11272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11273         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11274         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11275         Likewise.
11276         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11277         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11278         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11279         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11280         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11281         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11283 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11285         [BZ #19670]
11286         [BZ #19672]
11288         * io/test-lfs.c (do_prepare): Use xmalloc.
11289         * io/tst-fcntl.c (do_prepare): Likewise.
11290         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11291         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11292         * login/tst-utmp.c (do_prepare): Likewise.
11293         * posix/tst-exec.c (do_prepare): Likewise.
11294         * posix/tst-pathconf.c (prepare): Likewise.
11295         * posix/tst-spawn.c (do_prepare): Likewise.
11296         * posix/tst-truncate.c (do_prepare): Likewise.
11297         * rt/tst-aio.c (do_prepare): Likewise.
11298         * rt/tst-aio64.c (do_prepare): Likewise.
11300 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11302         [BZ #20237]
11303         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11304         (get*ent): Set entidx to NULL during initialization.  If entidx is
11305         NULL, start iteration from the beginning.
11307 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11309         * malloc/malloc.c (musable): Return correct size for dumped fake
11310         mmapped chunk.
11312 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11314         [BZ #20222]
11315         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11316         (_IO_cookie_write): Likewise.
11317         (_IO_cookie_seek): Likewise.
11318         (_IO_cookie_close): Likewise.
11319         (_IO_old_cookie_seek): Likewise.
11320         (set_callbacks): New function.
11321         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11323 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11325         * locale/programs/localedef.c (oldstyle_tables): Remove.
11326         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11328 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11330         [BZ #20240]
11331         * math/Makefile (CFLAGS-s_modf.c): New variable.
11332         (CFLAGS-s_modff.c): Likewise.
11333         (CFLAGS-s_modfl.c): Likewise.
11334         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11336 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11338         [BZ #20215]
11339         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11340         [!__GNUC_PREREQ (3,2)]: Likewise.
11342 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11344         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11345         (msghdr.msg_controllen): Likewise.
11346         (cmsghdr.cmsg_len): Likewise.
11347         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11348         ptw-oldsendmsg.
11349         (CFLAGS-oldrecvmsg.c): Remove rule.
11350         (CFLAGS-oldsendmsg.c): Likewise.
11351         (CFLAGS-recvmsg.c): Add rule.
11352         (CFLAGS-sendmsg.c): Likewise.
11353         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11354         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11355         (CFLAGS-recvmsg.c): Remove rule.
11356         (CFLAGS-sendmsg.c): Likewise.
11357         (CFLAGS-oldrecvmsg.c): Likewise.
11358         (CFLAGS-oldsendmsg.c): Likewise.
11359         (CFLAGS-recvmmsg.c): Likewise.
11360         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11361         to kernel defined interfaces.
11362         (msghdr.msg_controllen): Likewise.
11363         (cmsghdr.cmsg_len): Likewise.
11364         (msghdr.__glibc_reserved1): Remove member.
11365         (msghdr.__glibc_reserved2): Likewise.
11366         (cmsghdr.__glibc_reserved1): Likewise.
11367         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11368         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11369         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11370         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11371         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11372         version.
11373         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11374         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11375         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11376         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11377         Remove recvmsg and sendmsg.
11378         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11379         Likewise.
11380         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11381         Likewise.
11382         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11383         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11384         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11385         Likewise.
11386         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11387         Likewise.
11388         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11389         [libc] (GLIBC_2.24): Likewise.
11390         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11391         Likewise.
11392         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11393         Likewise.
11394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11395         [libc] (GLIBC_2.24): Likewise.
11396         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11397         Likewise.
11398         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11399         Likewise.
11400         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11401         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11402         Likewise.
11403         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11404         Likewise.
11405         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11406         Likewise.
11407         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11408         Likewise.
11409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11410         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11411         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11412         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11413         version for {recv,send,recm,sendm}msg.
11414         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11415         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11416         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11417         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11418         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11419         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11420         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11421         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11422         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11423         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11424         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11425         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11427         Likewise.
11428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11429         Likewise.
11430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11432         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11433         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11434         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11435         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11436         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11437         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11440         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11441         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11442         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11444 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11446         [BZ #19564]
11447         Remove __malloc_initialize_hook from the API.
11448         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11449         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11450         #pragma GCC poison.
11451         * malloc/malloc-hooks.h: New file.
11452         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11453         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11454         (old__malloc_initialize_hook): Rename from
11455         __malloc_initialize_hook to evade poisoning.  Turn into compat
11456         symbol.
11457         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11458         __malloc_initialize_hook.
11459         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11460         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11461         * manual/memory.texi (Hooks for Malloc): Remove
11462         __malloc_initialize_hook.  Adjust hook example.
11464 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11466         [BZ #20235]
11467         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11468         itself.
11469         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11470         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11472         [BZ #20234]
11473         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11474         infinity or NaN input to itself.
11476         [BZ #20233]
11477         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11478         to itself.
11480         [BZ #20232]
11481         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11482         itself.
11484 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11486         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11487         __libc_start_main via GOT.
11489 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11491         * sysdeps/x86_64/memcopy.h: New file.
11492         * sysdeps/x86_64/wordcopy.c: Likewise.
11494 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11496         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11497         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11498         <cstdlib>.
11499         (optimization_barrier): New.
11500         (do_test): Use it.  Call quick_exit in the global namespace.
11501         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11502         instead of <cstdlib>, <thread>.
11503         (optimization_barrier): New.
11504         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11505         Call quick_exit in the global namespace.
11506         (do_test): Call optimization_barrier.  Use pthread_create,
11507         pthread_join instead of std::thread.
11509 2016-06-09  Andreas Schwab  <schwab@suse.de>
11511         [BZ #19755]
11512         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11513         new entries in auto-propagate mode.
11514         * nscd/grpcache.c (cache_addgr): Likewise.
11516 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11518         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11519         New functions.
11520         (add_temp_file): Use them.
11522 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11524         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11526 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11528         [BZ #20229]
11529         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11530         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11531         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11533         [BZ #20228]
11534         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11535         itself.
11536         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11537         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11539         [BZ #20227]
11540         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11541         itself.
11542         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11543         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11544         * math/libm-test.inc (log_test_data): Add sNaN tests.
11546         [BZ #20226]
11547         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11548         itself.
11549         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11550         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11551         (exp10_test_data): Likewise.
11552         (expm1_test_data): Likewise.
11554         [BZ #20225]
11555         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11556         itself.
11557         * math/s_ldexpf.c (__ldexpf): Likewise.
11558         * math/s_ldexpl.c (__ldexpl): Likewise.
11559         * math/w_scalbln.c (__w_scalbln): Likewise.
11560         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11561         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11562         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11563         (scalbln_test_data): Likewise.
11565         [BZ #20224]
11566         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11567         argument to itself.
11568         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11570 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11572         [BZ #19776]
11573         * sysdeps/x86_64/memcpy.S: Make it dummy.
11574         * sysdeps/x86_64/mempcpy.S: Likewise.
11575         * sysdeps/x86_64/memmove.S: New file.
11576         * sysdeps/x86_64/memmove_chk.S: Likewise.
11577         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11578         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11579         * sysdeps/x86_64/memmove.c: Removed.
11580         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11581         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11582         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11583         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11584         Likewise.
11585         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11586         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11588         memcpy-sse2-unaligned, memmove-avx-unaligned,
11589         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11591         (__libc_ifunc_impl_list): Replace
11592         __memmove_chk_avx512_unaligned_2 with
11593         __memmove_chk_avx512_unaligned.  Remove
11594         __memmove_chk_avx_unaligned_2.  Replace
11595         __memmove_chk_sse2_unaligned_2 with
11596         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11597         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11598         with __memmove_avx512_unaligned.  Replace
11599         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11600         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11601         with __memcpy_chk_avx512_unaligned.  Remove
11602         __memcpy_chk_avx_unaligned_2.  Replace
11603         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11604         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11605         Replace __memcpy_avx512_unaligned_2 with
11606         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11607         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11608         with __mempcpy_chk_avx512_unaligned.  Remove
11609         __mempcpy_chk_avx_unaligned_2.  Replace
11610         __mempcpy_chk_sse2_unaligned_2 with
11611         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11612         Replace __mempcpy_avx512_unaligned_2 with
11613         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11614         Replace __mempcpy_sse2_unaligned_2 with
11615         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11616         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11617         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11618         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11619         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11620         (ENTRY): Removed.
11621         (END): Likewise.
11622         (ENTRY_CHK): Likewise.
11623         (libc_hidden_builtin_def): Likewise.
11624         Don't include ../memcpy.S.
11625         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11626         __memcpy_chk_avx512_unaligned_erms and
11627         __memcpy_chk_avx512_unaligned.  Use
11628         __memcpy_chk_avx_unaligned_erms and
11629         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11630         Default to __memcpy_chk_sse2_unaligned.
11631         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11632         Change function suffix from unaligned_2 to unaligned.
11633         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11634         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11635         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11636         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11637         (ENTRY): Removed.
11638         (END): Likewise.
11639         (ENTRY_CHK): Likewise.
11640         (libc_hidden_builtin_def): Likewise.
11641         Don't include ../mempcpy.S.
11642         (mempcpy): New.  Add a weak alias.
11643         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11644         __mempcpy_chk_avx512_unaligned_erms and
11645         __mempcpy_chk_avx512_unaligned.  Use
11646         __mempcpy_chk_avx_unaligned_erms and
11647         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11648         Default to __mempcpy_chk_sse2_unaligned.
11650 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11652         [BZ #19881]
11653         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11654         into ...
11655         * sysdeps/x86_64/memset.S: This.
11656         (__bzero): Removed.
11657         (__memset_tail): Likewise.
11658         (__memset_chk): Likewise.
11659         (memset): Likewise.
11660         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11661         defined.
11662         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11663         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11664         (__memset_zero_constant_len_parameter): Check SHARED instead of
11665         PIC.
11666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11667         memset-avx2 and memset-sse2-unaligned-erms.
11668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11669         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11670         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11671         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11672         (__bzero): Enabled.
11673         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11674         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11675         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11676         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11677         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11678         (memset): Removed.
11679         (__memset_chk): Likewise.
11680         (MEMSET_SYMBOL): New.
11681         (libc_hidden_builtin_def): Replace __memset_sse2 with
11682         __memset_sse2_unaligned.
11683         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11684         __memset_chk_sse2 and __memset_chk_avx2 with
11685         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11686         Use __memset_chk_sse2_unaligned_erms or
11687         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11688         __memset_chk_avx512_unaligned_erms and
11689         __memset_chk_avx512_unaligned.
11691 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11693         * math/gen-auto-libm-test.c (fp_format_desc): remove
11694         suffix member.
11695         (output_generic_value): Remove usage of suffix member,
11696         and the resulting unuse of the fp_format argument.
11697         (output_for_one_input_case): Remove unused fp_format
11698         parameter.
11700         * math/auto-libm-test-out: Regenerate.
11702         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11703         usage with TEST_COND_ibm128.
11704         (TEST_COND_flt_32): Remove.
11705         (TEST_COND_dbl_64): Remove.
11706         (TEST_COND_ldbl_96_intel): Remove.
11707         (TEST_COND_ldbl_96_m68k): Remove.
11708         (TEST_COND_ldbl_128): Remove.
11710 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11712         * auto-libm-test-in:
11713         Replace flt-32 usage with binary32.
11714         Replace dbl-64 usage with binary64.
11715         Replace ldbl-intel-96 usage with intel96.
11716         Replace ldbl-m68k-96 usage with m68k96.
11717         Replace ldbl-128ibm usage with ibm128.
11718         Replace ldbl-128 usage with binary128.
11720         * auto-libm-test-out: Regenerate.
11722 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11724         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11725         (parse_ulps): Dynamically generate type name matching
11726         string from all_floats.
11727         (get_ulps): Generate the ulps as an array instead.
11728         (output_ulps): Dynamically compose the type based
11729         on the number of supported formats, and print
11730         the indices as type specific helper macros.
11732         * math/libm-test.inc: Remove comment about CHOOSE.
11733         (ulp_data): Generate the type in libm-test-ulps.h.
11734         (ULP_IDX): New macro.
11735         (find_ulps): Update usage of max_ulp.
11737         * math/test-double-vlen2.h (CHOOSE): Remove.
11738         * math/test-double-vlen4.h (CHOOSE): Likewise.
11739         * math/test-double-vlen8.h (CHOOSE): Likewise.
11740         * math/test-float.c (CHOOSE): Likewise.
11741         * math/test-float-finite.c (CHOOSE): Likewise.
11742         * math/test-double.c (CHOOSE): Likewise.
11743         * math/test-double-finite.c (CHOOSE): Likewise.
11744         * math/test-idouble.c (CHOOSE): Likewise.
11745         * math/test-ifloat.c (CHOOSE): Likewise.
11746         * math/test-ildoubl.c (CHOOSE): Likewise.
11747         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11748         * math/test-ldouble.c (CHOOSE): Likewise.
11750         * math/test-float.h (TEST_FLOAT): Remove.
11751         * math/test-double.h (TEST_DOUBLE): Likewise.
11752         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11754 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11756         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11757         (parse_args): Strip C suffix from floating point literals
11758         typed with 'f' and wrap them with LIT().
11760         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11761         (test_ff_f_data_nexttoward): Rename to
11762         (test_fj_f_data): New struct.
11763         (nexttoward_test_data): Relabel tests as
11764         TEST_fj_f instead of TEST_ff_f.
11766 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11768         Emacs bug 23726.
11769         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11770         (__libc_realloc): Correct size computation for dumped fake mmapped
11771         chunks.
11773 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11775         [BZ #20219]
11776         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11777         to itself.
11778         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11780         [BZ #20218]
11781         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11782         to itself.
11783         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11785 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11787         [BZ #20195]
11788         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11789         check to ...
11790         (init_cpu_features): Here.
11792 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11794         [BZ #20214]
11795         * sysdeps/unix/sysv/linux/bits/in.h
11796         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11797          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11798         Define to 1.
11799         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11800          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11801         Define to 0.
11802         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11803         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11805 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11807         [BZ #20198]
11808         * stdlib/Makefile (tests): Add tst-quick_exit, and
11809         tst-thread-quick_exit.
11810         [ifeq ($(have-cxx-thread_local),yes)]
11811         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11812         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11813         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11814         (LDLIBS-tst-thread-quick_exit): Likewise.
11815         [ifneq ($(have-cxx-thread_local),yes)]
11816         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11817         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11818         If run_dtors is true call __call_tls_dtors.
11819         (exit): Call __run_exit_handlers with run_dtors set to true.
11820         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11821         definition.
11822         * stdlib/quick_exit.c (quick_exit): Remove function.
11823         (__new_quick_exit): New function.
11824         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11825         function.
11826         * stdlib/tst-quick_exit.cc: New file.
11827         * stdlib/tst-thread-quick_exit.cc: New file.
11828         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11829         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11830         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11831         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11832         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11833         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11834         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11835         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11836         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11837         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11838         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11839         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11840         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11841         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11842         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11843         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11848         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11849         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11850         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11851         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11852         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11855         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11856         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11857         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11859 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11861         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11862         a typo in comments.
11864 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11866         [BZ #20213]
11867         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11868         argument to itself.
11869         * math/libm-test.inc (asin_test_data): Add sNaN tests.
11871 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11873         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
11874         required flags.
11875         (CFLAGS-pwritev64.c): Likewise.
11876         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
11877         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11878         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
11879         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11880         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
11881         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
11882         syscall from auto-generation.
11883         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
11884         [WORDSIZE == 64] (pwritev64): Remove macro.
11885         [!PWRITEV] (PWRITEV): Likewise.
11886         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11887         [!PWRITEV] (PWRITE): Likewise.
11888         [!PWRITEV] (OFF_T): Likewise.
11889         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11890         (LO_HI_LONG): Remove macro.
11891         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
11892         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
11893         (PWRITEV): Remove macro.
11894         (PWRITEV_REPLACEMENTE): Likewise.
11895         (PWRITE): Likewise.
11896         (OFF_T): Likewise.
11897         (pwritev64): New function.
11898         * nptl/tst-cancel4.c (tf_writev): Add test.
11900         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
11901         required flags.
11902         (CFLAGS-preadv64.c): Likewise.
11903         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
11904         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11905         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
11906         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
11907         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
11908         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
11909         syscall from auto-generation.
11910         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
11911         [WORDSIZE == 64] (preadv64): Remove macro.
11912         [!PREADV] (PREADV): Likewise.
11913         [!PREADV] (PREADV_REPLACEMENT): Likewise.
11914         [!PREADV] (PREAD): Likewise.
11915         [!PREADV] (OFF_T): Likewise.
11916         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
11917         (LO_HI_LONG): Remove macro.
11918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
11919         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
11920         (PREADV): Remove macro.
11921         (PREADV_REPLACEMENTE): Likewise.
11922         (PREAD): Likewise.
11923         (OFF_T): Likewise.
11924         (preadv64): New function.
11925         * nptl/tst-cancel4.c (tf_preadv): Add test.
11927 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11929         [BZ #20212]
11930         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
11931         argument to itself.
11932         * math/libm-test.inc (acos_test_data): Add sNaN tests.
11934 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11936         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
11937         New symbol defined as libc_hidden_def.
11938         (strcasestr): Became a weak alias to __strcasestr.
11939         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
11940         according to multi-arch support.  Move __stpncpy hidden
11941         definition from here to...
11942         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
11943         symbol stpncpy.
11944         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
11945         libc_hidden_builtin_def.
11946         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
11947         memset symbol to use when multi-arch support is available.
11949 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11951         * dlfcn/tst-rec-dlopen.c: Include string.h.
11953 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11955         * manual/install.texi: Remove mention of --without-tls
11956         * INSTALL: Regenerate.
11958 2016-06-05  Florian Weimer  <fweimer@redhat.com>
11960         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
11961         Remove.
11962         (call_function, interposed_malloc_called): New variables.
11963         (malloc): New function.
11964         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
11965         and clear call_function as needed.
11967 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
11969         * include/wchar.h (__wmemset): Use __typeof.
11971 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
11973         * include/wchar.h (__wmemset): Declare function without typeof.
11975 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
11977         [BZ #20205]
11978         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
11979         exponent when incrementing negative subnormal with low mantissa
11980         word zero.
11981         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11982         Add another test.
11984 2016-06-03  Florian Weimer  <fweimer@redhat.com>
11986         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
11987         __wmemset instead of wmemset.
11989 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
11991         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
11992         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
11993         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
11994         __USE_KERNEL_IPV6_DEFS to 0.
11995         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
11996         Update comment.
11998 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12000         [BZ #19861]
12001         Do not use IFUNC resolver with potentially unrelocated symbol.
12002         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12003         (DEFINE_FORK): Remove macro and inline definition.
12004         (fork_alias): Renamed from fork_ifunc.
12005         (__fork_alias): Renamed from __fork_ifunc.
12007 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12009         [BZ 19653]
12010         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12011         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12013 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12015         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12016         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12017         i386-linux-gnu).
12018         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12019         Set to no.
12020         * sysdeps/mach/hurd/configure: Refresh.
12022 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12024         [BZ #20178]
12025         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12026         on failure instead of exit.
12028 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12030         [BZ #3629]
12031         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12032         of POSIX.1-2008.
12034 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12036         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12037           Use PLT entry for calling _hurd_self_sigstate.
12039 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12041         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12042         available logical processors with SMT level type sharing L2
12043         cache for Intel processors.
12045 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12047         [BZ #20160]
12048         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12049         argument to itself before returning the result.
12050         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12051         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12052         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12053         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12054         Likewise.
12055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12056         Likewise.
12057         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12058         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12059         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12060         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12061         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12062         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12064         [BZ #20160]
12065         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12066         argument to itself before returning the result.
12067         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12068         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12069         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12071         Likewise.
12072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12073         Likewise.
12074         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12075         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12076         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12077         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12078         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12079         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12081 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12083         * libm-test.inc: Replace usage of M_El with
12084         (lit_e): New macro.
12086 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12088         * libm-test.inc: Replace usage of M_PI_4l with
12089         (lit_pi_4_d): New macro.
12091 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12093         * libm-test.inc: Replace usage of M_PIl with
12094         (lit_pi): New macro.
12096 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12098         * libm-test.inc: Replace usage of M_PI2l with
12099         (lit_pi_2_d): New macro.
12101         * math/test-double.h (LITM): New macro.
12102         * math/test-float.h (LITM): Likewise.
12103         * math/test-ldouble.h (LITM): Likewise.
12105 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12107         * libm-test.inc (M_PI_34l): Rename to
12108         (lit_pi_3_m_4_d): New Macro.
12109         (M_PI_34_LOG10El): Rename to
12110         (lit_pi_3_m_4_ln10_m_d): New Macro.
12111         (M_PI2_LOG10El): Rename to
12112         (lit_pi_2_ln10_m_d):  New Macro.
12113         (M_PI4_LOG10El): Rename to
12114         (lit_pi_4_ln10_m_d):  New Macro.
12115         (M_PI_LOG10El): Rename to
12116         (lit_pi_ln10_d):  New Macro.
12118 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12120         [BZ #20157]
12121         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12122         determine whether to negate low half if [_ARCH_PPCGR], and integer
12123         comparison otherwise.
12124         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12125         determine whether to negate low half.
12127         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12128         (NO_TEST_INLINE_DOUBLE): Likewise.
12129         (TEST_COND_x86_64): Likewise.
12130         (TEST_COND_x86): Likewise.
12131         (M_PI_6l): Likewise.
12133 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12135         * math/libm-test.inc:
12136         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12137         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12138         (TEST_LDOUBLE): Update usage to evaluate as true if
12139         the guarded tests match the property being tested.
12140         (LDBL_MAX_EXP): Change to MAX_EXP.
12141         (LDBL_MIN_EXP): Change to MIN_EXP.
12142         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12143         nexttoward tests.
12145 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12147         * math/libm-test.inc:
12148         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12149         (TYPE_MIN): Likewise.
12150         (TYPE_TRUE_MIN): Likewise.
12151         (TYPE_MAX): Likewise.
12152         (MIN_EXP): Likewise.
12153         (MAX_EXP): Likewise.
12154         (MANT_DIG): Likewise.
12156         (FSTR_MAX): New macro.
12157         (__CONCATX): Likewise.
12158         (QTYPE_STR): Likewise.
12159         (TEST_COND_binary32): Likewise.
12160         (TEST_COND_binary64): Likewise.
12161         (TEST_COND_binary128): Likewise.
12162         (TEST_COND_ibm128): Likewise.
12163         (TEST_COND_intel96): Likewise.
12164         (TEST_COND_m68k96): Likewise.
12166         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12167         (TEST_COND_dbl_64): Likewise.
12168         (TEST_COND_ldbl_96_intel): Likewise.
12169         (TEST_COND_ldbl_96_m68k): Likewise.
12170         (TEST_COND_ldbl_128): Likewise.
12171         (TEST_COND_ldbl_128ibm): Likewise.
12173         (plus_zero): Redefine using LIT macro.
12174         (minus_zero): Likewise.
12175         (plus_infty): Redefine as (INF).
12176         (minux_infty): Redefine as (-INF).
12177         (max_value): Redefine as TYPE_MAX.
12178         (min_value): Redefine as TYPE_MIN.
12179         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12181         (print_float): Refactor to use snprintf to convert FLOAT values
12182         to string. This brings it closer to dropin replacement of strtof
12183         for the TS 18661 defined types.
12184         (update_stats): Likewise.
12185         (print_complex_function_ulps): Likewise.
12186         (print_max_error): Likewise.
12187         (print_complex_max_error): Likewise.
12188         (check_float_internal): Likewise.
12190         * math/test-float.h (PREFIX): New macro.
12191         (LIT): Likewise.
12192         (TYPE_STR): Likewise.
12193         (FTOSTR): Likewise.
12195         * math/test-double.h (PREFIX): New macro.
12196         (LIT): Likewise.
12197         (TYPE_STR): Likewise.
12198         (FTOSTR): Likewise.
12200         * math/test-ldouble.h (PREFIX): New macro.
12201         (LIT): Likewise.
12202         (TYPE_STR): Likewise.
12203         (FTOSTR): Likewise.
12205 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12207         [BZ #20156]
12208         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
12209         to itself when zero or not finite.
12210         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
12211         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12212         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
12213         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12215 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
12217         [BZ #20153]
12218         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
12219         x * x + x for infinities and NaNs.
12221         [BZ #20151]
12222         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
12223         argument to itself before returning result.
12224         (__ieee754_y0l): Likewise.
12225         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12226         (__ieee754_y1l).
12228         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
12229         (atan_test_data): Likewise.
12230         (ceil_test_data): Likewise.
12231         (cos_test_data): Likewise.
12232         (cosh_test_data): Likewise.
12233         (erf_test_data): Likewise.
12234         (exp2_test_data): Likewise.
12235         (fabs_test_data): Likewise.
12236         (floor_test_data): Likewise.
12237         (ilogb_test_data): Likewise.
12238         (j0_test_data): Likewise.
12239         (j1_test_data): Likewise.
12240         (jn_test_data): Likewise.
12241         (lgamma_test_data): Likewise.
12242         (lrint_test_data): Likewise.
12243         (llrint_test_data): Likewise.
12244         (logb_test_data): Likewise.
12245         (lround_test_data): Likewise.
12246         (llround_test_data): Likewise.
12247         (nearbyint_test_data): Likewise.
12248         (rint_test_data): Likewise.
12249         (round_test_data): Likewise.
12250         (sin_test_data): Likewise.
12251         (sincos_test_data): Likewise.
12252         (sinh_test_data): Likewise.
12253         (sqrt_test_data): Likewise.
12254         (tan_test_data): Likewise.
12255         (tanh_test_data): Likewise.
12256         (tgamma_test_data): Likewise.
12257         (trunc_test_data): Likewise.
12258         (y0_test_data): Likewise.
12259         (y1_test_data): Likewise.
12260         (yn_test_data): Likewise.
12262         * math/libm-test.inc: Update comment about NaN testing.
12263         (TEST_SNAN): New macro.
12264         (snan_value): Likewise.
12265         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12266         (fpclassify_test_data): Add sNaN tests.
12267         (isfinite_test_data): Likewise.
12268         (isinf_test_data): Likewise.
12269         (isnan_test_data): Likewise.
12270         (isnormal_test_data): Likewise.
12271         (issignaling_test_data): Likewise.
12272         (signbit_test_data): Likewise.
12273         * math/gen-libm-test.pl (%beautify): Add snan_value.
12274         (show_exceptions): Add argument $test_snan.
12275         (parse_args): Handle snan_value as non-finite.  Update call to
12276         show_exceptions.
12277         * math/Makefile (libm-test-no-inline-cflags): Add
12278         -fsignaling-nans.
12280 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12282         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12283         (CFLAGS-oldsendmsg.c): Add rule.
12284         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12285         Correct recvmsg symbol name.
12286         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12287         Likewise.
12289 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12291         * sysdeps/unix/sysv/linux/Makefile
12292         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12293         oldsendmmsg.
12294         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12295         sendmmsg.
12296         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12297         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12298         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12299         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12301         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12302         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12304         Likewise.
12305         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12306         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12307         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12308         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12309         iovlen and controllen fields to adjust to POSIX specification.
12310         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12312         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12313         and change to correct expected type.
12314         (msghdr.msg_controllen): Likewise.
12315         (cmsghdr.cmsg_len): Likewise.
12316         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12317         expected POSIX assumption about the size.
12318         (msghdr.msg_controllen): Likewise.
12319         (msghdr.__glibc_reserved1): Likewise.
12320         (msghdr.__glibc_reserved2): Likewise.
12321         (cmsghdr.cmsg_len): Likewise.
12322         (cmsghdr.__glibc_reserved1): Likewise.
12323         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12324         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12325         (CFLAGS-sendmsg.c): Remove rule.
12326         (CFLAGS-recvmsg.c): Likewise.
12327         (CFLAGS-oldsendmsg.c): Add rule.
12328         (CFLAGS-oldrecvmsg.c): Likewise.
12329         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12330         recvmsg and sendmsg.
12331         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12332         Likewise.
12333         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12334         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12335         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12336         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12337         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12338         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12339         Likewise.
12340         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12341         Likewise.
12342         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12343         Likewise.
12344         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12345         Likewise.
12346         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12347         Likewise.
12348         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12349         Likewise.
12350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12351         (GLIBC_2.24): Likewise.
12352         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12353         Likewise.
12354         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12355         Likewise.
12356         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12357         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12358         Likewise.
12359         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12360         Likewise.
12361         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12362         Likewise.
12363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12364         (GLIBC_2.24): Likewise.
12365         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12366         Likewise.
12367         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12368         Likewise.
12369         * sysdeps/unix/sysv/linux/Makefile
12370         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12371         (CFLAGS-sendmsg.c): Add rule.
12372         (CFLAGS-recvmsg.c): Likewise.
12373         (CFLAGS-oldsendmsg.c): Likewise.
12374         (CFLAGS-oldrecvmsg.c): Likewise.
12375         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12376         initialization.
12377         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12378         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12379         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12380         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12381         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12382         iovlen and controllen fields to adjust to POSIX specification.
12383         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12384         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12385         added recvmsg and sendmsg.
12386         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12387         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12388         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12389         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12390         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12391         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12392         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12393         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12394         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12395         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12396         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12397         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12399         Likewise.
12400         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12402         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12403         Likewise.
12404         Likewise.
12405         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12406         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12407         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12408         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12409         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12410         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12412         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12414         Likewise.
12415         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12416         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12418         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12419         from auto-generation.
12420         (sendmsg): Likewise.
12421         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12422         (sendmsg): Likewise.
12423         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12424         (sendmsg): Likewise.
12425         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12426         (sendmsg): Likewise.
12427         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12428         (sendmsg): Likewise.
12429         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12430         (sendmsg): Likewise.
12431         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12432         Likewise.
12433         (sendmsg): Likewise.
12434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12435         (sendmsg): Likewise.
12436         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12437         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12438         Remove.
12439         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12440         Likewise.
12441         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12442         Undefine.
12443         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12444         Likewise.
12445         * sysdeps/unix/sysv/linux/kernel-features.h
12446         (__ASSUME_SENDMSG_SYSCALL): Define.
12447         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12448         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12449         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12450         Remove.
12451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12452         Likewise.
12453         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12454         Undefine.
12455         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12456         Likewise.
12457         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12458         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12459         Remove.
12460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12461         Likewise.
12462         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12463         Undefine.
12464         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12465         Likewise.
12466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12467         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12468         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12469         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12470         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12471         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12472         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12473         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12474         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12476 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12478         * stdlib/gen-tst-strtod-round.c: Add backslash to
12479         compile command in comment.
12480         (printfp): Remove the literal suffix, and define an infinite
12481         value as INF to avoid expansion clash with INFINITY.
12482         (round_str): Remove the literal suffix.
12483         (round_for_all): Likewise, remove the now duplicate ldbl-64
12484         entry, and remove some magic constants.
12486         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12487         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12488         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12489         (_CONCAT): New macro.
12490         (CONCAT): Likewise.
12491         (CHOOSE_ld): Likewise.
12492         (CHOOSE_f): Likewise.
12493         (CHOOSE_d): Likewise.
12494         (FTYPE_MEMBER): Likewise.
12495         (BOOL_MEMBER): Likewise.
12496         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12497         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12498         (_XNTRY): Likewise.
12499         (XNTRY): Likewise.
12500         (_ENTRY): Likewise.
12501         (ENTRY): Likewise.
12502         (test_exactness): Generate members via macro.
12503         (test_results): Likewise.
12504         (test): Update members.
12505         (TEST): Redefine using new macros.
12506         (INF): New macro.
12507         (fetestmodes): New structure.
12508         (do_test): Refactor to be type generic.
12509         (test_in_one_mode): Refactor duplicate code into
12510         (GEN_ONE_TEST): New macro.
12512         * stdlib/tst-strtod-round-data.h: Regenerate.
12514         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12515         Extend to pass additional arbitrary parameters to
12516         generators.
12518 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12520         [BZ #15479]
12521         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12522         floating-point state after first floating-point operation on
12523         input.  Restore full floating-point state instead of just rounding
12524         mode.
12525         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12526         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12527         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12528         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12529         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12531         [BZ #15479]
12532         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12533         floating-point state after first floating-point operation on
12534         input.  Restore full floating-point state instead of just rounding
12535         mode.
12536         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12537         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12538         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12539         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12540         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12542 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12544         [BZ #19727]
12545         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12546         valid high surrogate.
12547         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12548         of an utf16 surrogate.
12549         * iconv/gconv_simple.c (BODY): Likewise.
12550         * iconvdata/bug-iconv12.c: New file.
12551         * iconvdata/Makefile (tests): Add bug-iconv12.
12553 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12555         [BZ #19726]
12556         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12557         outptrp in case of an illegal input.
12558         * iconv/tst-iconv6.c: New file.
12559         * iconv/Makefile (tests): Add tst-iconv6.
12561 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12563         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12564         an error in case of a value in range of an utf16 low surrogate.
12566 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12568         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12569         an error in case of a value in range of an utf16 low surrogate.
12571 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12573         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12574         Move to ...
12575         * sysdeps/s390/Makefile: ... here.
12576         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12577         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12578         (BRANCH_ON_COUNT): New define.
12579         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12580         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12581         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12582         run on s390-32, too.
12583         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12584         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12585         run on s390-32, too.
12586         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12587         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12588         run on s390-32, too.
12590 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12592         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12593         etf3eh or new vector loop-variant.
12595 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12597         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12598         etf3eh or new vector loop-variant.
12600 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12602         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12603         or new vector loop-variant.
12605 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12607         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12608         Rename to TR_LOOP and usage of tr instead of troo instruction.
12610 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12612         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12615 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12617         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12618         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12619         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12620         New override define.
12621         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12623 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12625         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12626         * sysdeps/s390/configure.ac: Add test for S390 vector register
12627         support in gcc.
12628         * sysdeps/s390/configure: Regenerated.
12630 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12632         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12633         Install file from $(objpfx)gconv-modules.
12634         ($(objpfx)gconv-modules): Concatenate architecture specific file
12635         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12636         * sysdeps/s390/gconv-modules: New file.
12637         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12638         Deleted.
12639         ($(objpfx)gconv-modules-s390): Deleted.
12640         (sysdeps-gconv-modules): New variable.
12642 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12644         [BZ #15479]
12645         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12646         of immediate operand to rounding instruction.
12647         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12648         Likewise.
12649         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12650         Likewise.
12651         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12652         Likewise.
12654 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12656         * math/libm-test.inc (MIN_EXP): Directly define as
12657         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12659 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12661         * math/libm-test.inc (MANT_DIG): Directly define as
12662         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12664 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12666         * stdlib/gen-tst-strtod-round.c (main):
12667           Change usage to more closely match the generated
12668           output.  Add usage and compilation instructions.
12669           (string_to_fp): Add and use FILE* parameter as
12670           output target.
12671           (print_fp): Likewise.
12672           (round_str): Likewise.
12673           (round_for_all): Likewise.
12674         * stdlib/tst-strtod-round.c (tests): Move into
12675         * stdlib/tst-strtod-round-data.h: New file.
12677 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12679         [BZ #15479]
12680         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12681         (__round): Do not force "inexact" exception.
12682         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12683         variable.
12684         (__round): Do not force "inexact" exception.
12685         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12686         (__roundf): Do not force "inexact" exception.
12687         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12688         (__roundl): Do not force "inexact" exception.
12689         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12690         (__roundl): Do not force "inexact" exception.
12691         * math/libm-test.inc (round_test_data): Do not allow spurious
12692         "inexact" exceptions.
12694         [BZ #15479]
12695         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12696         exception in comment.
12697         (huge): Remove variable.
12698         (__floor): Do not force "inexact" exception.
12699         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12700         "inexact" exception in comment.
12701         (huge): Remove variable.
12702         (__floor): Do not force "inexact" exception.
12703         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12704         exception in comment.
12705         (huge): Remove variable.
12706         (__floorf): Do not force "inexact" exception.
12707         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12708         exception in comment.
12709         (huge): Remove variable.
12710         (__floorl): Do not force "inexact" exception.
12712         [BZ #15479]
12713         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12714         exception in comment.
12715         (huge): Remove variable.
12716         (__ceil): Do not force "inexact" exception.
12717         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12718         "inexact" exception in comment.
12719         (huge): Remove variable.
12720         (__ceil): Do not force "inexact" exception.
12721         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12722         (__ceilf): Do not force "inexact" exception.
12723         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12724         exception in comment.
12725         (huge): Remove variable.
12726         (__ceill): Do not force "inexact" exception.
12728 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12730         * config.h.in (BIND_NOW): New.
12731         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12732         * configure: Regenerated.
12733         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12734         indirect branch via the GOT slot.
12736 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12738         [BZ #19765]
12739         * sysdeps/s390/mempcpy.S: New File.
12740         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12741         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12742         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12743         Add mempcpy variants.
12744         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12745         (memcpy): Adjust to be usable from mempcpy entry point.
12746         (__memcpy_mvcle): Likewise.
12747         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12748         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12749         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12750         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12751         (__memcpy_z10): Likewise.
12752         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12754 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12756         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12757         Remove __GI_ symbol.
12758         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12759         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12760         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12761         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12762         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12763         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12765 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12767         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12768         Use cghi instead of chi to compare 64bit value.
12770 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12772         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12773         Jump to 1MB check before executing mvc-loop.
12775 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12777         [BZ #6527]
12778         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12779         unconditionally.
12780         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12782 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12784         * stdlib/tst-strtod6.c (do_test): Use new type generic
12785         invocation of the test function.
12786         (test): Refactor into ...
12787         (TEST_STRTOD): New macro base function.
12789 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12791         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12792         (TEST_STRTOD): New macro.
12793         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12795 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12797         * stdlib/tst-strtod6.c (do_test): Use new type generic
12798         invocation of the test function.
12799         (test): Refactor into ...
12800         (TEST_STRTOD): New macro base function.
12802 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12804         CVE-2016-4429
12805         [BZ #20112]
12806         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12807         payload.
12809 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12811         [BZ #20111]
12812         * bits/sockaddr.h (_SS_SIZE): Define.
12813         * bits/socket.h (_SS_SIZE): Remove.
12814         (_SS_PADSIZE): Adjust to account for all padding.
12815         (struct sockaddr_storage): Update comment.  Avoid implicit
12816         padding.
12817         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12818         (_SS_PADSIZE): Adjust to account for all padding.
12819         (struct sockaddr_storage): Update comment.  Avoid implicit
12820         padding.
12821         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12822         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12823         (_SS_PADSIZE): Adjust to account for all padding.
12824         (struct sockaddr_storage): Update comment.  Avoid implicit
12825         padding.
12826         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12827         __SS_SIZE is 126 in this version.
12828         * inet/tst-sockaddr.c: New file.
12829         * inet/Makefile (tests): Add tst-sockaddr.c
12830         (tst-sockaddr.c): Compile with non-strict aliasing.
12832 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12834         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12835         [XPG3 || XPG4].
12836         (NL_ARGMAX): Also expect for [XPG3].
12837         (NL_LANGMAX): Likewise.
12838         (NL_MSGMAX): Likewise.
12839         (NL_NMAX): Likewise.
12840         (NL_SETMAX): Likewise.
12841         (NL_TEXTMAX): Likewise.
12842         (NZERO): Likewise.
12843         (TMP_MAX): Likewise.
12844         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12845         variable.
12847         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12848         (PF_MAX): Update value.
12849         (AF_KCM): New macro.
12850         (SOL_NETBEUI): Likewise.
12851         (SOL_LLC): Likewise.
12852         (SOL_DCCP): Likewise.
12853         (SOL_NETLINK): Likewise.
12854         (SOL_TIPC): Likewise.
12855         (SOL_RXRPC): Likewise.
12856         (SOL_PPPOL2TP): Likewise.
12857         (SOL_BLUETOOTH): Likewise.
12858         (SOL_PNPIPE): Likewise.
12859         (SOL_RDS): Likewise.
12860         (SOL_IUCV): Likewise.
12861         (SOL_CAIF): Likewise.
12862         (SOL_ALG): Likewise.
12863         (SOL_NFC): Likewise.
12864         (SOL_KCM): Likewise.
12865         (MSG_BATCH): New enum value and macro.
12867 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
12869         [BZ #18185]
12870         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12871         sharing L2 cache to 2 for Knights Landing.
12873 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
12875         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
12876         (FTW_DP): Do not expect for [XPG3 || XPG4].
12877         (FTW_SL): Do not expect for [XPG3].
12878         (FTW_SLN): Likewise.
12879         (FTW_PHYS): Likewise.
12880         (FTW_MOUNT): Likewise.
12881         (FTW_DEPTH): Likewise.
12882         (FTW_CHDIR): Likewise.
12883         (nftw): Likewise.
12884         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
12885         variable.
12887 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12889         * manual/errno.texi: Fix various typos & grammar errors.
12891 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12893         * manual/intro.texi: Fix duplicated typo.
12895 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12897         [BZ #13304]
12898         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
12899         <float.h>, <math_private.h> and <stdlib.h>.
12900         (add_split): New function.
12901         (mul_split): Likewise.
12902         (ext_val): New typedef.
12903         (store_ext_val): New function.
12904         (mul_ext_val): New function.
12905         (compare): New function.
12906         (add_split_ext): New function.
12907         (__fmal): After checking for Inf, NaN and zero, compute result as
12908         an exact sum of scaled double values in round-to-nearest before
12909         adding those up and adjusting for other rounding modes.
12910         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
12911         tests of fma.
12912         * math/auto-libm-test-out: Regenerated.
12914 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12916         [BZ #20119]
12917         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
12918         processor level type mask for CPUID with EAX == 11.
12920 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12922         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
12923         logical threads if the HTT bit is 0.
12924         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
12925         (index_cpu_HTT): Likewise.
12926         (reg_HTT): Likewise.
12928 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12930         [BZ #20115]
12931         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
12932         Remove alignments on jump targets.
12934 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12936         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
12937         (getpwent): Likewise.
12938         (setpwent): Likewise.
12939         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
12940         variable.
12942         * conform/data/search.h-data (insque): Do not expect for [XPG3].
12943         (remque): Likewise.
12944         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
12945         variable.
12947 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12949         * math/libm-test.inc: Update comment not to refer to signs of NaNs
12950         not being tested.
12952 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12954         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12955         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
12956         call.
12957         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12958         (__condvar_cleanup1): Likewise.
12960 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12962         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
12963         New
12964         (__pthread_unwind): Renamed to ...
12965         (PTHREAD_UNWIND): This.
12966         (__pthread_enable_asynccancel): Replace
12967         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
12969 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12971         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
12972         (CLONE_NEWCGROUP): New macro.
12974         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
12975         (Q_GETNEXTQUOTA): New macro.
12977 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12979         [BZ #19907]
12980         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
12981         buffer updated by the previous run.
12982         * string/test-memcpy.c (do_one_test): Likewise.
12983         * benchtests/bench-memmove.c (do_one_test): Add a comment.
12984         * string/test-memmove.c (do_one_test): Likewise.
12986 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
12988         [BZ #20094]
12989         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
12990         not [__USE_XOPEN].
12991         (unlockpt): Likewise.
12992         (ptsname): Likewise.
12993         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
12994         variable.
12996         [BZ #20076]
12997         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
12998         instead of [__USE_UNIX98].
12999         (S_ISSOCK): Likewise.
13000         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13001         variable.
13003         [BZ #20074]
13004         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13005         [__USE_POSIX].
13006         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13007         variable.
13009         [BZ #20051]
13010         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13011         (ttyslot): Do not declare.
13012         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13013         (ttyslot): New prototype.
13014         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13015         variable.
13016         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13018 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13020         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13022 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13024         Fix race condition in tst-mallocfork2, use fewer resources.
13025         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13026         to current process group.
13027         (signal_sender): Yield in the non-sleeping case.
13029 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13031         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13032         (ecvt): Likewise.
13033         (fcvt): Likewise.
13034         (gcvt): Likewise.
13035         (getsubopt): Likewise.
13036         (grantpt): Likewise.
13037         (initstate): Likewise.
13038         (l64a): Likewise.
13039         (mktemp): Likewise.
13040         (mkstemp): Likewise.
13041         (ptsname): Likewise.
13042         (random): Likewise.
13043         (realpath): Likewise.
13044         (setstate): Likewise.
13045         (srandom): Likewise.
13046         (ttyslot): Likewise.
13047         (unlockpt): Likewise.
13048         (valloc): Likewise.
13050         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13051         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13052         variable.
13054 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13056         [BZ #20072]
13057         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13058         init_cpu_features only if SHARED is defined.
13059         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13061 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13063         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13064         non-inclusive caches on Intel processors.
13066 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13068         * malloc/malloc.c (dumped_main_arena_start)
13069         (dumped_main_arena_end): New variables.
13070         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13071         (do_check_chunk): Skip dumped fake mmapped chunks.
13072         (munmap_chunk): Likewise.
13073         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13074         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13075         mmapped chunks.
13076         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13077         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13078         and dumped_main_arena_end to cover the dumped heap.
13080 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13082         * conform/data/time.h-data (getdate_err): Do not expect for
13083         [XPG3].
13084         (getdate): Likewise.
13085         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13086         variable.
13088         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13089         (F_ULOCK): Likewise.
13090         (F_TEST): Likewise.
13091         (F_TLOCK): Likewise.
13092         (useconds_t): Likewise.
13093         (intptr_t): Do not expect for [XPG3] or [XPG4].
13094         (brk): Do not expect for [XPG3]
13095         (fchown): Likewise.
13096         (fchdir): Likewise.
13097         (ftruncate): Likewise.
13098         (getdtablesize): Likewise.
13099         (gethostid): Likewise.
13100         (getpagesize): Likewise.
13101         (getpgid): Likewise.
13102         (getsid): Likewise.
13103         (getwd): Likewise.
13104         (lchown): Likewise.
13105         (lockf): Likewise.
13106         (readlink): Likewise.
13107         (sbrk): Likewise.
13108         (setpgrp): Likewise.
13109         (setregid): Likewise.
13110         (setreuid): Likewise.
13111         (symlink): Likewise.
13112         (sync): Likewise.
13113         (truncate): Likewise.
13114         (ualarm): Likewise.
13115         (usleep): Likewise.
13116         (vfork): Likewise.
13117         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13118         variable.
13120         [BZ #20054]
13121         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13122         not [__USE_UNIX98].
13123         * conform/data/unistd.h-data (gethostname): Do not expect for
13124         [XPG3].
13126         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13127         [!POSIX] (S_IFBLK): Likewise.
13128         [!POSIX] (S_IFCHR): Likewise.
13129         [!POSIX] (S_IFIFO): Likewise.
13130         [!POSIX] (S_IFREG): Likewise.
13131         [!POSIX] (S_IFDIR): Likewise.
13132         [!POSIX] (S_IFLNK): Likewise.
13133         [!POSIX] (S_IFSOCK): Likewise.
13134         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13135         variable.
13136         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13138 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13140         * sysdeps/aarch64/memset.S (__memset):
13141         Rewrite of optimized memset.
13143 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13145         [BZ #19703]
13146         Partially async-signal-safe fork for single-threaded processes.
13147         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13148         variable.  Do not acquire and reset/release malloc and libio locks
13149         in single-threaded processes.
13150         * malloc/tst-mallocfork2.c: New file.
13151         * malloc/Makefile (tests): Add it.
13153 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13155         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13156         argument.  Use scratch buffer instead of extend_alloca.
13157         (gethosts): Use scratch buffer instead of extend_alloca.
13158         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13159         extend_alloca.
13160         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13162 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13164         [BZ #20055]
13165         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13166         instead of [__USE_UNIX98].
13167         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13168         [__USE_UNIX98].
13169         * conform/data/termios.h-data (tcgetsid): Do not expect for
13170         [XPG3].
13171         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13172         variable.
13173         (test-xfail-XPG4/termios.h/conform): Likewise.
13175 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13177         Do not use mcheck in localedef.
13178         * locale/programs/localedef.c (turn_on_mcheck)
13179         (__malloc_initialize_hook): Remove.
13181 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13183         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
13184         * sysdeps/s390/s390-64/Makefile: Likewise.
13186 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13188         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
13189         Remove ifunc-defines.sym.
13190         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
13191         Likewise.
13192         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
13193         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13194         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
13195         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
13196         rtld-global-offsets.sym.
13197         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
13198         * sysdeps/x86/cpu-features-offsets.sym: This.
13199         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
13200         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
13202 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
13204         [BZ #20073]
13205         * io/sys/stat.h (fchmod): Declare for
13206         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
13207         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
13208         variable.
13210         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
13211         [XPG3] (S_IFSOCK): Likewise.
13212         [XPG3] (S_ISVTX): Likewise.
13213         [XPG3] (S_ISLNK): Likewise.
13214         [XPG3] (S_ISSOCK): Likewise.
13215         [XPG3] (fchmod): Likewise.
13216         [XPG3] (lstat): Likewise.
13217         [XPG3] (mknod): Likewise.
13219         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13220         [XPG3].  Expect type long and XFAIL for [XPG4].
13221         (st_blocks): Likewise.
13223         [BZ #20044]
13224         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
13225         (pthread_atfork): New prototype.
13226         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
13227         variable.
13229         [BZ #20043]
13230         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
13231         prototype.
13233 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13235         [BZ #20017]
13236         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
13237         gmtime.
13239 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13241         [BZ #19994]
13242         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
13243         flag in _res.options.
13245 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
13247         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
13248         [XPG3 || XPG4].
13249         (blksize_t): Likewise.
13250         (clockid_t): Likewise.
13251         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
13252         variable.
13253         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13255 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13257         * sysdeps/unix/sysv/linux/s390/init-first.c:
13258         Add VDSO_SYMBOL(getcpu).
13259         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
13260         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13261         Add VDSO_SYMBOL(getcpu).
13262         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13263         New define HAVE_GETCPU_VSYSCALL.
13264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13266 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13268         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13269         instead of <sysdeps/x86_64/cacheinfo.c>.
13270         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13271         * sysdeps/x86/cacheinfo.c: Here.
13273 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13275         * malloc/malloc-internal.h: Adjust header file guard.
13277 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13279         [BZ #19787]
13280         * inet/getnameinfo.c (check_sprintf_result): New function.
13281         (CHECKED_SNPRINTF): New macro.
13282         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13283         to the host buffer.
13284         (gni_host_local): Use checked_copy to copy the host name.
13285         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13286         (gni_serv_local): Use checked_copy to copy the service name.
13287         (getnameinfo): Remove unnecessary truncation of result buffers.
13289 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13291         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13292         in case of inet_ntop failure.
13294 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13296         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13297         avoid long lines.
13298         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13299         variables.
13300         (gni_host_inet, gni_host_local): Add comment.
13301         (gni_host): Add comment.  Use temporary to avoid long lines.
13303 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13305         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13306         registers specifiers where general purpose registers specifiers should
13307         have been used.
13309 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13311         [BZ #19779]
13312         CVE-2016-1234
13313         Avoid copying names of directory entries.
13314         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13315         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13316         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13317         (struct readdir_result): New type.
13318         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13319         (GL_READDIR): New macros.
13320         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13321         (convert_dirent, convert_dirent64): New functions.
13322         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13323         convert_dirent64.  Adjust references to the readdir result.
13324         * sysdeps/unix/sysv/linux/i386/glob64.c:
13325         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13326         * posix/bug-glob2.c (LONG_NAME): Define.
13327         (filesystem): Add LONG_NAME.
13328         (my_DIR): Increase the size of room_for_dirent.
13330 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13332         [BZ #20041]
13333         * misc/sys/select.h (__need_timespec): Only define if
13334         [__USE_XOPEN2K].
13335         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13336         variable.
13337         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13338         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13339         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13341 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13342             Segher Boessenkool  <segher@gcc.gnu.org>
13344         [BZ #20004]
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13346         (__novec_swapcontext): Add missing load.
13348 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13350         [BZ #20023]
13351         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13352         <time.h>.
13353         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13354         variable.
13355         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13357 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13360         flags CLONE_VM compare.
13362 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13364         [BZ #20031]
13365         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13366         completely empty.
13368 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13370         [BZ #19573]
13371         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13372         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13373         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13374         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13375         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13376         (hesiod_free_list): Mark as hidden.
13377         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13378         res_set, res_get.
13379         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13380         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13381         (hesiod_init): Remove obsolete res_ninit call.
13382         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13383         (hesiod_bind): Do not call init.
13384         (get_txt_records): Use res_mkquery, res_send instead of
13385         res_nmkquery, res_nsend.
13386         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13387         instead of _nss_hesiod_init.
13388         (_nss_hesiod_initgroups_dyn): Likewise.
13389         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13390         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13391         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13393 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13395         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13396         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13398 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13400         * hesiod/hesiod.h: Remove RCS keyword.
13401         * hesiod/hesiod_p.h: Likewise.
13403         * hesiod/hesiod.c: Likewise.
13405 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13407         [BZ #12450]
13408         * locale/iso-639.def: Add Samogitian/sgs.
13410 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13412         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13414         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13416 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13417             Carlos O'Donell  <carlos@redhat.com>
13419         [BZ #19072]
13420         * grp/Makefile (headers): Add grp-merge.h
13421         (routines): Add grp-merge.
13422         * grp/getgrgid_r.c: Include grp-merge.h.
13423         (DEEPCOPY_FN): Define.
13424         (MERGE_FN): Define.
13425         * grp/getgrname_r.c: Include grp-merge.h.
13426         (DEEPCOPY_FN): Define.
13427         (MERGE_FN): Define.
13428         * grp/grp-merge.c: New file.
13429         * grp/grp-merge.h: New file.
13430         * include/grp-merge.h: New file.
13431         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13432         __copy_grp@GLIBC_PRIVATE.
13433         * manual/nss.texi (Actions in the NSS configuration): Describe
13434         return, continue, and merge.
13435         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13436         (DEEPCOPY_FN): Define.
13437         (MERGE_FN): Define.
13438         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13439         (DEEPCOPY_FN): Define.
13440         (MERGE_FN): Define.
13441         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13442         [!MERGE_FN]: Define __merge_einval.
13443         (CHECK_MERGE): Define.
13444         (REENTRANT_NAME): Process merge if do_merge is true.
13445         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13446         (__nss_getent_r): Likewise.
13447         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13448         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13450 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13452         [BZ #20012]
13453         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13454         length to calculate the buffer to read.
13455         (fmemopen_write): Set the buffer position based on bytes written.
13456         (fmemopen_seek): Return EINVAL for invalid whence modes.
13458         [BZ #19957]
13459         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13460         tst-getpid2.
13461         (test): Add tst-clone2.
13462         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13463         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13464         pid/tid fields for CLONE_VM.
13465         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13466         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13467         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13468         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13469         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13470         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13471         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13472         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13474         Likewise.
13475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13476         Likewise.
13477         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13478         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13479         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13480         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13481         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13482         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13483         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13484         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13486 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13488         [BZ #19642]
13489         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13490         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13491         (gni_serv_local, gni_serv): New functions extracted from
13492         getnameinfo.
13493         (getnameinfo): Call gni_host and gni_serv to perform the
13494         processing.  Always free scratch buffer.
13496 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13498         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13499         remaining bytes in the dest string, with zeros.
13501 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13503         [BZ #20010]
13504         CVE-2016-3706
13505         * sysdeps/posix/getaddrinfo.c
13506         (convert_hostent_to_gaih_addrtuple): New function.
13507         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13508         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13509         AF_INET data.
13511 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13513         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13514         callback function gl_readdir.
13515         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13516         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13517         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13518         memcpy to copy the name.
13519         * manual/pattern.texi (Calling Glob): Document requirements for
13520         implementations of the gl_readdir callback function.
13521         * manual/examples/mkdirent.c: New example.
13522         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13523         per the manual guidance.
13524         * posix/tst-gnuglob.c (my_readdir): Likewise.
13526 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13528         [BZ #20014]
13529         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13530         not [__USE_POSIX].
13531         (getchar_unlocked): Likewise.
13532         (putc_unlocked): Likewise.
13533         (putchar_unlocked): Likewise.
13534         (flockfile): Likewise.
13535         (ftrylockfile): Likewise.
13536         (funlockfile): Likewise.
13537         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13538         variable.
13539         (test-xfail-XPG4/stdio.h/conform): Likewise.
13541         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13542         Expect constant.
13543         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13544         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13545         variable.
13546         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13547         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13549         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13550         [__USE_LARGEFILE64] (off64_t): Likewise.
13551         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13552         variable.
13554 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13556         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13558 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13560         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13561         * resolv/res_init.c: Likewise.
13562         * resolv/res_mkquery.c: Likewise.
13564 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13566         * resolv/res_init.c (isascii): Do not define.  Use definition in
13567         <ctype.h>.
13568         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13569         (LOG_AUTH): Remove.
13570         (SPRINTF): Remove, adjust caller.
13571         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13573 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13575         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13576         SUNSECURITY conditional.
13577         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13579 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13581         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13582         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13583         Remove BSD-related preprocessor conditionals.
13584         * conf/portability.h: Remove.
13586 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13588         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13589         * resolv/res_data.c: Likewise.
13591 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13593         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13594         * resolv/res_data.c: Remove code conditional on ultrix.
13596 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13598         * resolv/res_init.c (RFC1535): Do not define.  Remove
13599         RFC1535 preprocessor conditionals.
13600         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13601         because there configuration options which make the resolver
13602         behavior different.
13604 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13606         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13607         RESOLVSORT preprocessor conditionals.
13608         * resolv/nss_dns/dns-host.c: Likewise.
13609         * resolv/res_init.c: Likewise.
13611 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13613         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13614         is never defined.
13616 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13618         * inet/inet_lnaof.c: Remove SCSS keyword.
13619         * inet/inet_mkadr.c: Likewise.
13620         * inet/inet_net.c: Likewise.
13621         * inet/inet_netof.c: Likewise.
13622         * inet/rcmd.c: Likewise.
13623         * inet/rexec.c: Likewise.
13624         * inet/ruserpass.c: Likewise.
13626 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13628         * resolv/inet_addr.c: Remove _LIBC conditionals.
13629         * resolv/res_data.c: Likewise.
13630         * resolv/res_init.c: Likewise.
13631         * resolv/res_mkquery.c: Likewise.
13632         * resolv/res_libc.c: Update comment.
13633         * resolv/README: Update.
13635 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13637         * resolv/gethnamaddr.c: Remove SCSS keyword.
13638         * resolv/herror.c: Likewise.
13639         * resolv/inet_addr.c: Likewise.
13640         * resolv/inet_net_ntop.c: Likewise.
13641         * resolv/inet_net_pton.c: Likewise.
13642         * resolv/inet_neta.c: Likewise.
13643         * resolv/inet_ntop.c: Likewise.
13644         * resolv/inet_pton.c: Likewise.
13645         * resolv/ns_date.c: Remove RCS keyword.
13646         * resolv/ns_name.c: Likewise.
13647         * resolv/ns_netint.c: Likewise.
13648         * resolv/ns_parse.c: Likewise.
13649         * resolv/ns_print.c: Likewise.
13650         * resolv/ns_samedomain.c: Likewise.
13651         * resolv/ns_ttl.c: Likewise.
13652         * resolv/nsap_addr.c: Likewise.
13653         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13654         * resolv/res_data.c: Remove RCS keyword.
13655         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13656         * resolv/res_init.c: Likewise.
13657         * resolv/res_mkquery.c: Likewise.
13658         * resolv/res_query.c: Likewise.
13659         * resolv/res_send.c: Likewise.
13661 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13663         * conform/data/stdio.h-data (fdopen): Expect also for
13664         [XPG3 || XPG4].
13666         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13667         (fseeko): Likewise.
13668         (ftello): Likewise.
13669         (ftrylockfile): Likewise.
13670         (funlockfile): Likewise.
13671         (getc_unlocked): Likewise.
13672         (getchar_unlocked): Likewise.
13673         (putc_unlocked): Likewise.
13674         (putchar_unlocked): Likewise.
13676 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13678         [BZ #19868]
13679         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13680         DNS packet syntax checks (which were not needed before).  Skip
13681         over non-PTR records.
13683 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13685         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13686         definition.  Include <stddef.h> instead.
13688 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13690         [BZ #19831]
13691         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13692         function.
13693         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13694         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13696 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13698         [BZ #19862]
13699         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13700         (getanswer_r): Do not call syslog.
13701         (gaih_getanswer_slice): Likewise.
13702         * resolv/gethnamaddr.c (AskedForGot): Remove.
13703         (getanswer): Do not call syslog.
13704         (gethostbyaddr): Likewise.
13706 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13708         * conform/data/signal.h-data (union sigval): Expect also if
13709         [XOPEN2K].
13710         (struct sigevent): Likewise.
13711         (SIGEV_NONE): Likewise.
13712         (SIGEV_SIGNAL): Likewise.
13713         (SIGEV_THREAD): Likewise.
13714         (SIGRTMIN): Likewise.
13715         (SIGRTMAX): Likewise.
13716         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13717         variable.
13718         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13720 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13722         [BZ #19830]
13723         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13724         (gaih_getanswer_slice): Likewise.
13725         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13726         Also check for availability of RR metadata.
13728 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13730         [BZ #19825]
13731         * resolv/res_send.c (send_vc): Remove early *resplen2
13732         initialization.  Set *resplen2 on socket error.  Call
13733         close_and_return_error for other errors.
13735 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13737         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13738         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13739         (SCM_IUCV_TRGCLS): New define.
13741 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13743         [BZ #20005]
13744         * libio/fmemopen.c (fmemopen_write): Update internal position after
13745         write.
13746         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13747         * stdio-common/tst-fmemopen4.c: New file..
13749 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13751         [BZ #19996]
13752         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13753         not [__USE_XOPEN2K].
13754         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13755         variable.
13757         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13758         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13759         variable.
13761         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13762         [__USE_XOPEN2K8].
13763         [__USE_LARGEFILE64] (off64_t): Likewise.
13764         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13765         variable.
13767 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13769         [BZ #19989]
13770         * libio/stdio.h (cuserid): Do not declare if
13771         [__USE_XOPEN2K && !__USE_GNU].
13772         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13773         variable.
13775 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13777         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13778         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13780         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13781         ifunc'ed strcspn.
13782         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13783         [EALIGN]: Removed.
13784         [END]: Likewise
13785         [STRSPN]: Define instead of the above to control symbol name.
13786         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13787         New file.
13788         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13789         Likewise.
13790         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13791         Likewise.
13792         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13793         Likewise.
13794         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13795         [INITIAL_MASK]: New macro.
13796         [STRCSPN]: Likewise.
13797         [UPDATE_MASK]: Likewise.
13798         [USE_AS_STRCSPN]: Likewise.
13800 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13802         [BZ #19931]
13803         * stdio-common/tst-vfprintf-width-prec.c: New file.
13804         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13805         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13806         (generated): Add mtrace-related files.
13807         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13808         (tst-%-mem.out): New pattern rule, replaces
13809         tst-printf-bz18872-mem.out.
13810         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13811         specifier, deallocate any previously allocated work buffer.
13813 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13815         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13816         Add nop before __startcontext, add explaining comments.
13818 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13820         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13821         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13822         completely different API.
13824         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13825         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13826         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13827         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13828         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13829         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13830         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13831         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13832         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13833         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13835 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13837         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13839 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13841         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13842         when it is the default of 0.
13844 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13846         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
13847         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13848         (sysdep_routines): Add new strcasestr targets.
13849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13850         (__libc_ifunc_impl_list): Likewise.
13851         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13852         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13853         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13854         * sysdeps/powerpc/powerpc64/power8/Makefile:
13855         New file to add strcasestr-ppc64 to sysdep_routines.
13856         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13857         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13859 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
13861         * benchtests/Makefile (wcsmbs-benchset): Include only for
13862         native builds and runs.
13863         (LOCALES): Likewise.
13864         (bench-build): Build timing-type here instead of the bench
13865         target.  Generate locale only for native builds.
13866         * benchtests/README: Add note for cross-building.
13868         * benchtests/Makefile (bench-clean): Clean up extra-objs.
13870         * benchtests/README: Update README to include instructions on
13871         using bench-build.
13873         * Makefile.in (bench-build): New target.
13874         * Rules (PHONY): Add bench-build target.
13875         * benchtests/Makefile (bench): Depend on bench-build.
13876         (bench-build): New target.
13878 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13880         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
13881         profil_reply_port.
13882         (profile_waiter): Do not initialize profil_reply_port.
13883         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
13884         frequency instead of tick length in us.
13886 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
13888         [BZ #18712]
13889         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
13890         (__old_mempcpy_small): Likewise.
13891         (__old_strcpy_small): Likewise.
13892         (__old_stpcpy_small): Likewise.
13893         (__old_strpbrk_c2): Fix compat symbol name.
13894         (__old_strpbrk_c3): Likewise.
13895         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
13896         (__mempcpy_small): Remove.
13897         (__strcpy_small): Remove.
13898         (__stpcpy_small): Remove.
13900 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
13902         [BZ #19400]
13903         * locale/iso-639.def: Add the Talossan/tzl language.
13905 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13907         [BZ #16983]
13908         * locale/programs/ld-address.c (address_finish): Update postal_fmt
13909         comment.  Add "ln" to strchr check on postal_fmt.
13911 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13913         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
13914         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
13915         tel_dom_fmt.
13917 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13919         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13920         (sysdep_routines): Added __strlen_power8.
13921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
13922         __strlen_power8 entry.
13923         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
13924         Implementation for POWER8.
13925         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
13926         for __strlen_power8.
13927         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
13928         Implementation for POWER8.
13930 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
13932         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
13934 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
13936         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
13937         Goldmont and Airmont processors.
13939 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
13941         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
13942         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
13943         (__STRING2_SMALL_GET32): Remove.
13944         (memset): Remove.
13945         (__memset_1): Remove.
13946         (__memset_gc): Remove.
13947         (__mempcpy): Remove.
13948         (mempcpy): Remove.
13949         (__mempcpy_args): Remove.
13950         (strchr): Remove.
13951         (strcpy): Remove.
13952         (strcpy_args): Remove.
13953         (__stpcpy_args): Remove.
13954         (__strcmp_cc): Remove.
13955         (__strcmp_gc): Remove.
13956         (strstr): Remove.
13958 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
13960         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
13961         * nis/nis_call.c (nis_server_cache_add): Likewise.
13963 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13965         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
13967 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13969         * malloc/arena.c (__malloc_fork_lock_parent)
13970         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
13971         internal_function attribute.
13973 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
13975         * stdio-common/printf_fp.c (__printf_fp_l):
13976         Rename ___printf_fp_l to __printf_fp_l and
13977         remove strong alias. Use libc_hidden_def instead
13978         of ldbl_hidden_def macro.
13980 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13982         Remove malloc hooks from fork handler.  They are no longer needed
13983         because malloc runs right before fork, and no malloc calls from
13984         other fork handlers are not possible anymore.
13985         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
13986         declarations.
13987         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
13988         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
13989         (atfork_recursive_cntr): Remove.
13990         (__malloc_fork_lock_parent): Do not override malloc hooks and
13991         thread_arena.
13992         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
13993         thread_arena.
13994         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
13995         thread_arena instead of save_arena.
13997 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13999         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14000         (thread_atfork, thread_atfork_static): Remove.
14001         * sysdeps/mach/hurd/malloc-machine.h:
14002         (thread_atfork, thread_atfork_static): Remove.
14004 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14006         [BZ #19431]
14007         Run the malloc fork handler as late as possible to avoid deadlocks.
14008         * malloc/malloc-internal.h: New file.
14009         * malloc/malloc.c: Include it.
14010         * malloc/arena.c (ATFORK_MEM): Remove.
14011         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14012         Update comment.
14013         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14014         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14015         Remove outdated comment.
14016         (ptmalloc_init): Do not call thread_atfork.  Remove
14017         thread_atfork_static.
14018         * malloc/tst-malloc-fork-deadlock.c: New file.
14019         * Makefile (tests): Add tst-malloc-fork-deadlock.
14020         (tst-malloc-fork-deadlock): Link against libpthread.
14021         * manual/memory.texi (Aligned Memory Blocks): Update safety
14022         annotation comments.
14023         * sysdeps/nptl/fork.c (__libc_fork): Call
14024         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14025         __malloc_fork_unlock_child.
14026         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14028 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14030         [BZ #19613]
14031         Remove union wait.
14032         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14033         (w_stopsig, w_stopval): Remove.
14034         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14035         stat_loc argument.
14036         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14037         (__WAIT_STATUS_DEFN): Remove.
14038         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14039         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14040         (wait, wait3, wait4): Use int * for the stat_loc argument.
14041         * posix/wait.c (__wait): Likewise.
14042         * posix/wait3.c (__wait3): Likewise.
14043         * posix/wait4.c (__wait4): Likewise.
14044         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14045         (__WAIT_STATUS_DEFN): Remove.
14046         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14047         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14048         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14049         argument.
14050         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14051         * sysdeps/posix/wait3.c (__wait3): Likewise.
14052         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14053         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14054         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14055         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14056         stat_loc argument.
14057         * manual/process.texi (BSD Wait Functions): Remove union wait.
14059 2016-04-13  Andreas Schwab  <schwab@suse.de>
14061         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14062         (test-extras): Add tst-tlsalign-vars.
14063         * math/Makefile: Wrap long lines.
14064         (libm-vec-test-wrappers): Define.
14065         (test-extras): Add $(libm-vec-test-wrappers).
14066         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14067         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14068         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14069         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14070         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14071         (extra-test-objs): Add corresponding objects.
14073 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14075         [BZ #19928]
14076         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14077         New.
14078         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14079         times of shared cache size.
14080         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14081         (VMOVNT): New.
14082         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14083         (VMOVNT): Likewise.
14084         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14085         (VMOVNT): Likewise.
14086         (VMOVU): Changed to movups for smaller code sizes.
14087         (VMOVA): Changed to movaps for smaller code sizes.
14088         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14089         comments.
14090         (PREFETCH): New.
14091         (PREFETCH_SIZE): Likewise.
14092         (PREFETCHED_LOAD_SIZE): Likewise.
14093         (PREFETCH_ONE_SET): Likewise.
14094         Rewrite to use forward and backward loops, which move 4 vector
14095         registers at a time, to support overlapping addresses and use
14096         non temporal store if size is above the threshold and there is
14097         no overlap between destination and source.
14099 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14101         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14102         Include dl-vdso.
14103         * sysdeps/unix/sysv/linux/mips/Versions: Add
14104         __vdso_clock_gettime.
14105         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14106         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14107         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14108         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14109         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14110         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14111         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14112         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14113         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14115 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14117         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14118         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14120         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14121         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14122         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14125         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14127         syscalls generation.
14128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14129         [__NR_pwrite64] (__NR_write): Remove define.
14130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14131         [__NR_pwrite64] (__NR_write): Remove define.
14132         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14133         Remove define.
14134         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14135         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14136         Remove define.
14137         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14138         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14139         Linux implementation as base.
14140         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14142         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14143         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14144         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14148         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14149         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14150         syscall generation.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14152         [__NR_pread64] (__NR_pread): Remove define.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14154         [__NR_pread64] (__NR_pread): Likewise.
14155         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14156         define.
14157         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14158         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14159         Remove define.
14160         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14161         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14162         Linux implementation as base.
14163         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14164         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14165         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14167         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14168         definition.
14169         (__ALIGNMENT_COUNT): Likewise.
14170         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14171         (__ALIGNMENT_COUNT): Likewise.
14172         (SYSCALL_LL): New define.
14173         (SYSCALL_LL64): Likewise.
14174         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14175         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14176         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14177         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14179         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14180         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14181         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14182         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14183         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14184         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14186 2016-04-11  Florian Weimer  <fweimer@redhat.com>
14188         [BZ #19865]
14189         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
14190         original buffer before retry.
14192 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14194         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
14195         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
14196         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
14197         GLRO(dl_auxv) list.
14198         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
14199         including <ldsodefs.h>.
14200         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
14202 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
14204         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
14205         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
14206         $(CPPFLAGS).
14208 2016-04-09  Khem Raj  <raj.khem@gmail.com>
14210         [BZ #17950]
14211         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
14212         Add -mfpmath=387.
14214 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
14216         * sysdeps/i386/configure.ac: Change == to = when calling test.
14217         * sysdeps/x86_64/configure.ac: Likewise.
14218         * sysdeps/i386/configure: Regenerated.
14219         * sysdeps/x86_64/configure: Likewise.
14221 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
14223         [BZ #16137]
14224         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
14225         * benchtests/bench-strcoll.c (input_files): Likewise.
14226         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14227         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
14228         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
14230 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
14232         [BZ #19929]
14233         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
14234         [__USE_XOPEN2K8 && !__USE_GNU].
14235         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
14236         variable.
14238         [BZ #19925]
14239         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
14240         define if [!__USE_MISC && __USE_XOPEN2K].
14241         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
14242         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
14243         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
14244         Likewise.
14245         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
14246         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
14247         variable.
14248         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14250 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14252         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14253         (sysdep_routines): Add new strspn targets.
14254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14255         (__libc_ifunc_impl_list): Add strspn.
14256         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14257         New file.
14258         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
14259         Likewise.
14260         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14261         Likewise.
14262         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14263         Likewise.
14265 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14267         * misc/hsearch_r.c: Include <limits.h>.
14269 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14271         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14273 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14275         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14276         (MEMCPY_SYMBOL): New.
14277         (MEMPCPY_SYMBOL): Likewise.
14278         (MEMMOVE_CHK_SYMBOL): Likewise.
14279         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14280         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14281         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14282         Provide alias for memcpy in libc.a and ld.so.
14284 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14286         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14287         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14288         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14289         Disabled fro now.
14290         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14291         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14293 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14295         * benchtests/Makefile (string-benchset): Add memcpy-large,
14296         memmove-large and memset-large.
14297         * benchtests/bench-memcpy-large.c: New file.
14298         * benchtests/bench-memmove-large.c: Likewise.
14299         * benchtests/bench-memmove-large.c: Likewise.
14300         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14302 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14304         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14305         32-bit displacement to avoid long nop between instructions.
14307 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14309         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14310         a comment on VMOVU and VMOVA.
14312 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14314         [BZ #19633]
14315         Use specified locale for number formatting in strfmon_l.
14316         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14317         (__nl_lookup_word): New inline functions.
14318         * include/printf.h (__print_fp_l): Declare.
14319         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14320         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14321         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14322         (___printf_fp): New function.
14323         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14324         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14325         * stdlib/tst-strfmon_l.c (do_test): New test.
14326         * stdlib/Makefile (tests): Add kt.
14327         (LOCALES): Build additional locales.
14328         (tst-strfmon_l.out): Require locales.
14330 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14332         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14333         if not in libc.
14334         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14335         Likewise.
14336         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14337         Likewise.
14338         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14339         Likewise.
14341 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14343         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14344         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14345         with unaligned_erms.
14346         (__memmove_erms): Skip if source == destination.
14347         (__memmove_unaligned_erms): Don't check source == destination
14348         first.
14350 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14352         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14353         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14355 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14357         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14358         * string/strspn.c (strspn): Likewise.
14360 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14362         * benchtests/bench-memset.c (do_test): Support 64-byte
14363         alignment.
14364         (test_main): Test 64-byte alignment.
14366 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14368         * benchtests/bench-memmove.c (test_main): Test 64-byte
14369         alignment.
14371 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14373         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14375 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14377         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14378         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14379         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14381         * string/strpbrk.c (strpbrk): Rewrite function.
14382         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14383         (__strpbrk_c2): Likewise.
14384         (__strpbrk_c3): Likewise.
14385         * string/string-inlines.c
14386         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14387         Likewise.
14388         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14389         Likewise.
14391         * string/strspn.c (strcspn): Rewrite function.
14392         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14393         (__strspn_c1): Remove inline function.
14394         (__strspn_c2): Likewise.
14395         (__strspn_c3): Likewise.
14396         * string/string-inlines.c
14397         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14398         compatibility symbol.
14399         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14400         Likewise.
14401         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14402         Likewise.
14403         * string/string-inlines.c: Include generic version.
14405 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14406             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14408         * string/Version (libc): Add GLIBC_2.24.
14409         * string/strcspn.c (strcspn): Rewrite function.
14410         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14411         (__strcspn_c1): Remove inline function.
14412         (__strcspn_c2): Likewise.
14413         (__strcspn_c3): Likewise.
14414         * string/string-inline.c
14415         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14416         compatibility symbol.
14417         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14418         Likewise.
14419         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14420         Likewise.
14421         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14423 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14425         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14426         Use ahi instead of aghi to adjust stack pointer.
14428 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14430         [BZ #19853]
14431         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14432         TEST to take significant digits as second parameter.
14433         [TEST]: Redefine in terms of TEST_N taking 30
14434         significant digits.
14435         (do_test): Add test case to demonstrate precision
14436         failure in the ldbl-128ibm printf.
14437         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14438         (__mpn_extract_long_double): Carry 7 extra intermediate
14439         bits of precision to aide computing difference when
14440         signs differ.
14442 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14444         [BZ #19881]
14445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14446         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14447         memset-avx512-unaligned-erms.
14448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14449         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14450         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14451         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14452         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14453         __memset_sse2_unaligned_erms, __memset_erms,
14454         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14455         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14456         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14457         file.
14458         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14459         Likewise.
14460         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14461         Likewise.
14462         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14463         Likewise.
14465 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14467         [BZ #19776]
14468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14469         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14470         memmove-avx512-unaligned-erms.
14471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14472         (__libc_ifunc_impl_list): Test
14473         __memmove_chk_avx512_unaligned_2,
14474         __memmove_chk_avx512_unaligned_erms,
14475         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14476         __memmove_chk_sse2_unaligned_2,
14477         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14478         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14479         __memmove_avx512_unaligned_erms, __memmove_erms,
14480         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14481         __memcpy_chk_avx512_unaligned_2,
14482         __memcpy_chk_avx512_unaligned_erms,
14483         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14484         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14485         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14486         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14487         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14488         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14489         __mempcpy_chk_avx512_unaligned_erms,
14490         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14491         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14492         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14493         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14494         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14495         __mempcpy_erms.
14496         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14497         file.
14498         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14499         Likewise.
14500         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14501         Likewise.
14502         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14503         Likewise.
14505 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14507         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14508         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14509         (La_s390_64_regs): Likewise.
14510         (La_s390_32_retval): Append vector register lrv_v24.
14511         (La_s390_64_retval): Likeweise.
14512         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14513         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14514         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14515         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14517 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14519         [BZ #19916]
14520         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14521         to create a non-vector/vector version for _dl_runtime_resolve and
14522         _dl_runtime_profile. Move implementation to ...
14523         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14524         (_dl_runtime_resolve) Save and restore fpr/vrs.
14525         (_dl_runtime_profile) Save and restore vrs and fix some issues
14526         if _dl_call_pltexit is called.
14527         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14528         Choose the correct resolver function if running on a machine with vx.
14529         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14530         to create a non-vector/vector version for _dl_runtime_resolve and
14531         _dl_runtime_profile. Move implementation to ...
14532         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14533         (_dl_runtime_resolve) Save and restore fpr/vrs.
14534         (_dl_runtime_profile) Save and restore vrs and fix some issues
14535         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14536         Choose the correct resolver function if running on a machine with vx.
14538 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14540         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14542 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14544         [BZ #19509]
14545         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14546         skip_map != NULL.
14547         * elf/tst-dlsym-error.c: New file.
14548         * elf/Makefile (tests): Add tst-dlsym-error.
14549         (tst-dlsym-error): Link against libdl.
14551 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14554         (__ASSUME_FUTIMESAT): Remove macro.
14555         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14557 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14559         [BZ #19879]
14560         CVE-2016-3075
14561         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14562         copy name.
14564 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14566         [BZ #19837]
14567         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14568         error if parse_line fails.
14570 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14572         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14573         (index_cpu_ERMS): Likewise.
14574         (reg_ERMS): Likewise.
14576 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14578         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14579         PER_LINUX_FDPIC): Add.
14581 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14584         memcpy-avx512-no-vzeroupper.
14585         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14586         to ...
14587         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14588         (MEMCPY): Don't define.
14589         (MEMCPY_CHK): Likewise.
14590         (MEMPCPY): Likewise.
14591         (MEMPCPY_CHK): Likewise.
14592         (MEMPCPY_CHK): Renamed to ...
14593         (__mempcpy_chk_avx512_no_vzeroupper): This.
14594         (MEMPCPY_CHK): Renamed to ...
14595         (__mempcpy_chk_avx512_no_vzeroupper): This.
14596         (MEMCPY_CHK): Renamed to ...
14597         (__memmove_chk_avx512_no_vzeroupper): This.
14598         (MEMCPY): Renamed to ...
14599         (__memmove_avx512_no_vzeroupper): This.
14600         (__memcpy_avx512_no_vzeroupper): New alias.
14601         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14603 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14605         [BZ #18858]
14606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14607         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14608         and mempcpy-avx512-no-vzeroupper.
14609         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14610         New.
14611         (MEMPCPY): Likewise.
14612         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14613         (MEMPCPY_CHK): New.
14614         (MEMPCPY): Likewise.
14615         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14616         (MEMPCPY): Likewise.
14617         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14618         (MEMPCPY): Likewise.
14619         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14620         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14621         Likewise.
14622         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14623         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14625 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14626              Amit Pawar  <Amit.Pawar@amd.com>
14628         [BZ #19583]
14629         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14630         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14631         processors.  Set Fast_Copy_Backward for AMD Excavator
14632         processors.
14633         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14634         New.
14635         (index_arch_Fast_Unaligned_Copy): Likewise.
14636         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14637         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14639 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14641         [BZ #19791]
14642         * resolv/res_send.c (close_and_return_error): New function.
14643         (send_dg): Initialize *resplen2 after reopen failure.  Call
14644         close_and_return_error for error returns.  On error paths without
14645         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14646         successful return.
14648 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14650         [BZ# 19860]
14651         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14652         zero if the compiler does not provide the AVX512F bit.
14654 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14656         [BZ #19848]
14657         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14658         from 8 to 4.
14659         (__ieee754_powl): Compare integer exponent against 4 not 8.
14660         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14661         from 8 to 4.
14662         (__ieee754_powl): Compare integer exponent against 4 not 8.
14663         * math/auto-libm-test-in: Add more tests of pow.
14664         * math/auto-libm-test-out: Regenerated.
14665         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14668 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14670         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14671         Make code unconditional.
14672         [!__NR_utimensat]: Remove conditional code.
14673         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14674         Make code unconditional.
14675         [!__NR_utimensat]: Remove conditional code.
14676         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14677         Make code unconditional.
14678         [!__NR_utimensat]: Remove conditional code.
14680 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14682         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14683         Make code unconditional.
14685 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14687         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14688         call-clobbered %eax on retry path.
14689         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14691 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14693         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14694         Don't set %rcx twice before "rep movsb".
14696 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14698         [BZ #19583]
14699         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14700         inline.  Check family before setting family, model and
14701         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14702         bits here.
14703         (init_cpu_features): Replace HAS_CPU_FEATURE and
14704         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14705         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14706         for Intel processors with usable AVX2.  Call get_common_indeces
14707         for other processors with family == NULL.
14708         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14709         (CPU_FEATURES_ARCH_P): Likewise.
14710         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14711         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14713 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14715         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14716         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14717         $(shared-thread-library) instead of hardcoding the path to libpthread.
14719 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14721         * sysdeps/unix/sysv/linux/kernel-features.h
14722         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14723         * sysdeps/unix/sysv/linux/getdents.c
14724         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14725         [!have_no_getdents64_defined]: Likewise.
14726         (__GETDENTS): Remove __have_no_getdents64 conditional.
14728 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14730         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14731         Remove macro.
14732         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14733         <kernel-features.h>.
14734         (signalfd) [__NR_signalfd4]: Make code unconditional.
14735         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14737 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14739         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14740         style.
14742 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14744         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14745         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14746         __pthread_unwind.
14747         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14748         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14749         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14750         (__condvar_cleanup1): Likewise.
14752 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14754         [BZ #19822]
14755         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14756         move it to the final $@ location.
14758 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14760         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14761         access where posix_spawn success and pid argument is null.
14762         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14763         success case.
14765 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14767         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14769         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14771         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14772         and __fcntl.
14773         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14774         __fcntl only.
14775         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14776         adding attribute_hidden to __open and __fcntl.
14778         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14779         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14780         depend on libc-modules.h,
14781         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14783 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14786         Remove macro.
14787         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14788         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14789         entry.
14791         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14792         Remove macro.
14793         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14794         include <kernel-features.h>.
14795         [!__ASSUME_FALLOCATE]: Remove conditional code.
14796         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14798 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14800         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14801         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14803         (_ZGVdN4v_cos_avx2): Likewise.
14804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14805         (_ZGVdN4v_cos): Likewise.
14806         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14807         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14808         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14809         (_ZGVdN4v_exp_avx2): Likewise.
14810         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14811         (_ZGVdN4v_exp): Likewise.
14812         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14813         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14814         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14815         (_ZGVdN4v_log_avx2): Likewise.
14816         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14817         (_ZGVdN4v_log): Likewise.
14818         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14819         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14820         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14821         (_ZGVdN4vv_pow_avx2): Likewise.
14822         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14823         (_ZGVdN4vv_pow): Likewise.
14824         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14825         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14827         (_ZGVdN4v_sin_avx2): Likewise.
14828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14829         (_ZGVdN4v_sin): Likewise.
14830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14831         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14832         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14833         (_ZGVdN4vvv_sincos_avx2): Likewise.
14834         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14835         (_ZGVdN4vvv_sincos): Likewise.
14836         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14837         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14838         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14839         (_ZGVbN4v_cosf_sse4): Likewise.
14840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14841         (_ZGVdN8v_cosf_avx2): Likewise.
14842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14843         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14845         (_ZGVbN4v_expf_sse4): Likewise.
14846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14847         (_ZGVdN8v_expf_avx2): Likewise.
14848         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14849         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14850         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14851         (_ZGVbN4v_logf_sse4): Likewise.
14852         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14853         (_ZGVdN8v_logf_avx2): Likewise.
14854         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14855         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14856         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14857         (_ZGVbN4vv_powf_sse4): Likewise.
14858         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14859         (_ZGVdN8vv_powf_avx2): Likewise.
14860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14861         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14862         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14863         (_ZGVbN4vvv_sincosf_sse4): Likewise.
14864         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14865         (_ZGVdN8vvv_sincosf_avx2): Likewise.
14866         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14867         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14868         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14869         (_ZGVbN4v_sinf_sse4): Likewise.
14870         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14871         (_ZGVdN8v_sinf_avx2): Likewise.
14872         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14873         Use JUMPTARGET to call callee.
14874         (WRAPPER_IMPL_SSE2_ff): Likewise.
14875         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14876         (WRAPPER_IMPL_AVX): Likewise.
14877         (WRAPPER_IMPL_AVX_ff): Likewise.
14878         (WRAPPER_IMPL_AVX_fFF): Likewise.
14879         (WRAPPER_IMPL_AVX512): Likewise.
14880         (WRAPPER_IMPL_AVX512_ff): Likewise.
14881         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14882         Likewise.
14883         (WRAPPER_IMPL_SSE2_ff): Likewise.
14884         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14885         (WRAPPER_IMPL_AVX): Likewise.
14886         (WRAPPER_IMPL_AVX_ff): Likewise.
14887         (WRAPPER_IMPL_AVX_fFF): Likewise.
14888         (WRAPPER_IMPL_AVX512): Likewise.
14889         (WRAPPER_IMPL_AVX512_ff): Likewise.
14890         (WRAPPER_IMPL_AVX512_fFF): Likewise.
14892 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14894         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
14895         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
14896         qualifier.
14897         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
14898         internal_function qualifiers.
14900 2016-03-15  Carlos O'Donell <carlos@redhat.com>
14902         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
14903         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
14904         * math/atest-exp.c (exp_mpn): Mark chk unused.
14905         * math/atest-exp2.c (exp_mpn): Likewise.
14906         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
14907         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
14909 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
14911         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
14912         Remove macro.
14913         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
14914         <kernel-features.h>.
14915         [__NR_ppoll]: Make code unconditional.
14916         [!__ASSUME_PPOLL]: Remove conditional code.
14918         * sysdeps/unix/sysv/linux/kernel-features.h
14919         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
14920         (__ASSUME_ACCEPT4): Likewise.
14921         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14922         Define.
14923         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
14924         Likewise.
14925         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14926         Likewise.
14927         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
14928         Likewise.
14929         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
14930         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
14931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14932         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14933         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14936         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14937         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14938         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14939         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14940         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14941         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14942         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14943         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14945         Likewise.
14946         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14947         Likewise.
14948         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14949         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14950         0x040300].
14951         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14952         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14953         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14954         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14955         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14956         0x030300].
14957         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
14958         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14959         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14960         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14961         0x040300].
14962         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14963         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14964         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14965         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14966         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14967         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14968         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14969         0x030300].
14970         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14971         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14972         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14973         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14974         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14975         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14976         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14977         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14978         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14979         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14980         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14981         0x040300].
14982         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14983         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14984         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14985         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14986         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14987         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14988         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14989         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14990         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14991         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14992         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14993         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14994         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14995         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14996         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
14997         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14998         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14999         Likewise.
15000         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15001         Likewise.
15003 2016-03-15  Andreas Schwab  <schwab@suse.de>
15005         [BZ #19257]
15006         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15007         statp->_u._ext.nscount as loop count.
15009 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15011         * math/test-signgam-finite-c99.c: Also #undef
15012         __LIBC_INTERNAL_MATH_INLINES.
15013         * math/test-signgam-main.c: Likewise.
15015 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15017         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15018         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15019         (MADV_FREE): Likewise.
15020         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15021         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15022         EPOLLEXCLUSIVE.
15024 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15026         * timezone/README: Remove mention of checktab.awk. Mention wiki
15027         SharedSourceFiles.
15029 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15031         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15032         WUNTRACED.
15034 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15036         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15037         order to match the type of p when calling atomic_exchange_acq().
15039 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15041         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15042         cfi_offset calls.
15043         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15044         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15045         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15046         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15047         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15049 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15051         * timezone/checktab.awk: Removed.
15053 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15055         * manual/math.texi (Errors in Math Functions): Document relaxed
15056         accuracy goals for IBM long double.
15057         * math/libm-test.inc (test_exceptions): Always allow spurious
15058         "underflow" and "inexact" exceptions for IBM long double.
15060 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15062         [BZ #19762]
15063         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15064         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15065         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15066         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15067         (bit_arch_*): This for feature array.
15068         (bit_*): Renamed to ...
15069         (bit_cpu_*): This for cpu array.
15070         (index_*): Renamed to ...
15071         (index_arch_*): This for feature array.
15072         (index_*): Renamed to ...
15073         (index_cpu_*): This for cpu array.
15074         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15075         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15076         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15077         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15078         bit_##name with index_cpu_##name and bit_cpu_##name.
15079         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15080         bit_##name with index_arch_##name and bit_arch_##name.
15082 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15084         [BZ #19792]
15085         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15086         Terminate FDE before return label.
15088 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15090         [BZ #19790]
15091         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15092         (rintl): Define as macro.
15093         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15094         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15095         of fesetround.  Ensure results are evaluated before end of scope.
15096         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15097         USE_AS_NEARBYINTL and include s_rintl.c.
15098         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15099         Disable exception traps in new environment.
15100         (libc_feholdsetround_ppc_ctx): Likewise.
15102 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15104         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15105         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15106         (tst_audit10_aux) [__AVX512F__]: ... here.
15108 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15110         * include/sys/auxv.h: New file.
15112 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15114         [BZ #19759]
15115         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15117 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15119         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15120         operand modifier.
15121         (feclearexcept): Likewise.
15123 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15125         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15126         to reflect the entire 32-bit HWCAP.
15127         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15128         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15130 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15132         [BZ #19783]
15133         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15134         $(test-via-rtld-prefix).
15135         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15137 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15139         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15140         union wait.  Report any non-zero exit status as error.
15142 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15144         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15145         configured with --enable-hardcoded-path-in-tests.
15147 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15149         [BZ #19677]
15150         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15151         (__ieee754_remainderl): Put zero low parts in canonical form.
15152         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15153         file.  Based on
15154         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15155         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15156         with wrapper round test-fmodrem-ldbl-128ibm.c.
15157         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15158         file.
15159         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15160         Likewise.
15161         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15162         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15164 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15166         [BZ #19610]
15167         * elf/ldconfig.c (opt_link): Update comment.
15168         (options): Update help string for option -X.
15169         (search_dir): Unlink stale symbolic link only if updating symbolic
15170         links.
15171         * elf/tst-ldconfig-X.sh: New file.
15172         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15173         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15175 2016-03-07  Andreas Schwab  <schwab@suse.de>
15177         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15178         needed arguments.
15180 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15182         [BZ #15333]
15183         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
15184         to lstat64.
15186 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15188         * libio/filedoalloc.c (isatty): Remove.
15189         (local_isatty): Add comment.  Call __isatty directly.
15190         (_IO_file_doallocate): Update comment.  Assume _LIBC.
15191         * libio/wfiledoalloc.c (isatty): Remove.
15192         (_IO_wfile_doallocate): Update comment.
15194 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15196         [BZ #19269]
15197         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
15198         tst-audit4-aux.o.
15199         (tst-audit10): Depend on tst-audit10-aux.o.
15200         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
15201         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
15202         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
15203         instead of inline AVX code.
15204         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
15205         instead of inline AVX512 code.
15206         * sysdeps/x86_64/tst-audit4-aux.c: New file
15207         * sysdeps/x86_64/tst-audit10-aux.c: New file
15209         [BZ #19648]
15210         * test-skeleton.c (main): Do not set RLIMIT_DATA.
15212 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15214         [BZ #14750]
15215         [BZ #10354]
15216         [BZ #18433]
15217         * include/sched.h (__clone): Add hidden prototype.
15218         (__clone2): Likewise.
15219         * include/unistd.h (__dup): Likewise.
15220         * posix/Makefile (tests): Add tst-spawn2.
15221         * posix/tst-spawn2.c: New file.
15222         * sysdeps/posix/dup.c (__dup): Add hidden definition.
15223         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
15224         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15225         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15226         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15227         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15228         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
15229         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15230         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
15231         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15232         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15234         Likewise.
15235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15236         Likewise.
15237         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15238         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15239         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15240         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15241         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15242         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15243         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15244         * sysdeps/unix/sysv/linux/nptl-signals.h
15245         (____nptl_is_internal_signal): New function.
15246         * sysdeps/unix/sysv/linux/spawni.c: New file.
15248         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
15249         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
15250         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
15251         * posix/tst-execvp2.c (do_test): Likewise.
15252         * posix/tst-execvp3.c (do_test): Likewise.
15253         * posix/tst-execvp4.c (do_test): Likewise.
15254         * posix/tst-execvpe1.c: New file.
15255         * posix/tst-execvpe2.c: Likewise.
15256         * posix/tst-execvpe3.c: Likewise.
15257         * posix/tst-execvpe4.c: Likewise.
15258         * posix/tst-execvpe5.c: Likewise.
15259         * posix/tst-execvpe6.c: Likewise.
15261         [BZ #19534]
15262         * posix/execl.c (execl): Remove dynamic memory allocation.
15263         * posix/execle.c (execle): Likewise.
15264         * posix/execlp.c (execlp): Likewise.
15266 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15268         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15269         Replace .text with .text.avx512.
15270         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15271         Likewise.
15273 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15275         * sysdeps/generic/libnsl.abilist: New file.
15276         * sysdeps/generic/libutil.abilist: New file.
15278 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15280         [BZ #19762]
15281         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15282         HAS_ARCH_FEATURE with Fast_Rep_String.
15283         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15284         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15285         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15286         Likewise.
15287         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15288         Likewise.
15289         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15290         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15291         Likewise.
15292         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15293         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15294         Likewise.
15296 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15298         [BZ #19745]
15299         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15300         with *%rax in call.
15302 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15304         [BZ #19745]
15305         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15306         with *__libc_start_main@GOTPCREL(%rip) in call.
15308 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15310         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15311         inside conditional for nonempty $(CXX).
15313         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15314         nonempty.
15316         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15317         to test for empty $(CXX) rather than $(CXX) of "no".
15319 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15321         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15323 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15324             H.J. Lu  <hongjiu.lu@intel.com>
15326         [BZ #18880]
15327         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15328         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15329         enable __memcpy_ssse3_back.
15331 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15333         [BZ #19758]
15334         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15335         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15337 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15339         [BZ #19490]
15340         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15341         (__fentry__): Likewise.
15343 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15345         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15346         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15348 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15350         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15351         __mcount_internal directly.
15352         (C_LABEL(__fentry__)): Likewise.
15353         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15354         directly.
15356 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15358         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15359         (__start_context): Call __setcontext directly.
15361 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15364         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15365         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15366         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15367         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15368         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15369         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15370         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15371         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15372         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15373         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15374         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15375         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15376         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15377         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15378         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15379         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15380         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15381         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15382         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15383         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15384         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15385         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15386         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15387         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15388         Remove conditional code.
15389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15390         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15391         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15392         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15393         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15394         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15395         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15396         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15397         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15398         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15399         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15400         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15402 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15404         * NEWS (2.23): Fix typo in bug 19048 text.
15406 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15408         [BZ #14259]
15409         * Makeconfig: Rename msgcatdir to localedir.
15410         Rename inst_msgcatdir to inst_localedir.
15411         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15412         * config.make.in: Add localedir.
15413         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15414         (ldd-rewrite): Likewise.
15415         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15416         (install-others): Use inst_localedir.
15417         (CPPFLAGS): Use localedir.
15418         * locale/Makefile (locale-CPPFLAGS): Likewise.
15419         * po/Makefile (mo-installed): Use inst_localedir.
15421         [BZ #19575]
15422         * localedata/charmaps/GB18030: Update comments regarding PAU to
15423         non-PUA mappings.
15425 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15427         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15428         test for header.
15429         * sysdeps/unix/sysv/linux/configure: Regenerated.
15430         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15431         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15432         Remove conditional code.
15433         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15435         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15436         Define to 3.2.0.
15437         (arch_minimum_kernel): Likewise.
15438         * sysdeps/unix/sysv/linux/configure: Regenerated.
15439         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15440         Define to 2.6.32.
15441         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15442         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15443         (arch_minimum_kernel): Define to 2.6.32.
15444         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15445         * README: Document Linux 3.2 requirement.
15446         * manual/install.texi (Linux): Document Linux 3.2 headers
15447         requirement.
15448         * INSTALL: Regenerated.
15450 2016-02-24  Andreas Schwab  <schwab@suse.de>
15452         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15453         if !NO_LONG_DOUBLE.
15455 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15457         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15458         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15460 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15462         [BZ #19512]
15463         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15465 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15467         * posix/tst-dir.c: Include libc-internal.h.
15469 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15471         [BZ #19056]
15472         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15473         * manual/filesys.texi (Reading/Closing Directory): Mention
15474         deprecaion.
15475         * posix/tst-dir.c (main): Disable deprecation warning in test.
15477 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15479         [BZ #19679]
15480         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15481         Renamed to ...
15482         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15483         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15484         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15485         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15486         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15487         * sysdeps/x86_64/dl-trampoline.h
15488         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15489         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15491 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15493         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15495 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15497         * elf/elf.h (R_386_GOT32X): New.
15498         (R_386_NUM): Update.
15499         (R_X86_64_GOTPCRELX: New.
15500         (R_X86_64_REX_GOTPCRELX): New.
15501         (R_X86_64_NUM): Update.
15503 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15505         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15507 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15509         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15510         assign attr->stackaddr to it, and adjust it down when
15511         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15512         [_STACK_GROWS_UP]: Delete assert.
15513         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15514         Implement stack grows up logic.
15515         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15516         stack grows up logic.
15518 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15520         * NEWS: Update with 2.24 template.
15522 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15524         [BZ #19678]
15525         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15526         Ensure +0.0 is returned when taking the next value below the least
15527         positive value.
15529 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15531         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15532         available.  Do not define NO_THREADS.
15533         * malloc/malloc.c: Do not check NO_THREADS.
15534         * malloc/arena.c: Likewise.
15536 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15538         * malloc/malloc.c (__libc_mallinfo): Update comment.
15539         (struct malloc_par): Remove max_total_mem member, it was always 0.
15540         (int_mallinfo): Store 0 into usmblks (no functional change).
15541         * malloc/hooks.c (struct malloc_state): Document that
15542         max_total_mem is always 0.
15543         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15544         always 0.
15545         * manual/memory.texi (Statistics of Malloc): Likewise.
15547 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15549         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15550         * malloc/arena.c (arena_max): Remove.
15551         (heap_trim, _int_new_arena): Do not update arena_max.
15553 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15555         * resolv/res_init.c (res_ninit): Update comment.
15557 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15559         [BZ #19505]
15560         * posix/spawn_int.h: Add headers and include guard.
15561         (__spawn_valid_fd): New function.
15562         * posix/spawn_faction_addopen.c
15563         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15564         * posix/spawn_faction_addclose.c
15565         (posix_spawn_file_actions_addclose): Likewise.
15566         * posix/spawn_faction_adddup2.c
15567         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15568         second file descriptor.
15569         * posix/spawn_valid_fd.c: New file.
15570         * posix/tst-posix_spawn-fd.c: New file.
15571         * posix/Makefile (routines): Add spawn_valid_fd.
15572         (tests): Add tst-posix_spawn-fd.
15574 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15576         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15577         (do_test): Limit the number of arenas, so that we can use fewer
15578         outer threads.  Limit timeout to 3 seconds, in preparation for a
15579         larger TIMEOUT value.
15581 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15583         [BZ #19674]
15584         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15585         sign in overflowing and underflowing results when overflow or
15586         underflow is detected early.  Include sign in result before rather
15587         than after scaling.
15589         [BZ #19603]
15590         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15591         (__ieee754_remainderl): Adjust sign of integer version of low part
15592         when taking absolute value of high part.
15593         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15594         * math/libm-test.inc (remainder_test_data): Add another test.
15595         (remquo_test_data): Likewise.
15597 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15599         [BZ #19602]
15600         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15601         equal high parts and both low parts zero specially.
15602         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15603         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15604         Add test-fmodl-ldbl-128ibm.
15606         [BZ #19595]
15607         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15608         common logic for all cases of shifting subnormal results.  Do not
15609         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15610         exponent to ldbl_insert_mantissa in subnormal case.
15612         [BZ #19594]
15613         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15614         on high and low parts then adjust result and use
15615         ldbl_canonicalize_int if needed.
15617         [BZ #19593]
15618         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15619         on high part and __floor or __ceil on low part then use
15620         ldbl_canonicalize_int if needed.
15622         [BZ #19592]
15623         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15624         high and low parts then use ldbl_canonicalize_int if needed.
15626         [BZ #17899]
15627         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15628         New function.
15629         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15630         on high and low parts then use ldbl_canonicalize_int if needed.
15632 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15634         * configure: Regenerated.
15636         * po/libc.pot: Regenerated.
15638         * po/be.po: Updated translation.
15639         * po/bg.po: Likewise.
15640         * po/ca.po: Likewise.
15641         * po/cs.po: Likewise.
15642         * po/da.po: Likewise.
15643         * po/el.po: Likewise.
15644         * po/eo.po: Likewise.
15645         * po/es.po: Likewise.
15646         * po/fi.po: Likewise.
15647         * po/fr.po: Likewise.
15648         * po/gl.po: Likewise.
15649         * po/hr.po: Likewise.
15650         * po/hu.po: Likewise.
15651         * po/ia.po: Likewise.
15652         * po/id.po: Likewise.
15653         * po/it.po: Likewise.
15654         * po/ja.po: Likewise.
15655         * po/lt.po: Likewise.
15656         * po/nb.po: Likewise.
15657         * po/nl.po: Likewise.
15658         * po/pt_BR.po: Likewise.
15659         * po/rw.po: Likewise.
15660         * po/sk.po: Likewise.
15661         * po/sl.po: Likewise.
15662         * po/sv.po: Likewise.
15663         * po/tr.po: Likewise.
15664         * po/zh_CN.po: Likewise.
15665         * po/zh_TW.po: Likewise.
15667         * version.h (RELEAES): Set to "development".
15668         (VERSION): Set to 2.23.90.
15670         * version.h (RELEASE): Set to "stable".
15671         (VERSION): Set to 2.23.
15672         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15674         * NEWS: Updated fixed bugs.
15676 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15677             Wilco Dijkstra  <wdijkstr@arm.com>
15679         [BZ #19462]
15680         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15681         (_STRING_INLINE_unaligned): This.
15682         * include/string.h: Include <string_private.h>.
15683         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15684         _STRING_INLINE_unaligned.
15685         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15686         (_STRING_INLINE_unaligned): New.
15687         * sysdeps/aarch64/string_private.h: New file.
15688         * sysdeps/generic/string_private.h: Likewise.
15689         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15690         * sysdeps/s390/string_private.h: Likewise.
15691         * sysdeps/x86/string_private.h: Likewise.
15692         * sysdeps/m68k/m680x0/m68020/bits/string.h
15693         (_STRING_ARCH_unaligned): Renamed to ...
15694         (_STRING_INLINE_unaligned): This.
15695         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15696         to ...
15697         (_STRING_INLINE_unaligned): This.
15698         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15699         to ...
15700         (_STRING_INLINE_unaligned): This.
15701         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15702         to ...
15703         (_STRING_INLINE_unaligned): This.
15705 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15706             H.J. Lu  <hongjiu.lu@intel.com>
15708         [BZ #19590]
15709         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15710         relocation.
15712 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15714         [BZ #18665]
15715         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15716         *herrno_p.
15717         (gaih_getanswer): Document functional behviour. Return tryagain
15718         if any result is tryagain.
15719         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15720         when freed.
15721         * resolv/res_send.c: Add copyright text.
15722         (__libc_res_nsend): Document that MAXPACKET is expected.
15723         (send_vc): Document. Remove buffer reuse.
15724         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15725         size of the buffer. Add Dprint for truncated UDP buffer.
15727 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15729         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15730         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15731         * INSTALL: Regenerate.
15733 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15734             Jonathan Wakely  <jwakely@redhat.com>
15735             Carlos O'Donell  <carlos@redhat.com>
15737         [BZ 19439]
15738         * math/Makefile (tests): Add test-math-isinff.
15739         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15740         * math/bits/mathcalls.h [__USE_MISC]: Use
15741         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15742         functions not in C++11 and which don't conflict e.g. isinff,
15743         isinfl etc.
15744         * math/test-math-isinff.cc: New file.
15746 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15748         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15750 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15752         [BZ #19529]
15753         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15755 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15757         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15759 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15761         [BZ #19550]
15762         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15763         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15764         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15765         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15766         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15767         New syscall entry.
15768         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15769         New syscall entry.
15770         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15771         syscall entry.
15773 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15775         [BZ #18240]
15776         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15777         unsigned int wraparound.
15779 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15781         [BZ #18240]
15782         * misc/bug18240.c: New test.
15783         * misc/Makefile (tests): Add it.
15785 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15786             Joseph Myers  <joseph@codesourcery.com>
15788         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15789         load in branch delay slot when less than a word of input left.
15791 2016-01-27  Andreas Schwab  <schwab@suse.de>
15793         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15794         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15795         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15796         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15798 2016-01-26  David S. Miller  <davem@davemloft.net>
15800         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15802 2016-01-25  David S. Miller  <davem@davemloft.net>
15804         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15805         __sqrtl_finite.
15806         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15807         instead using versioned_symbol.
15808         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15809         of entries.
15811         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15812         __sqrtl_finite to GLIBC_2.23
15814 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15816         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15818 2016-01-25  Andreas Schwab  <schwab@suse.de>
15820         [BZ #17514]
15821         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15822         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15823         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15824         * nptl/tst-mutex-errorcheck.c: New file.
15826 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15828         [BZ #18560]
15829         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15830         (IPCOP_semop): Likewise.
15831         (IPCOP_semget): Likewise.
15832         (IPCOP_semctl): Likewise.
15833         (IPCOP_msgsnd): Likewise.
15834         (IPCOP_msgrcv): Likewise.
15835         (IPCOP_msgget): Likewise.
15836         (IPCOP_msgctl): Likewise.
15837         (IPCOP_shmat): Likewise.
15838         (IPCOP_shmdt): Likewise.
15839         (IPCOP_shmget): Likewise.
15840         (IPCOP_shmctl): Likewise.
15842 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15844         * string/tst-endian.c: Include <libc-internal.h>.
15845         (do_test): Ignore tautological-compare warnings around
15846         "htobeXX (beXXtoh (i)) != i" and
15847         "htoleXX (leXXtoh (i)) != i" if-statements.
15849 2016-01-24  David S. Miller  <davem@davemloft.net>
15851         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15852         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15853         alias.
15854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15855         __sqrtl_finite.
15857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15859 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
15861         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15862         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15863         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15865 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15867         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15868         (thread_func): Use new function to simplify barrier check.
15869         (do_test): Use new function to simplify checking barrier exit
15870         code, and actually join the child thread.
15872 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15874         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
15875         semicolon.
15876         (__libc_tend): Likewise.
15877         (__libc_tabort): Likewise.
15879 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
15881         * sysdeps/nios2/libm-test-ulps: Update.
15882         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
15883         (__gtsf2): Likewise.
15884         (__unorddf2): Likewise.
15885         (__unordsf2): Likewise.
15886         (__ledf2): Likewise.
15888 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
15890         * nis/nis_table.c (__follow_path): Disable diagnostic for
15891         uninitialized variable that is a false positive for gcc 4.7.
15892         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
15894 2016-01-20  Roland McGrath  <roland@hack.frob.com>
15896         * sysdeps/nacl/lowlevellock-futex.h
15897         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
15898         Always evaluate PRIVATE argument.
15900 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
15902         [BZ #19490]
15903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
15904         (pthread_cond_broadcast): Use ENTRY/END
15905         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
15906         (pthread_cond_signal): Likewise.
15907         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
15908         Likewise.
15909         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
15910         Likewise.
15911         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
15912         Likewise.
15914 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
15916         * sysdeps/ieee754/dbl-64/s_finite.c
15917         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
15918         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
15919         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
15920         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
15921         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
15923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15924         (__gtsf2): Add as optional for libc.so.
15925         (__unordsf2): Likewise.
15926         (__signbit): Remove for libc.so.
15927         (__signbitl): Likewise.
15929 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15931         * iconvdata/bug-iconv11.c (test_ibm93x):
15932         Use %zu printf format specifier for size_t argument.
15934 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
15936         * math/gen-libm-test.pl (parse_ulps): Do not reduce
15937         already-recorded ulps.
15938         * sysdeps/arm/libm-test-ulps: Regenerated.
15939         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15940         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15941         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15943 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15944             Paul Pluzhnikov  <ppluzhnikov@google.com>
15946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
15947         assembler not supporting AVX-512.
15949 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15951         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15953 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
15955         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15956         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15958         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15960         * sysdeps/arm/libm-test-ulps: Regenerated.
15962 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15964         [BZ #19451]
15965         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
15967 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15969         [BZ #19486]
15970         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
15971         * sysdeps/generic/fix-fp-int-convert-overflow.h
15972         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
15973         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
15974         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
15975         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
15976         Likewise.
15977         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
15978         Avoid conversions to long int where inexact exceptions
15979         could be raised.
15980         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
15981         Likewise.
15982         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
15983         Avoid conversions to long long int where inexact exceptions
15984         could be raised.
15985         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
15986         Likewise.
15988 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
15990         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
15991         * configure: Regenerated.
15993 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15995         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
15997 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
15999         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16000         outside of comment.
16002 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16004         * nptl/tst-barrier1.c: Add description on first line.
16005         * nptl/tst-barrier2.c: Likewise.
16006         * nptl/tst-barrier3.c: Likewise.
16007         * nptl/tst-barrier4.c: Likewise.
16008         * nptl/tst-barrier5.c: Likewise.
16010 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16012         [BZ #18868]
16013         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16015 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16019         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16020         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16021         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16022         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16023         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16024         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16025         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16026         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16027         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16029 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16031         [BZ #13065]
16032         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16033         new implementation.
16034         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16035         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16036         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16037         (BARRIER_IN_THRESHOLD): New macro.
16038         * nptl/pthread_barrierattr_setpshared.c
16039         (pthread_barrierattr_setpshared): Clean up.
16040         * nptl/tst-barrier4.c: Correct comment.
16041         * nptl/tst-barrier5.c: New file.
16042         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16043         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16044         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16045         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16046         * nptl/lowlevelbarrier.sym: Remove.
16047         * nptl/DESIGN-barrier.txt: Remove.
16048         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16049         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16050         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16051         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16052         error.
16053         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16054         implementation.
16056 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16058         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16059         (do_child): Mask SIGRTMIN while thr is running.
16061 2016-01-15  Martin Sebor  <msebor@redhat.com>
16063         [BZ #19432]
16064         * iconvdata/Makefile: Add bug-iconv11.
16065         * iconvdata/bug-iconv11.c: New test.
16066         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16067         * iconvdata/ibm933.c: Same.
16068         * iconvdata/ibm935.c: Same.
16069         * iconvdata/ibm937.c: Same.
16070         * iconvdata/ibm939.c: Same.
16072 2016-01-15  Martin Sebor  <msebor@redhat.com>
16074         [BZ #19443]
16075         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16076         [DEBUG] (_ufc_set_bits): Declare used.
16077         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16078         [DEBUG] (print_all): Declare used.
16079         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16080         operands of the ternary ?: expression to target type.
16081         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16082         calling the undeclared abort.
16083         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16085 2016-01-15  Martin Sebor  <msebor@redhat.com>
16087         [BZ #18755]
16088         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16089         warnings.
16090         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16091         (__gai_create_helper_thread): Same.
16092         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16093         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16094         to suppress -Wmaybe-uninitialized warnings.
16096 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16098         [BZ #19465]
16099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16100         inside if.
16101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16102         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16103         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16105 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16107         [BZ #19466]
16108         * time/tst-mktime2.c (time_t_max): Removed.
16109         (time_t_min): Likewise.
16110         (TYPE_SIGNED): New.
16111         (TYPE_MINIMUM): Likewise.
16112         (TYPE_MAXIMUM): Likewise.
16113         (TIME_T_MIN): Likewise.
16114         (TIME_T_MAX): Likewise.
16115         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16116         and TIME_T_MIN.
16117         (do_test): Likewise.
16119 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16121         [BZ #19467]
16122         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16123         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16125 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16127         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16129 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16131         * benchtests/Makefile (PYTHON): Define.
16132         (bench-func): Use $(PYTHON) to run python scripts.
16133         ($(objpfx)bench-%.c): Likewise.
16135 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16137         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16138         leading slash when `file_name' is "/".
16140 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16142         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16143         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16144         Likewise.
16145         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16146         Likewise.
16147         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16148         Likewise.
16149         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16150         enum constant and macro.
16151         (PTRACE_SETSIGMASK): Likewise.
16152         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16153         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16154         (PTRACE_GETSIGMASK): Likewise.
16155         (PTRACE_SETSIGMASK): Likewise.
16156         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16157         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16158         Likewise.
16159         (PTRACE_SETSIGMASK): Likewise.
16160         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16161         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16162         (PTRACE_GETSIGMASK): Likewise.
16163         (PTRACE_SETSIGMASK): Likewise.
16164         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16165         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16166         Likewise.
16167         (PTRACE_SETSIGMASK): Likewise.
16168         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16169         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16170         Likewise.
16171         (PTRACE_SETSIGMASK): Likewise.
16172         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16173         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16174         Likewise.
16175         (PTRACE_SETSIGMASK): Likewise.
16176         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16178 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16179             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16181         [BZ #19439]
16182         * math/bits/mathcalls.h
16183         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
16184         prototype.
16185         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
16187 2016-01-11  Andreas Schwab  <schwab@suse.de>
16189         [BZ #19253]
16190         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
16191         cache when TZDEFRULES was used.
16192         * time/tst-tzname.c: New file.
16193         * time/Makefile (test): Add tst-tzname.
16194         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
16195         * timezone/Makefile (test-zones): Add $(posixrules-file).
16196         ($(testdata)/$(posixrules-file)): New rule.
16198 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
16200         Fix doc quoting problems with Texinfo 5
16201         Without this change, in the info file output, Texinfo 5 quotes code
16202         in text with undirected single quotes 'like this' and generates
16203         code examples that with many PDF readers cannot be cut out of PDFs
16204         and pasted into code.
16205         * manual/libc.texinfo: Configure the libc manual like the GNU
16206         Emacs manual, by using @documentencoding and setting
16207         txicodequoteundirected and txicodequotebacktick.  This way,
16208         Texinfo 5 quotes code in text with directed single quotes ‘like
16209         this’ and produces examples that can be cut out of PDFs.  This
16210         change causes Texinfo 5 to generate info files that contain UTF-8
16211         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
16212         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
16214 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16216         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
16217         __libc_tabort, __libc_tend): New wrappers that enforce compiler
16218         barriers to their respective compiler built-ins.
16219         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
16220         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
16221         * sysdeps/powerpc/sysdep.h: Likewise.
16222         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
16223         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
16224         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
16226 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
16228         * scripts/config.guess: Revert previous shebang change.
16229         * scripts/config.sub: Likewise.
16230         * scripts/mkinstalldirs: Likewise.
16232 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16234         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
16235         PPC_FEATURE2_HAS_IEEE128.
16236         * sysdeps/powerpc/dl-procinfo.c:
16237         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
16239 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
16241         [BZ #19415]
16242         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
16243         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
16244         (_dl_lookup_address): Rewrite using function resolver trampoline.
16245         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
16246         two bits in address.
16248 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16250         * longlong.h: Change !__SHMEDIA__ to
16251         (!defined (__SHMEDIA__) || !__SHMEDIA__).
16252         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
16254 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
16255             Joseph Myers  <joseph@codesourcery.com>
16256             Mark Shinwell  <shinwell@codesourcery.com>
16257             Andrew Stubbs  <ams@codesourcery.com>
16258             Rich Felker <dalias@libc.org>
16260         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16262 2016-01-07  Richard Henderson  <rth@redhat.com>
16264         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16266 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16268         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16269         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16270         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16271         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16272         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16274 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16275             Joseph Myers  <joseph@codesourcery.com>
16277         * timezone/private.h: Update from tzcode 2015g.
16278         * timezone/tzfile.h: Likewise.
16279         * timezone/tzselect.ksh: Likewise.
16280         * timezone/zdump.c: Likewise.
16281         * timezone/zic.c: Likewise.
16282         * timezone/ialloc.c: Remove file.
16283         * timezone/scheck.c: Likewise.
16284         * timezone/Makefile (extra-objs): Remove variable.
16285         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16286         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16287         -Wno-maybe-uninitialized.
16288         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16289         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16290         (CFLAGS-ialloc.c): Remove variable.
16291         (CFLAGS-scheck.c): Likewise.
16292         * timezone/README: Update list of files from tzcode.
16294 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16296         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16297         instead of __fxprintf when _LIBC is undefined.
16299 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16301         * catgets/test-gencat.sh: Remove space after shebang.
16302         * conform/GlibcConform.pm: Likewise.
16303         * conform/check-header-lists.sh: Likewise.
16304         * conform/conformtest.pl: Likewise.
16305         * conform/linknamespace.pl: Likewise.
16306         * conform/list-header-symbols.pl: Likewise.
16307         * debug/catchsegv.sh: Likewise.
16308         * elf/genrtldtbl.awk: Likewise.
16309         * elf/tst-pathopt.sh: Likewise.
16310         * elf/tst-rtld-load-self.sh: Likewise.
16311         * grp/tst_fgetgrent.sh: Likewise.
16312         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16313         * iconvdata/gen-8bit-gap.sh: Likewise.
16314         * iconvdata/gen-8bit.sh: Likewise.
16315         * iconvdata/run-iconv-test.sh: Likewise.
16316         * intl/tst-gettext.sh: Likewise.
16317         * intl/tst-gettext2.sh: Likewise.
16318         * intl/tst-gettext4.sh: Likewise.
16319         * intl/tst-gettext6.sh: Likewise.
16320         * intl/tst-translit.sh: Likewise.
16321         * io/ftwtest-sh: Likewise.
16322         * libio/test-freopen.sh: Likewise.
16323         * locale/gen-translit.pl: Likewise.
16324         * malloc/tst-mtrace.sh: Likewise.
16325         * manual/check-safety.sh: Likewise.
16326         * manual/libc-texinfo.sh: Likewise.
16327         * manual/tsort.awk: Likewise.
16328         * manual/xtract-typefun.awk: Likewise.
16329         * nptl/tst-cancel-wrappers.sh: Likewise.
16330         * nptl/tst-tls6.sh: Likewise.
16331         * posix/globtest.sh: Likewise.
16332         * posix/tst-getconf.sh: Likewise.
16333         * posix/wordexp-tst.sh: Likewise.
16334         * scripts/check-c++-types.sh: Likewise.
16335         * scripts/check-local-headers.sh: Likewise.
16336         * scripts/config.guess: Likewise.
16337         * scripts/config.sub: Likewise.
16338         * scripts/cpp: Likewise.
16339         * scripts/cross-test-ssh.sh: Likewise.
16340         * scripts/documented.sh: Likewise.
16341         * scripts/evaluate-test.sh: Likewise.
16342         * scripts/gen-libc-abis: Likewise.
16343         * scripts/gen-sorted.awk: Likewise.
16344         * scripts/list-fixed-bugs.py: Likewise.
16345         * scripts/merge-test-results.sh: Likewise.
16346         * scripts/mkinstalldirs: Likewise.
16347         * scripts/rellns-sh: Likewise.
16348         * scripts/test-installation.pl: Likewise.
16349         * scripts/update-copyrights: Likewise.
16350         * stdio-common/tst-printf.sh: Likewise.
16351         * stdio-common/tst-unbputc.sh: Likewise.
16352         * stdlib/tst-fmtmsg.sh: Likewise.
16353         * stdlib/tst-setcontext3.sh: Likewise.
16354         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16355         * sysdeps/unix/make-syscalls.sh: Likewise.
16357 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16359         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16360         asm stw with atomic_exchange_rel.  Add explanatory comment.
16361         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16362         Likewise.
16364 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16366         [BZ #19122]
16367         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16368         * sysdeps/generic/dl-unistd.h: New file.
16369         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16371 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16373          [BZ #19122]
16374          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16375          * sysdeps/generic/dl-mman.h: New file.
16376          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16378 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16380         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16381         trailing whitespace removed.
16382         * scripts/config.guess: Update to version 2016-01-01.
16383         * scripts/config.sub: Update to version 2016-01-01.
16384         * scripts/move-if-change: Update from gnulib.
16386 2016-01-04  Anton Blanchard  <anton@samba.org>
16388         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16389         for array indices.
16390         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16392 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16394         * NEWS: Update copyright dates.
16395         * catgets/gencat.c (print_version): Likewise.
16396         * csu/version.c (banner): Likewise.
16397         * debug/catchsegv.sh: Likewise.
16398         * debug/pcprofiledump.c (print_version): Likewise.
16399         * debug/xtrace.sh (do_version): Likewise.
16400         * elf/ldconfig.c (print_version): Likewise.
16401         * elf/ldd.bash.in: Likewise.
16402         * elf/pldd.c (print_version): Likewise.
16403         * elf/sotruss.sh: Likewise.
16404         * elf/sprof.c (print_version): Likewise.
16405         * iconv/iconv_prog.c (print_version): Likewise.
16406         * iconv/iconvconfig.c (print_version): Likewise.
16407         * locale/programs/locale.c (print_version): Likewise.
16408         * locale/programs/localedef.c (print_version): Likewise.
16409         * login/programs/pt_chown.c (print_version): Likewise.
16410         * malloc/memusage.sh (do_version): Likewise.
16411         * malloc/memusagestat.c (print_version): Likewise.
16412         * malloc/mtrace.pl: Likewise.
16413         * manual/libc.texinfo: Likewise.
16414         * nptl/version.c (banner): Likewise.
16415         * nscd/nscd.c (print_version): Likewise.
16416         * nss/getent.c (print_version): Likewise.
16417         * nss/makedb.c (print_version): Likewise.
16418         * posix/getconf.c (main): Likewise.
16419         * scripts/test-installation.pl: Likewise.
16420         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16422         * All files with FSF copyright notices: Update copyright dates
16423         using scripts/update-copyrights.
16424         * intl/plural.c: Regenerated.
16425         * locale/programs/charmap-kw.h: Likewise.
16426         * locale/programs/locfile-kw.h: Likewise.
16428 2016-01-02  Helge Deller  <deller@gmx.de>
16430         [BZ #19285]
16431         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16432         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16433         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16434         (MADV_xxK_PAGES): Remove.
16436 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16438         [BZ #15421]
16439         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16440         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16441         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16442         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16444 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16446         [BZ #19408]
16447         * sysdeps/unix/sysv/linux/personality.c: New file.
16448         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16449         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16450         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16451         (sysdep_routines): Add personality.
16452         (tests): Add tst-personality.
16453         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16455         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16456         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16457         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16458         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16459         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16460         Likewise.
16461         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16462         Likewise.
16463         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16464         Likewise.
16465         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16466         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16467         Likewise.
16469 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16471         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16472         (PATH_ARM_SYSTYPE): Remove.
16473         (PATH_CPUINFO): Likewise.
16474         (IO_BASE_FOOTBRIDGE): Likewise.
16475         (IO_SHIFT_FOOTBRIDGE): Likewise.
16476         (struct platform): Likewise.
16477         (init_iosys): Remove compatibility code for 2.4 kernels.
16478         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16480 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16482         * malloc/tst-malloc-thread-fail.c: New file.
16483         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16484         (tst-malloc-thread-fail): Link against libpthread.
16486 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16488         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16489         (get_parser): New function.
16490         (main): New function.
16492 2015-12-29  Rob Wu  <rob@robwu.nl>
16494         [BZ #19369]
16495         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16497 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16499         [BZ #19270]
16500         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16502 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16504         [BZ #15421]
16505         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16507 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16509         [BZ #13690]
16510         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16511         after releasing it.
16512         (__lll_robust_unlock): Likewise.
16513         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16514         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16515         (lll_robust_unlock): Likewise.
16516         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16517         Prevent warnings in callers.
16519 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16521         * malloc/arena.c (list_lock): Update comment.
16523 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16525         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16526         __parse_hwcap_and_convert_at_platform to libc.a.
16528 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16530         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16531         platform and feature support for POWER9.
16532         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16533         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16534         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16535         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16536         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16537         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16538         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16539         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16541 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16543         Harmonize generic stdio-lock support with nptl
16545         This fixes build when _IO_funlockfile is a macro, fixes build where
16546         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16547         stack unwind.
16549         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16550         _IO_release_lock ): Use cleanup attribute on new
16551         _IO_acquire_lock_file variable instead of assuming that
16552         _IO_release_lock will be called.
16553         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16554         _IO_acquire_lock_needs_exceptions_enabled.
16555         (_IO_acquire_lock_clear_flags2): New macro.
16557 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16559         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16561 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16563         [BZ #19182]
16564         * malloc/arena.c (list_lock): Document lock ordering requirements.
16565         (free_list_lock): New lock.
16566         (ptmalloc_lock_all): Comment on free_list_lock.
16567         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16568         (detach_arena): Update comment.  free_list_lock is now needed.
16569         (_int_new_arena): Use free_list_lock around detach_arena call.
16570         Acquire arena lock after list_lock.  Add comment, including FIXME
16571         about incorrect synchronization.
16572         (get_free_list): Switch to free_list_lock.
16573         (reused_arena): Acquire free_list_lock around detach_arena call
16574         and attached threads counter update.  Add two FIXMEs about
16575         incorrect synchronization.
16576         (arena_thread_freeres): Switch to free_list_lock.
16577         * malloc/malloc.c (struct malloc_state): Update comments to
16578         mention free_list_lock.
16580 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16582         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16583         Remove functions.
16584         (sloww, sloww1): Accept argument to offset quadrant.
16585         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16586         quadrant.
16587         (__sin, __cos): Consolidate common code into new functions.
16588         (reduce_sincos_1, do_sincos_1): New functions.
16589         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16591         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16592         code to new functions.
16593         (reduce_sincos_2, do_sincos_2): New functions.
16594         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16597         common code for sincos.
16598         (__cos) [!IN_SINCOS]: Likewise.
16599         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16600         New function.
16601         (__sincos): Use it.
16603 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16605         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16606         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16607         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16609 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16611         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16614         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16615         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16616         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16617         index_Prefer_No_VZEROUPPER): New feature.
16618         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16619         Prefer_No_VZEROUPPER for Knights Landing.
16621 015-12-18  Torvald Riegel  <triegel@redhat.com>
16623         * math/atest-exp2.c (mp_exp_m1): Remove.
16625 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16627         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16628         syscalls.
16629         (__SYSCALL0): New macro.
16630         (__SYSCALL1): Likewise.
16631         (__SYSCALL2): Likewise.
16632         (__SYSCALL3): Likewise.
16633         (__SYSCALL4): Likewise.
16634         (__SYSCALL5): Likewise.
16635         (__SYSCALL6): Likewise.
16636         (__SYSCALL_CONCAT_X): Likewise.
16637         (__SYSCALL_CONCAT): Likewise.
16638         (__SYSCALL_DIST): Likewise.
16639         (__SYSCALL_CALL): Likewise.
16641 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16643         [BZ #19363]
16644         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16646 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16648         [BZ #19375]
16649         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16650         negative subnormals.
16652 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16654         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16655         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16656         (INTERNAL_SYSCALL_NCS): Use it.
16657         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16659 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16661         [BZ #19243]
16662         * malloc/arena.c (get_free_list): Remove assert and adjust
16663         reference count handling.  Add comment about reused_arena
16664         interaction.
16665         (reused_arena): Add comments abount get_free_list interaction.
16666         * malloc/tst-malloc-thread-exit.c: New file.
16667         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16668         (tst-malloc-thread-exit): Link against libpthread.
16670 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16672         [BZ #19367]
16673         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16674         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16675         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16676         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16677         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16679 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16681         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16682         Silvermont optimizations for Knights Landing.
16684 2015-12-15  Andreas Schwab  <schwab@suse.de>
16686         [BZ #17197]
16687         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16688         immediately after emitting SI.
16689         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16690         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16691         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16692         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16693         * iconvdata/bug-iconv10.c: New file.
16694         * iconvdata/Makefile (tests): Add bug-iconv10.
16695         ($(objpfx)bug-iconv10.out): New rule.
16697 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16699         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16700         aliasing violation.
16702 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16704         [BZ #18472]
16705         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16706         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16707         conditionals for them.
16708         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16709         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16711         sys/kdaemon.h.
16712         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16713         compat-only syscall, obsoleted in glibc 2.23.
16714         (create_module): Likewise.
16715         (get_kernel_syms): Likewise.
16716         (query_module): Likewise.
16717         (uselib): Likewise.
16718         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16720 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16722         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16723         <linux/version.h>.
16724         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16725         conditional code.
16726         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16727         and ioshift_name initialization.
16729 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16731         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16732         Fix indentation.
16734 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16736         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16738 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16740         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16742 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16743             Jakub Wilk  <jwilk@debian.org>
16745         [BZ #19347]
16746         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16747         to change the group of the device to the tty group.
16749 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16751         Split large string section; add truncation advice
16752         * manual/examples/strncat.c: Remove.
16753         This example was misleading, as the code would have undefined
16754         behavior if "hello" was longer than SIZE.  Anyway, the manual
16755         shouldn't encourage strncpy+strncat for this sort of thing.
16756         * manual/string.texi (Copying Strings and Arrays): Split into
16757         three sections Copying Strings and Arrays, Concatenating Strings,
16758         and Truncating Strings, as this section was way too long.  All
16759         cross-referenced changed.  Add advice about string-truncation
16760         functions.  Remove misleading strncat example.
16762 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16764         * manual/nss.texi (NSS Modules Interface): Document
16765         NSS_STATUS_NOTFOUND and SUCCESS.
16767 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16769         [BZ 18568]
16770         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16771         201505L, for Unicode 8.
16773 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16775         * locale/C-translit.h: Regenerate.
16777 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16779         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16780         and U+0153.
16782 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16784         [BZ #19351]
16785         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16786         expanding log(1+z), compare z rather than its square with epsilon
16787         to determine when to avoid evaluating the expansion.
16789         [BZ #19350]
16790         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16791         Increase overflow threshold.
16793         [BZ #19349]
16794         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16795         when small.
16797         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16798         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16799         New macro.
16800         [__LINUX_KERNEL_VERSION >= 0x040300]
16801         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16802         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16803         Likewise.
16804         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16805         Likewise.
16806         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16807         Likewise.
16808         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16809         Likewise.
16810         [__LINUX_KERNEL_VERSION >= 0x040300]
16811         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16812         [__LINUX_KERNEL_VERSION >= 0x040300]
16813         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16814         [__LINUX_KERNEL_VERSION >= 0x040300]
16815         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16816         [__LINUX_KERNEL_VERSION >= 0x040300]
16817         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16818         [__LINUX_KERNEL_VERSION >= 0x040300]
16819         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16820         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16821         Likewise.
16822         [__LINUX_KERNEL_VERSION >= 0x040300]
16823         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16825         Likewise.
16826         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16827         Likewise.
16828         [__LINUX_KERNEL_VERSION >= 0x040300]
16829         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16831         Likewise.
16832         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16833         Likewise.
16834         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16836         Likewise.
16837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16838         Likewise.
16839         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16840         Likewise.
16841         [__LINUX_KERNEL_VERSION >= 0x040300]
16842         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16843         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16844         Likewise.
16845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16846         Likewise.
16847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16848         Likewise.
16849         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16850         Likewise.
16851         [__LINUX_KERNEL_VERSION >= 0x040300]
16852         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16853         [__LINUX_KERNEL_VERSION >= 0x040300]
16854         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16855         [__LINUX_KERNEL_VERSION >= 0x040300]
16856         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16857         [__LINUX_KERNEL_VERSION >= 0x040300]
16858         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16859         [__LINUX_KERNEL_VERSION >= 0x040300]
16860         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16862         Likewise.
16863         [__LINUX_KERNEL_VERSION >= 0x040300]
16864         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16866         Likewise.
16867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16868         Likewise.
16869         [__LINUX_KERNEL_VERSION >= 0x040300]
16870         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16872         Likewise.
16873         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16874         Likewise.
16875         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16876         (__ASSUME_SOCKET_SYSCALL): Likewise.
16877         (__ASSUME_BIND_SYSCALL): Likewise.
16878         (__ASSUME_CONNECT_SYSCALL): Likewise.
16879         (__ASSUME_LISTEN_SYSCALL): Likewise.
16880         (__ASSUME_ACCEPT_SYSCALL): Likewise.
16881         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16882         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16883         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16884         (__ASSUME_SEND_SYSCALL): Likewise.
16885         (__ASSUME_SENDTO_SYSCALL): Likewise.
16886         (__ASSUME_RECV_SYSCALL): Likewise.
16887         (__ASSUME_RECVFROM_SYSCALL): Likewise.
16888         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
16889         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16890         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16891         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16892         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16893         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16894         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
16895         Likewise.
16896         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
16897         Likewise.
16898         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
16899         Likewise.
16900         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
16901         Likewise.
16902         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
16903         Likewise.
16904         [__LINUX_KERNEL_VERSION >= 0x020625]
16905         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16906         [__LINUX_KERNEL_VERSION >= 0x020625]
16907         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16908         [__LINUX_KERNEL_VERSION >= 0x020625]
16909         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16910         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
16911         Likewise.
16912         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
16913         Likewise.
16914         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
16915         Likewise.
16916         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
16917         Likewise.
16918         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
16919         Likewise.
16920         [__LINUX_KERNEL_VERSION >= 0x020625]
16921         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16922         [__LINUX_KERNEL_VERSION >= 0x020625]
16923         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16924         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
16925         Likewise.
16926         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
16927         Likewise.
16929 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16931         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
16932         record the current if the current ABI and CPU support the FP64
16933         extension.
16934         (has-modd-spreg): Define to record the current if the current ABI and
16935         CPU support 32-bit floating point values in odd FPU registers.
16936         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16937         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
16938         $(has-modd-spreg) equals yes.
16939         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
16940         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
16941         $(has-modd-spreg) equal yes.
16943 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16945         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
16946         basename.
16948 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
16950         * benchtests/Makefile (bench-math): Move ffs and ffsll...
16951         (bench-string): ... here.
16952         (bench): Add bench-string.
16953         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
16954         to *-benchset to reflect what they are.
16955         (benchset): Adjust.
16957         * benchtests/sincos-inputs: Add inputs from sin-inputs and
16958         cos-inputs.
16960 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
16962         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
16963         __attribute__ ((__simd__)) for vector math function declarations.
16965 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16967         Fix typo in strncat, wcsncat manual entries
16968         * manual/string.texi (Copying and Concatenation): Fix typos in
16969         sample implementations of strncat and wcsncat, by having them use
16970         the old value of the destination length, not the new one.
16972 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
16974         [BZ #16961]
16975         [BZ #16962]
16976         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
16977         string on the stack for strtod.
16978         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
16979         a string on the stack for strtof.
16980         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
16981         constructing a string on the stack for strtold.
16982         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
16983         __strtold_nan to GLIBC_PRIVATE.
16984         * math/test-nan-overflow.c: New file.
16985         * math/test-nan-payload.c: Likewise.
16986         * math/Makefile (tests): Add test-nan-overflow and
16987         test-nan-payload.
16989 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16991         Consistency about byte vs character in string.texi
16992         * manual/string.texi (String and Array Utilities):
16993         Distinguish more carefully among bytes, multibyte characters,
16994         and wide characters.  Use "byte" when talking about C 'char',
16995         to distinguish it more clearly from multibyte characters.
16996         Say "wide character" or "multibyte character" instead of
16997         "character", when a wide or multibyte character is intended.
16998         Similarly for "multibyte string" versus "string".
16999         Define these terms more carefully.
17001 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17003         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17004         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17005         Likewise.
17006         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17007         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17008         * sysdeps/sh/math_private.h: New file.
17009         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17010         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17011         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17012         long double function name.
17013         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17014         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17015         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17016         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17017         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17019         Remove __finitel, __isinfl, and __isnanl.
17020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17021         Likewise.
17022         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17024         Remove __finitel.
17025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17026         Likewise.
17027         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17029 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17031         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17032         installed libmvec_nonshared.a.
17034 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17036         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17037         (sysdep_routines): Likewise.
17038         (sysdep-rtld-routines): Likewise.
17039         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17040         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17041         * sysdeps/powerpc/Versions: Added new
17042         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17043         * sysdeps/powerpc/hwcapinfo.c: New file.
17044         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17045         and parse hwcap, hwcap2 and platform number information.
17046         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17047         to store HWCAP+HWCAP2 and platform number.
17048         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17049         for HWCAP+HWCAP2 and platform number in the TCB.
17050         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17051         the HWCAP, HWCAP2 and platform number in the TCB.
17052         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17053         (TLS_INIT_TP): Included calls to add the hwcap and
17054         at_platform values in the TCB in TP initialization.
17055         (TLS_DEFINE_INIT_TP): Likewise.
17056         (THREAD_GET_HWCAP): New macro.
17057         (THREAD_SET_HWCAP): Likewise.
17058         (THREAD_GET_AT_PLATFORM): Likewise.
17059         (THREAD_SET_AT_PLATFORM): Likewise.
17060         * sysdeps/powerpc/powerpc32/dl-machine.h:
17061         (dl_platform_init): New function that calls
17062         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17063         powerpc32.
17064         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17065         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17066         this functionality, static linking case.
17067         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17068         linking case.
17069         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17070         __parse_hwcap_and_convert_at_platform for the static linking case.
17071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17072         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17073         ABI list for GLIBC 2.23.
17074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17075         Likewise.
17076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17077         Likewise.
17079 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17081         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17082         * configure: Regenerate.
17083         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17084         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17086 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17088         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17089         * iconvdata/ibm933.c: Likewise.
17090         * iconvdata/ibm935.c: Likewise.
17091         * iconvdata/ibm937.c: Likewise.
17092         * iconvdata/ibm939.c: Likewise.
17094 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17096         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17097         pthread_join.
17098         * nptl/tst-cancel21.c (tf): Likewise.
17100 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17102         [BZ #19313]
17103         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17104         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17105         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17106         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17107         Likewise.
17108         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17109         Likewise.
17110         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17111         Likewise.
17112         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17113         Likewise.
17114         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17115         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17116         unsigned long int with __CPU_MASK_TYPE.
17118 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17120         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17122 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17124         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17125         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17126         t512.x.
17127         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17129 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17131         [BZ #19214]
17132         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17133         argument to return extended model.  Update family and model
17134         with extended family and model when family == 0x0f.
17135         (init_cpu_features): Updated.
17137 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17139         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17140         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17142         * sysdeps/mach/hurd/mmap64.c: New file.
17144 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17146         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17147         rights for its main user thread in NEWTASK.
17149 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17151         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17152         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17154 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17156         [BZ #14259]
17157         * Makeconfig: Rename localedir to complocaledir.
17158         Rename inst_localedir to inst_complocaledir.
17159         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17160         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17161         * configure.ac: Use libc_cv_complocaledir.
17162         * configure: Regenerate.
17163         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17164         -DCOMPLOCALEDIR.
17165         * locale/findlocale.c: Use COMPLOCALEDIR.
17166         * locale/loadarchive.c: Likewise.
17167         * locale/programs/locale.c: Likewise.
17168         * locale/programs/localedef.c: Likewise.
17169         * locale/programs/locarchive.c: Likewise.
17170         * localedata/Makefile: Use inst_complocaledir.
17171         * sysdeps/gnu/configure: Regenerate.
17172         * sysdeps/hppa/configure: Regenerate.
17173         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17174         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17176         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17177         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17178         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17179         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17181 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17183         [BZ #19058]
17184         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
17185         AS_NEEDED.
17186         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
17187         workaround.
17188         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
17189         libmvec-static-only-routines): Added new file.
17190         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
17192 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17194         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
17195         of interrupted RPC instead of restoring it.
17197         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
17198         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
17199         libc_hidden_def.
17200         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
17201         into initialized data instead of common. Define rtld_hidden_data_def.
17202         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
17203         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
17204         libc_hidden_def.
17205         (if_freenameindex): Add libc_hidden_weak.
17206         (if_nameindex): Add libc_hidden_weak.
17207         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17208         __open64.
17209         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
17210         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
17211         * sysdeps/mach/nanosleep.c: Include <time.h>
17212         (__nanosleep): Rename to __libc_nanosleep.
17213         (__nanosleep): Add weak_alias.
17214         (nanosleep): Update alias.
17216 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
17218         * stdlib/strtod_nan.c: New file.
17219         * stdlib/strtod_nan_double.h: Likewise.
17220         * stdlib/strtod_nan_float.h: Likewise.
17221         * stdlib/strtod_nan_main.c: Likewise.
17222         * stdlib/strtod_nan_narrow.h: Likewise.
17223         * stdlib/strtod_nan_wide.h: Likewise.
17224         * stdlib/strtof_nan.c: Likewise.
17225         * stdlib/strtold_nan.c: Likewise.
17226         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17227         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
17228         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
17229         * wcsmbs/wcstod_nan.c: Likewise.
17230         * wcsmbs/wcstof_nan.c: Likewise.
17231         * wcsmbs/wcstold_nan.c: Likewise.
17232         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
17233         strtold_nan.
17234         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
17235         wcstof_nan.
17236         * include/stdlib.h (__strtof_nan): Declare and use
17237         libc_hidden_proto.
17238         (__strtod_nan): Likewise.
17239         (__strtold_nan): Likewise.
17240         (__wcstof_nan): Likewise.
17241         (__wcstod_nan): Likewise.
17242         (__wcstold_nan): Likewise.
17243         * include/wchar.h (____wcstoull_l_internal): Declare.
17244         * stdlib/strtod_l.c: Do not include <ieee754.h>.
17245         (____strtoull_l_internal): Remove declaration.
17246         (STRTOF_NAN): Define macro.
17247         (SET_MANTISSA): Remove macro.
17248         (STRTOULL): Likewise.
17249         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
17250         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
17251         (STRTOF_NAN): Define macro.
17252         (SET_MANTISSA): Remove macro.
17253         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
17254         (SET_MANTISSA): Remove macro.
17255         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
17256         macro.
17257         (SET_MANTISSA): Remove macro.
17258         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
17259         macro.
17260         (SET_MANTISSA): Remove macro.
17261         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17262         (SET_MANTISSA): Remove macro.
17263         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17264         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17265         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17267         [BZ #19266]
17268         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17269         upper case and lower case letters inside NAN(), not using TOLOWER.
17270         * stdlib/tst-strtod-nan-locale-main.c: New file.
17271         * stdlib/tst-strtod-nan-locale.c: Likewise.
17272         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17273         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17274         Depend on $(gen-locales).
17275         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17276         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17277         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17278         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17279         Depend on $(gen-locales).
17280         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17282 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17284         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17286         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17288         __finitel, __isinfl, and __isnanl.
17289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17290         Likewise.
17291         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17293         __finitel.
17294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17295         Likewise.
17296         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17298 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17300         * malloc/memusage.c (me): Remove redundant getenv call.
17302 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17304         [BZ #19143]
17305         [BZ #19164]
17306         * nptl/check-cpuset.h: Remove.
17307         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17308         Remove CPU set size check.
17309         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17310         Likewise.
17311         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17312         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17313         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17314         (__pthread_setaffinity_new): Remove CPU set size check.
17315         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17316         (__kernel_cpumask_size): Remove.
17317         (__sched_setaffinity_new): Remove CPU set size check.
17318         * manual/threads.texi (Default Thread Attributes): Remove stale
17319         reference to check_cpuset_attr, determine_cpumask_size in comment.
17320         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17321         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17322         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17323         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17324         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17325         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17326         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17327         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17328         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17329         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17330         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17331         skeleton test file.
17332         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17333         tst-affinity-pid.
17335 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17337         * scripts/update-abilist.sh: New file.
17338         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17339         * Makerules (update-all-abi-%, update-all-abi)
17340         (subdir_update-all-abi): New targets.
17341         * elf/Makefile (update-all-abi): New target.
17343 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17345         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17346         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17347         (__libc_lock_define_initialized): Use it.
17348         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17349         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17350         * malloc/malloc.c (main_arena): Likewise.
17351         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17352         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17354 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17356         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17357         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17358         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17359         (PTRACE_O_MASK): Update value.
17360         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17361         New value in enum __ptrace_setoptions.
17362         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17363         (PTRACE_O_MASK): Update value.
17364         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17365         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17366         (PTRACE_O_MASK): Update value.
17367         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17368         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17369         (PTRACE_O_MASK): Update value.
17370         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17371         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17372         (PTRACE_O_MASK): Update value.
17373         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17374         New value in enum __ptrace_setoptions.
17375         (PTRACE_O_MASK): Update value.
17376         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17377         New value in enum __ptrace_setoptions.
17378         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17379         (PTRACE_O_MASK): Update value.
17381         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17382         New macro.
17383         (PACKET_AUXDATA): Likewise.
17384         (PACKET_ORIGDEV): Likewise.
17385         (PACKET_VERSION): Likewise.
17386         (PACKET_HDRLEN): Likewise.
17387         (PACKET_RESERVE): Likewise.
17388         (PACKET_TX_RING): Likewise.
17389         (PACKET_LOSS): Likewise.
17390         (PACKET_VNET_HDR): Likewise.
17391         (PACKET_TX_TIMESTAMP): Likewise.
17392         (PACKET_TIMESTAMP): Likewise.
17393         (PACKET_FANOUT): Likewise.
17394         (PACKET_TX_HAS_OFF): Likewise.
17395         (PACKET_QDISC_BYPASS): Likewise.
17396         (PACKET_ROLLOVER_STATS): Likewise.
17397         (PACKET_FANOUT_DATA): Likewise.
17398         (PACKET_MR_UNICAST): Likewise.
17400         [BZ #19242]
17401         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17402         (TOUPPER): Likewise.
17403         * stdlib/tst-strtol-locale-main.c: New file.
17404         * stdlib/tst-strtol-locale.c: Likewise.
17405         * stdlib/Makefile (tests): Add tst-strtol-locale.
17406         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17407         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17408         Depend on $(gen-locales).
17409         * wcsmbs/tst-wcstol-locale.c: New file.
17410         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17411         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17412         tr_TR.ISO-8859-9.
17413         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17414         Depend on $(gen-locales).
17416 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17418         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17419         __glibc_likely instead of __builtin_expect.  After falling back to
17420         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17421         system interface to register the code pages as occupied.
17423 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17425         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17426         [!ARM_MATH_PRIVATE_H].
17427         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17428         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17429         [!HPPA_MATH_PRIVATE_H].
17430         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17431         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17432         to [!I386_MATH_PRIVATE_H].
17433         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17434         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17435         Change guard to [!M68K_MATH_PRIVATE_H].
17436         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17437         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17438         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17439         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17440         macro.
17441         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17442         [!MIPS_MATH_PRIVATE_H].
17443         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17444         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17445         [!NIO2_MATH_PRIVATE_H].
17446         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17447         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17448         [!TILE_MATH_PRIVATE_H].
17449         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17451         [BZ #15421]
17452         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17453         initialize with 0 and define as weak alias of __signgam.
17454         * include/math.h [!_ISOMAC] (__signgam): Declare.
17455         * math/Makefile (libm-calls): Add w_lgamma_compat.
17456         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17457         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17458         test-signgam-ullong-init.
17459         (tests-static): Add test-signgam-uchar-static,
17460         test-signgam-uchar-init-static, test-signgam-uint-static,
17461         test-signgam-uint-init-static, test-signgam-ullong-static and
17462         test-signgam-ullong-init-static.
17463         (CFLAGS-test-signgam-uchar.c): New variable.
17464         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17465         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17466         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17467         (CFLAGS-test-signgam-uint.c): Likewise.
17468         (CFLAGS-test-signgam-uint-init.c): Likewise.
17469         (CFLAGS-test-signgam-uint-static.c): Likewise.
17470         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17471         (CFLAGS-test-signgam-ullong.c): Likewise.
17472         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17473         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17474         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17475         * math/Versions (libm): Add GLIBC_2.23.
17476         * math/lgamma-compat.h: New file.
17477         * math/test-signgam-main.c: Likewise.
17478         * math/test-signgam-uchar-init-static.c: Likewise.
17479         * math/test-signgam-uchar-init.c: Likewise.
17480         * math/test-signgam-uchar-static.c: Likewise.
17481         * math/test-signgam-uchar.c: Likewise.
17482         * math/test-signgam-uint-init-static.c: Likewise.
17483         * math/test-signgam-uint-init.c: Likewise.
17484         * math/test-signgam-uint-static.c: Likewise.
17485         * math/test-signgam-uint.c: Likewise.
17486         * math/test-signgam-ullong-init-static.c: Likewise.
17487         * math/test-signgam-ullong-init.c: Likewise.
17488         * math/test-signgam-ullong-static.c: Likewise.
17489         * math/test-signgam-ullong.c: Likewise.
17490         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17491         wrapper of w_lgamma_main.c.
17492         * math/w_lgamma_compat.c: New file.
17493         * math/w_lgamma_compatf.c: Likewise.
17494         * math/w_lgamma_compatl.c: Likewise.
17495         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17496         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17497         defining compatibility symbols.
17498         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17499         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17500         wrapper of w_lgammaf_main.c.
17501         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17502         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17503         defining compatibility symbols.
17504         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17505         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17506         wrapper of w_lgammal_main.c.
17507         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17508         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17509         defining compatibility symbols.
17510         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17511         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17512         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17513         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17514         <lgamma-compat.h>.
17515         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17516         (__ieee754_gamma): Define as alias.
17517         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17518         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17519         <lgamma-compat.h>.
17520         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17521         (__ieee754_gammaf): Define as alias.
17522         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17523         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17524         <lgamma-compat.h>.
17525         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17526         (__ieee754_gammal): Define as alias.
17527         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17528         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17529         <math/w_lgamma_compat.c>.
17530         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17531         Define as alias of __lgamma_compat and use in defining lgammal.
17532         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17533         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17534         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17535         (USE_AS_COMPAT): New macro.
17536         (LGAMMA_OLD_VER): Undefine and redefine.
17537         (lgammal): Do not define here.
17538         (gammal): Only define here if [GAMMA_ALIAS].
17539         * conform/linknamespace.pl (@whitelist): Remove signgam.
17540         * sysdeps/nacl/libm.abilist: Update.
17541         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17542         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17543         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17544         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17545         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17546         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17547         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17548         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17549         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17550         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17551         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17552         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17554         Likewise.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17556         Likewise.
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17558         Likewise.
17559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17560         Likewise.
17561         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17562         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17563         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17564         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17565         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17567         Likewise.
17568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17569         Likewise.
17570         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17571         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17572         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17574 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17576         [BZ #16364]
17577         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17578         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17580 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17582         * sysdeps/s390/fpu/bits/mathinline.h:
17583         Use __asm__ [__volatile__] instead of asm [volatile].
17584         * sysdeps/s390/abort-instr.h: Likewise.
17585         * sysdeps/s390/atomic-machine.h: Likewise.
17586         * sysdeps/s390/bits/string.h: Likewise.
17587         * sysdeps/s390/dl-tls.h: Likewise.
17588         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17589         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17590         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17591         * sysdeps/s390/fpu/fesetround.c: Likewise.
17592         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17593         * sysdeps/s390/fpu/s_fma.c: Likewise.
17594         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17595         * sysdeps/s390/memusage.h: Likewise.
17596         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17597         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17598         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17599         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17600         * sysdeps/s390/nptl/tls.h: Likewise.
17601         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17602         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17603         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17604         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17605         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17606         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17607         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17608         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17609         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17610         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17611         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17612         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17613         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17614         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17615         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17616         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17617         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17618         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17619         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17621         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17622         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17623         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17625 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17626             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17628         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17629         Add lwarx hint, and use macro for acquire instruction.
17630         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17631         Likewise.
17632         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17633         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17634         update to use new atomic macros.
17636 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17638         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17639         (__lll_trylock_elision): Fix setting of adapt_count.
17640         * sysdeps/unix/sysv/linux/powerpc/htm.h
17641         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17642         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17643         (_ABORT_SYSCALL): Renumber, and clarify definition.
17644         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17646 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17648         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17649         after system headers to prevent MIN/MAX redefinition.  Define
17650         HAVE_ALLOCA to preserve builtin alloca usage.
17652 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17654         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17655         static and don't set or restore rounding.
17656         (__cos)[IN_SINCOS]: Likewise.
17657         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17658         (__sincos): Set and restore rounding mode.  Remove check for infinite
17659         or NaN input.
17661         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17663         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17664         as used.
17666 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17668         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17670 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17672         * config.make.in (have-glob-dat-reloc): New.
17673         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17674         target supports GLOB_DAT relocaton. AC_SUBST.
17675         * configure: Regenerated.
17676         * elf/Makefile (tests): Add tst-prelink.
17677         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17678         (tst-prelink-ENV): New.
17679         ($(objpfx)tst-prelink-conflict.out): Likewise.
17680         ($(objpfx)tst-prelink-cmp.out): Likewise.
17681         * sysdeps/x86/tst-prelink.c: Moved to ...
17682         * elf/tst-prelink.c: Here.
17683         * sysdeps/x86/tst-prelink.exp: Moved to ...
17684         * elf/tst-prelink.exp: Here.
17685         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17686         (tst-prelink-ENV): Removed.
17687         ($(objpfx)tst-prelink-conflict.out): Likewise.
17688         ($(objpfx)tst-prelink-cmp.out): Likewise.
17689         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17691 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17693         [BZ #14551]
17694         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17695         (__mpn_construct_long_double): If high part overflows to infinity,
17696         set errno and recompute overflowed result of the correct sign.
17697         * sysdeps/ieee754/ldbl-128ibm/Makefile
17698         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17699         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17700         $(libm).
17701         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17703 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17705         [BZ #15479]
17706         [BZ #19238]
17707         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17708         floating-point state after first operation on input.  Restore full
17709         state rather than just rounding mode.
17710         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17711         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17712         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17714         [BZ #19235]
17715         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17716         add 0.5 to integer arguments.
17717         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17718         Likewise.
17719         (.LC2): New object.
17721 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17723         * scripts/pylintrc (reports): Set to no.
17725 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17727         * elf/dl-load.c (open_verify): Take new argument FD.
17728         Skip __open call if passed FD is not -1.
17729         (_dl_map_object, open_path): Update callers.
17730         * elf/dl-sysdep-open.h: New file.
17731         * elf/dl-load.c: Include it.
17732         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17733         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17734         * sysdeps/nacl/dl-sysdep-open.h: New file.
17735         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17736         from libc to rtld.
17738 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17740         [BZ #19228]
17741         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17742         and restore full floating-point state.
17743         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17744         Likewise.
17745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17746         Likewise.
17747         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17748         Likewise.
17749         * math/test-nearbyint-except-2.c: New file.
17750         * math/Makefile (tests): Add test-nearbyint-except-2.
17752 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17754         [BZ #19178]
17755         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17756         (tst-prelink-ENV): New.
17757         ($(objpfx)tst-prelink-conflict.out): Likewise.
17758         ($(objpfx)tst-prelink-cmp.out): Likewise.
17759         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17760         * sysdeps/x86/tst-prelink.c: New file.
17761         * sysdeps/x86/tst-prelink.exp: Likewise.
17763 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17765         * math/auto-libm-test-in: Add another test of pow.
17766         * math/auto-libm-test-out: Regenerated.
17767         * math/libm-test.inc (pow_test_data): Add another test.
17769 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17771         [BZ #19219]
17772         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17773         weak_alias to nearbyintl.
17775 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17777         * sysdeps/aarch64/bits/string.h: New file.
17778         (_STRING_ARCH_unaligned): Define.
17780 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17782         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17783         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17784         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17785         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17788 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17790         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17791         for original name of the DSO.  Add it to the name list of the DSO
17792         if it is actually given.
17793         (_dl_map_object): Keep track of whether an audit module rewrote
17794         the file name.  If yes, pass the original name to
17795         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17796         debugging is enabled, log the change of the file name.
17797         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17798         _dl_map_object_from_fd.
17799         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17800         * elf/tst-audit11.c: New file
17801         * elf/tst-auditmod11.c: New file.
17802         * elf/tst-audit11mod1.c: New file.
17803         * elf/tst-audit11mod2.c: New file.
17804         * elf/tst-audit11mod2.map: New file.
17805         * elf/tst-audit12.c: New file
17806         * elf/tst-auditmod12.c: New file.
17807         * elf/tst-audit12mod1.c: New file.
17808         * elf/tst-audit12mod2.c: New file.
17809         * elf/tst-audit12mod2.map: New file.
17810         * elf/tst-audit12mod3.c: New file.
17812 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17814         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17815         Don't create weak aliases,
17816         because versioned symbols are created later.
17817         * sysdeps/s390/s390-32/setjmp.S
17818         (setjmp, _setjmp): Remove weak and rename to an unique name
17819         in SHARED case due to existing versioned symbols.
17820         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17821         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17822         (getcontext): Create weak alias only in non SHARED case.
17823         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17825 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17827         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17828         (__ASSUME_*_SYSCALL) Define new macros.
17829         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17830         Remove socketcall syscalls.
17831         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17832         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17833         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17834         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17835         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17836         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17838 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17840         [BZ #12926]
17841         Terminate process on invalid netlink response.
17842         * sysdeps/unix/sysv/linux/netlinkaccess.h
17843         (__netlink_assert_response): Declare.
17844         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17845         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17846         (sysdep_routines): Add netlink_assert_response.
17847         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17848         __netlink_assert_response.
17849         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17850         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17851         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17852         __netlink_assert_response.
17854 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17856         [BZ #19178]
17857         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17858         (RTYPE_CLASS_PLT): Likewise.
17859         (RTYPE_CLASS_COPY): Likewise.
17860         (RTYPE_CLASS_TLS): Likewise.
17861         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17862         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
17863         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17864         DL_DEBUG_PRELINK.
17866 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
17868         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17869         calls with argument -0.5.
17870         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17872         * configure.ac (libc_cv_z_nodelete): Remove configure test.
17873         (libc_cv_z_nodlopen): Likewise.
17874         (libc_cv_z_initfirst): Likewise.
17875         * configure: Regenerated.
17877 2015-11-06  Florian Weimer  <fweimer@redhat.com>
17879         Simplify abilist format to be line-based.
17880         * scripts/abilist.awk: Collect descriptors in the descs variable.
17881         (emit): Write descs variable and sort it
17882         externally, with sort.
17883         * sysdeps/**/*.abilist: Convert to new format.
17885 2015-11-06  Mark Wielaard  <mjw@redhat.com>
17887         [BZ #11460]
17888         * io/Makefile (routines): Add fts64.
17889         (tests): Add tst-fts and tst-fts-lfs.
17890         (CFLAGS-fts64.c): New.
17891         * io/Versions (GLIBC_2.23): New.
17892         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
17893         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
17894         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
17895         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
17896         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
17897         (FTSENT64): Likewise.
17898         (fts64_children): Likewise.
17899         (fts64_close): Likewise.
17900         (fts64_open): Likewise.
17901         (fts64_read): Likewise.
17902         (fts64_set): Likewise.
17903         * io/fts64.c: New file.
17904         * io/tst-fts.c: New test.
17905         * io/tst-fts-lfs.c: Likewise.
17906         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
17907         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
17908         fts64_set.
17909         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17910         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17911         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17912         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17913         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17914         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17915         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17916         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17917         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17918         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17919         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17920         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17921         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17923         Likewise.
17924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17925         Likewise.
17926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17928         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17929         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17930         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17931         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17932         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17935         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17936         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17937         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17938         * sysdeps/wordsize-64/fts.c: New file.
17939         * sysdeps/wordsize-64/fts64.c: Likewise.
17940         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
17941         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
17942         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
17943         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
17945 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17947         * math/libm-test.inc (NON_FINITE): New macro.
17948         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
17949         * math/gen-libm-test.pl (show_exceptions): Add argument
17950         $non_finite.
17951         (parse_args): Update call to show_exceptions.
17952         * math/test-math-finite.h: New file.
17953         * math/test-math-no-finite.h: Likewise.
17954         * math/test-double-finite.c: Likewise.
17955         * math/test-float-finite.c: Likewise.
17956         * math/test-ldouble-finite.c: Likewise.
17957         * math/test-double.c: Include "test-math-no-finite.h".
17958         * math/test-float.c: Include "test-math-no-finite.h".
17959         * math/test-ldouble.c: Include "test-math-no-finite.h".
17960         * math/test-math-inline.h (TEST_FINITE): New macro.
17961         * math/test-math-vector.h (TEST_FINITE): Likewise.
17962         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
17963         (libm-tests): Add test-float-finite and test-double-finite.
17964         ($(objpfx)test-float-finite.o): New dependency on
17965         $(objpfx)libm-test.stmp.
17966         ($(objpfx)test-double-finite.o): Likewise.
17967         ($(objpfx)test-ldouble-finite.o): Likewise.
17968         (libm-test-no-inline-cflags): New variable.
17969         (libm-test-finite-cflags): Likewise.
17970         (CFLAGS-test-float-finite.c): Likewise.
17971         (CFLAGS-test-double-finite.c): Likewise.
17972         (CFLAGS-test-ldouble-finite.c): Likewise.
17973         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
17974         (CFLAGS-test-double.c): Likewise.
17975         (CFLAGS-test-ldouble.c): Likewise.
17977 2015-11-05  Roland McGrath  <roland@hack.frob.com>
17979         * io/fcntl.c (__fcntl): Add ... to prototype.
17980         * misc/ioctl.c (__ioctl): Likewise.
17981         * misc/syscall.c (syscall): Likewise.
17983 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17985         * scripts/list-fixed-bugs.py: New file.
17987         [BZ #19213]
17988         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
17989         returned for argument 1.
17990         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
17991         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
17992         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
17993         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
17994         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
17995         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
17997         [BZ #19211]
17998         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
17999         __USE_XOPEN], not if [!__USE_ISOC99].
18000         (lgammaf): Likewise.
18001         (lgammal): Likewise.
18002         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18003         (gammaf): Likewise.
18004         (gammal): Likewise.
18005         * math/test-signgam-finite-c11.c: New file.
18006         * math/test-signgam-finite-c99.c: Likewise.
18007         * math/test-signgam-finite.c: Likewise.
18008         * math/Makefile (tests): Add test-signgam-finite,
18009         test-signgam-finite-c99 and test-signgam-finite-c11.
18010         (CFLAGS-test-signgam-finite.c): New variable.
18011         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18012         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18014         [BZ #19212]
18015         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18016         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18017         500].
18018         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18019         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18020         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18021         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18022         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18023         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18024         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18025         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18026         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18027         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18029         [BZ #19209]
18030         * math/bits/math-finite.h (ldexp): Remove declaration.
18031         (ldexpf): Likewise.
18032         (ldexpl): Likewise.
18034         [BZ #19205]
18035         * math/bits/math-finite.h (acosf): Condition declaration on
18036         [__USE_ISOC99].
18037         (acosl): Likewise.
18038         (acoshf): Likewise.
18039         (acoshl): Likewise.
18040         (asinf): Likewise.
18041         (asinl): Likewise.
18042         (atan2f): Likewise.
18043         (atan2l): Likewise.
18044         (atanhf): Likewise.
18045         (atanhl): Likewise.
18046         (coshf): Likewise.
18047         (coshl): Likewise.
18048         (expf): Likewise.
18049         (expl): Likewise.
18050         (fmodf): Likewise.
18051         (fmodl): Likewise.
18052         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18053         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18054         (j0l): Likewise.
18055         (y0f): Likewise.
18056         (y0l): Likewise.
18057         (j1f): Likewise.
18058         (j1l): Likewise.
18059         (y1f): Likewise.
18060         (y1l): Likewise.
18061         (jnf): Likewise.
18062         (jnl): Likewise.
18063         (ynf): Likewise.
18064         (ynl): Likewise.
18065         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18066         (lgammal_r): Likewise.
18067         (__lgamma_r_finite): New declaration.
18068         (__lgammaf_r_finite): Likewise.
18069         (__lgammal_r_finite): Likewise.
18070         (lgamma): Use __lgamma_r_finite.
18071         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18072         __lgammaf_r_finite.
18073         (lgammal): Condition definition on [__USE_ISOC99].  Use
18074         __lgammal_r_finite.
18075         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18076         __lgamma_r_finite.
18077         (gammaf): Condition definition on [__USE_ISOC99].  Use
18078         __lgammaf_r_finite.
18079         (gammal): Condition definition on [__USE_ISOC99].  Use
18080         __lgammal_r_finite.
18081         (logf): Condition declaration on [__USE_ISOC99].
18082         (logl): Likewise.
18083         (log10f): Likewise.
18084         (log10l): Likewise.
18085         (ldexpf): Likewise.
18086         (ldexpl): Likewise.
18087         (powf): Likewise.
18088         (powl): Likewise.
18089         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18090         __USE_ISOC99].
18091         (remainderf): Condition declaration on [__USE_ISOC99].
18092         (remainderl): Likewise.
18093         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18094         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18095         (scalbl): Likewise.
18096         (sinhf): Condition declaration on [__USE_ISOC99].
18097         (sinhl): Likewise.
18098         (sqrtf): Likewise.
18099         (sqrtl): Likewise.
18101 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18103         * sysdeps/arm/atomic-machine.h
18104         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18105         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18106         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18107         Remove conditional code.
18108         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18109         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18110         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18111         Change conditional to [__ASSEMBLER__].
18112         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18113         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18114         [!__ASSEMBLER__].
18115         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18116         code.
18117         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18118         conditional macro definitions.
18119         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18120         (__arch_compare_and_exchange_val_16_acq): Likewise.
18121         (__arch_compare_and_exchange_val_32_acq): Likewise.
18122         (atomic_exchange_and_add): Likewise.
18123         (atomic_add): Likewise.
18124         (atomic_add_negative): Likewise.
18125         (atomic_add_zero): Likewise.
18126         (atomic_bit_set): Likewise.
18127         (atomic_bit_test_set): Likewise.
18128         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18129         code unconditional.
18130         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18132         * math/test-math-errno.h: New file.
18133         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18134         empty.
18135         (TEST_ERRNO): New macro.
18136         (TEST_EXCEPTIONS): Likewise.
18137         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18138         (TEST_EXCEPTIONS): Likewise.
18139         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18140         * math/test-double.c: Include "test-math-errno.h".
18141         * math/test-float.c: Likewise.
18142         * math/test-ldouble.c: Likewise.
18143         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18144         code unconditional.
18145         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18146         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18147         unconditional.
18148         (test_errno): Only run code if TEST_ERRNO.
18149         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18151 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18153         * nptl/tst-once5.cc: Remove attribution.
18155 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18157         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18158         sqrt, tan, tanh, y0, y1 and yn.
18159         * math/auto-libm-test-out: Regenerated.
18160         * math/libm-test.inc (scalb_test_data): Add more tests.
18161         (scalbn_test_data): Likewise.
18162         (scalbln_test_data): Likewise.
18163         (signbit_test_data): Likewise.
18164         (sin_test_data): Likewise.
18165         (sincos_test_data): Likewise.
18166         (sinh_test_data): Likewise.
18167         (sqrt_test_data): Likewise.
18168         (tan_test_data): Likewise.
18169         (tanh_test_data): Likewise.
18170         (tgamma_test_data): Likewise.
18171         (y0_test_data): Likewise.
18172         (y1_test_data): Likewise.
18173         (yn_test_data): Likewise.
18174         (significand_test_data): Likewise.
18175         * sysdeps/i386/fpu/libm-test-ulps: Update.
18177 2015-11-03  David Kastrup  <dak@gnu.org>
18179         [BZ #18604]
18180         * assert/assert.h (assert): Don't macro-expand failed assertion
18181         expression in error message.
18182         * malloc/malloc.c (assert): Likewise.
18184 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
18186         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
18187         test.
18188         * configure: Regenerated.
18190 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
18192         * math/libm-test.inc (modf_test_data): Add more tests.
18193         (nearbyint_test_data): Likewise.
18194         (nextafter_test_data): Likewise.
18195         (nexttoward_test_data): Likewise.
18196         (pow_test_data): Likewise.
18197         (remainder_test_data): Likewise.
18198         (remquo_test_data): Likewise.
18199         (rint_test_data): Likewise.
18201         [BZ #19201]
18202         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18203         Check for zero remainder in case of large exponents and ensure
18204         correct sign of result in that case.
18205         * math/libm-test.inc (remainder_test_data): Add more tests.
18207         [BZ #6799]
18208         * math/s_nextafter.c: Include <errno.h>.
18209         (__nextafter): Set errno on overflow and underflow.
18210         * math/s_nexttowardf.c: Include <errno.h>.
18211         (__nexttowardf): Set errno on overflow and underflow.
18212         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
18213         (__nextafterl): Set errno on overflow and underflow.
18214         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
18215         (__nexttoward): Set errno on overflow and underflow.
18216         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
18217         (__nexttowardf): Set errno on overflow and underflow.
18218         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
18219         (__nextafterf): Set errno on overflow and underflow.
18220         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
18221         (__nextafterl): Set errno on overflow and underflow.
18222         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
18223         (__nexttoward): Set errno on overflow and underflow.
18224         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
18225         (__nexttowardf): Set errno on overflow and underflow.
18226         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
18227         (__nextafterl): Set errno on overflow and underflow.
18228         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
18229         (__nexttoward): Set errno on overflow and underflow.
18230         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
18231         (__nexttowardf): Set errno on overflow and underflow.
18232         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
18233         (__nexttoward): Set errno on overflow and underflow.
18234         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
18235         (__nexttowardf): Set errno on overflow and underflow.
18236         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
18237         (__nldbl_nexttowardf): Set errno on overflow and underflow.
18238         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
18239         (__nextafterl): Set errno on overflow and underflow.
18240         * math/libm-test.inc (nextafter_test_data): Do not allow errno
18241         setting to be missing on overflow.  Add more tests.
18242         (nexttoward_test_data): Likewise.
18244         * configure.ac (libc_cv_initfini_array): Remove configure test.
18245         * configure: Regenerated.
18247 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
18249         [BZ #19189]
18250         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
18251         non-finite argument handle arguments with negative sign.
18253         * math/libm-test.inc (j0_test_data): Do not test sign of zero
18254         result from infinite argument.
18255         (j1_test_data): Likewise.
18256         (jn_test_data): Likewise.
18257         (y0_test_data): Likewise.
18258         (y1_test_data): Likewise.
18259         (yn_test_data): Likewise.
18261         [BZ #16171]
18262         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18263         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18264         * math/w_remainderf.c (dremf): Define as weak alias of
18265         __remainderf.
18266         * math/w_remainderl.c (dreml): Define as weak alias of
18267         __remainderl.
18268         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18269         __remainder.
18270         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18271         __remainderf.
18272         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18273         __remainderl.
18274         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18275         weak alias of remainderl.
18276         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18277         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18278         alias of __remainder.
18279         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18280         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18281         strong alias of __remainderl.
18282         (dreml): Use long_double_symbol.
18283         * math/Makefile (libm-calls): Remove w_drem.
18284         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18285         (CFLAGS-nldbl-drem.c): Remove variable.
18286         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18287         * math/w_drem.c: Remove file.
18288         * math/w_dremf.c: Likewise.
18289         * math/w_dreml.c: Likewise.
18290         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18291         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18292         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18294         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18295         * sysdeps/i386/configure: Regenerated.
18296         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18297         * sysdeps/x86_64/configure: Regenerated.
18299         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18300         test.
18301         (libc_cv_visibility_attribute): Likewise.
18302         (libc_cv_protected_data): Test unconditionally.
18303         (libc_cv_broken_visibility_attribute): Remove configure test.
18304         (libc_cv_have_sdata_section): Test unconditionally.
18305         * configure: Regenerated.
18307         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18308         * include/scratch_buffer.h: Include <stddef.h> instead of
18309         <libc-internal.h>.
18310         (struct scratch_buffer): Use max_align_t instead of
18311         libc_max_align_t.
18313 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18315         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18316         instead of extend_alloca.  Change control flow to avoid a goto.
18317         Remove assert which is trivially always true.
18319 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18321         [BZ #16068]
18322         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18323         (FE_ALL_EXCEPT_X86): New macro.
18324         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18325         FE_ALL_EXCEPT.  Ensure precision control is included in
18326         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18327         handle "denormal operand exception" and clear FZ and DAZ bits.
18328         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18329         (FE_ALL_EXCEPT_X86): New macro.
18330         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18331         FE_ALL_EXCEPT.  Ensure precision control is included in
18332         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18333         handle "denormal operand exception" and clear FZ and DAZ bits.
18334         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18335         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18336         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18337         test-fenv-x87 and test-fenv-sse-2.
18338         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18340         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18341         * math/test-double.h (BUILD_COMPLEX): New macro.
18342         * math/test-float.h (BUILD_COMPLEX): Likewise.
18343         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18345         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18346         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18347         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18349         instead of DBL_DENORM_MIN in comment.
18350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18351         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18352         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18353         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18354         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18355         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18357 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18359         [BZ# 19048]
18360         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18361         attached_threads member.
18362         (main_arena): Initialize attached_threads.
18363         * malloc/arena.c (list_lock): Update comment.
18364         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18365         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18366         (deattach_arena): New function.
18367         (_int_new_arena): Initialize arena reference count and deattach
18368         replaced arena.
18369         (get_free_list, reused_arena): Update reference count and deattach
18370         replaced arena.
18371         (arena_thread_freeres): Update arena reference count and only put
18372         unreferenced arenas on the free list.
18374 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18376         [BZ #19181]
18377         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18378         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18379         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18380         * math/test-fenv-clear-main.c: New file.
18381         * math/test-fenv-clear.c: Likewise.
18382         * math/Makefile (tests): Add test-fenv-clear.
18383         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18384         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18385         test-fenv-clear-sse.
18386         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18388         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18389         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18390         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18392 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18394         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18395         static libc.
18397 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18399         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18400         test.
18401         * sysdeps/i386/configure: Regenerated.
18402         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18403         test.
18404         * sysdeps/x86_64/configure: Regenerated.
18405         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18406         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18407         memset-avx2 unconditionally instead of conditionally on
18408         [$(config-cflags-avx2) = yes].
18409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18410         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18411         unconditional.
18412         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18413         * sysdeps/x86_64/multiarch/memset_chk.S
18414         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18415         to [IS_IN (libc) && SHARED].
18417 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18419         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18420         configure test.
18421         * sysdeps/arm/configure: Regenerated.
18422         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18423         Define variable if not already defined.
18425         [BZ #17404]
18426         * sysdeps/mips/atomic-machine.h
18427         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18428         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18429         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18431         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18432         unconditional.
18433         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18434         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18435         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18436         unconditional.
18437         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18438         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18439         unconditional.
18440         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18441         * stdlib/setenv.c
18442         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18443         code unconditional.
18444         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18445         Remove conditional code.
18446         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18447         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18448         unconditional.
18449         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18450         code.
18451         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18452         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18453         unconditional.
18454         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18455         code.
18456         * sysdeps/ieee754/ldbl-128/k_tanl.c
18457         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18458         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18459         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18460         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18461         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18462         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18463         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18464         unconditional.
18465         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18466         code.
18467         * sysdeps/ieee754/ldbl-96/k_tanl.c
18468         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18469         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18471         * nptl/tst-initializers1-c11.c: New file.
18472         * nptl/tst-initializers1-gnu11.c: Likewise.
18473         * nptl/Makefile (tests): Add these new tests.
18474         (CFLAGS-tst-initializers1-c11.c): New variable.
18475         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18477         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18478         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18479         instead of -std=gnu99.
18480         * configure.ac (systemtap): Test with -std=gnu11 instead of
18481         -std=gnu99.
18482         * configure: Regenerated.
18483         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18484         in compilation command in comment.
18486         * sysdeps/nptl/configure.ac: Remove file.
18487         * sysdeps/nptl/configure: Remove generated file.
18488         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18489         * configure: Regenerated.
18490         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18491         * config.make.in (have-forced-unwind): Remove variable.
18492         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18493         unconditional.
18494         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18495         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18496         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18497         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18498         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18499         unconditional.
18501 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18503         [BZ #19174]
18504         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18505         .skip_lock_out_of_tbegin_retries.
18506         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18507         (__lll_lock_elision): Likewise, and respect a value of
18508         try_tbegin <= 0.
18510 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18512         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18513         statement.
18515 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18517         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18518         variable.
18519         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18520         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18522         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18523         of -std=c1x -D_ISOC11_SOURCE.
18525         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18526         * configure: Regenerated.
18527         * manual/install.texi (Tools for Compilation): Document
18528         requirement for GCC 4.7 or later.
18529         * INSTALL: Regenerated.
18531 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18533         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18534         on CNT to a conditional jump to 'puntdata'.
18536 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18538         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18539         (libc_cv_gcc_tls_model_attr): Likewise.
18540         * configure: Regenerated.
18542         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18543         * configure: Regenerated.
18544         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18546 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18548         * configure.ac (old_glibc_headers): Remove configure test.
18549         * configure: Regenerated.
18550         * config.make.in (old-glibc-headers): Remove variable.
18551         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18552         (install): Remove dependency on remove-old-headers.
18553         (headers2_0): Remove variable.
18554         (remove-old-headers): Remove rule.
18556         * configure.ac (libc_cv_dot_text): Remove configure test.
18557         (libc_cv_asm_set_directive): Use .text instead of
18558         ${libc_cv_dot_text} in configure test.
18559         * configure: Regenerated.
18561 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18563         [BZ #19168]
18564         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18566 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18568         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18569         not support static linking.
18570         * configure: Regenerate.
18572 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18574         * math/libm-test.inc (check_float_internal): Do not special-case
18575         errors up to 0.5 ulp.
18577         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18578         log2.
18579         * math/auto-libm-test-out: Regenerated.
18580         * math/libm-test.inc (MAX_EXP): New macro.
18581         (ilogb_test_data): Add more tests.
18582         (isfinite_test_data): Likewise.
18583         (isgreater_test_data): Likewise.
18584         (isgreaterequal_test_data): Likewise.
18585         (isinf_test_data): Likewise.
18586         (isless_test_data): Likewise.
18587         (islessequal_test_data): Likewise.
18588         (islessgreater_test_data): Likewise.
18589         (isnan_test_data): Likewise.
18590         (isnormal_test_data): Likewise.
18591         (issignaling_test_data): Likewise.
18592         (isunordered_test_data): Likewise.
18593         (j0_test_data): Likewise.
18594         (j1_test_data): Likewise.
18595         (jn_test_data): Likewise.
18596         (lgamma_test_data): Likewise.
18597         (log_test_data): Likewise.
18598         (log10_test_data): Likewise.
18599         (log1p_test_data): Likewise.
18600         (log2_test_data): Likewise.
18601         (logb_test_data): Likewise.
18602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18604         [BZ #18611]
18605         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18606         avoid excess range and precision on underflow.
18607         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18608         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18609         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18610         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18611         underflow.
18612         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18614         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18615         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18616         * math/auto-libm-test-in: Do not allow missing errno setting for
18617         tests of j1 and jn.
18618         * math/auto-libm-test-out: Regenerated.
18620 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18622         [BZ #15491]
18623         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18624         floating-point environment instead of clearing all exceptions.
18625         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18626         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18627         merging in "invalid" exceptions from frndint.
18628         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18629         * math/test-nearbyint-except.c: New file.
18630         * math/Makefile (tests): Add test-nearbyint-except.
18632 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18634         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18636         * sysdeps/tile/libm-test-ulps: Regenerated.
18638 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18641         (__NR_sync_file_range2): Assume it is always defined.
18642         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18643         (__NR_sync_file_range): Assume it is always defined.
18645 2015-10-22  Andreas Schwab  <schwab@suse.de>
18647         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18648         INTERNAL_SYSCALL_ERRNO.
18649         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18650         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18651         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18652         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18653         Likewise.
18654         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18656 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18658         * io/tst-fcntl.c (fd): New static variable.
18659         (do_prepare): Open temporary file here....
18660         (do_test): ...not here.
18662         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18664 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18666         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18667         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18668         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18669         Moved before "#ifdef __ASSEMBLER__".
18671 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18673         [BZ #19156]
18674         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18675         arguments very close to 0.
18677 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18679         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18680         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18682 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18684         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18685         New.  Defined for GCC 5 and above when not compiling for
18686         profiling.
18687         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18689         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18690         Renamed to ...
18691         (CFLAGS-epoll_pwait.o): This.
18692         (CFLAGS-mmap.c): Renamed to ...
18693         (CFLAGS-mmap.o): This.
18694         (CFLAGS-mmap64.c): Renamed to ...
18695         (CFLAGS-mmap64.o): This.
18696         (CFLAGS-epoll_pwait.os): New.
18697         (CFLAGS-mmap.os): Likewise.
18698         (CFLAGS-mmap64.os): Likewise.
18699         (CFLAGS-semtimedop.os): Likewise.
18700         (CFLAGS-semtimedop.c): Renamed to ...
18701         (CFLAGS-semtimedop.o): This.
18703 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18705         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18706         warning message.
18708 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18710         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18711         * Makefile ($(objpfx)c++-types-check.out): Filter out
18712         $(+gccwarn-c) instead of -Wstrict-prototypes.
18714         * io/fts.c (fts_open): Convert to prototype-style function
18715         definition.
18716         * malloc/mcheck.c (mcheck): Likewise.
18717         (mcheck_pedantic): Likewise.
18718         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18719         internal_function.
18720         (re_search_internal): Likewise.
18721         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18722         prototype-style function definition.
18723         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18724         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18725         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18726         (xdr_utmpptr): Likewise.
18727         (xdr_utmparr): Likewise.
18728         (xdr_utmpidle): Likewise.
18729         (xdr_utmpidleptr): Likewise.
18730         (xdr_utmpidlearr): Likewise.
18732         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18733         log, log10 and log2.
18734         * math/auto-libm-test-out: Regenerated.
18735         * math/libm-test.inc (fmod_test_data): Add more tests.
18736         (fpclassify_test_data): Likewise.
18737         (frexp_test_data): Likewise.
18738         (hypot_test_data): Likewise.
18739         (ilogb_test_data): Likewise.
18741 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18743         * debug/fortify_fail.c (__fortify_fail): Convert to
18744         prototype-style function definition.  Use internal_function.
18745         * libio/genops.c (save_for_backup): Convert to prototype-style
18746         function definition.
18747         * libio/wgenops.c (save_for_wbackup): Likewise.
18748         * login/grantpt.c (grantpt): Likewise.
18749         * login/ptsname.c (ptsname): Likewise.
18750         (__ptsname_r): Likewise.
18751         * login/unlockpt.c (unlockpt): Likewise.
18752         * mach/msgserver.c (__mach_msg_server): Likewise.
18753         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18754         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18755         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18756         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18757         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18758         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18759         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18760         Likewise.
18761         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18762         internal_function.
18763         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18764         prototype-style function definition.
18765         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18766         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18767         (__pthread_create_2_0): Likewise.
18768         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18769         * nptl/register-atfork.c (__register_atfork): Likewise.
18770         * posix/glob.c (glob): Likewise.
18771         * posix/regcomp.c (re_comp): Likewise.
18772         * posix/regexec.c (re_exec): Likewise.
18773         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18774         [!__STDC__]: Remove conditional code.
18775         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18776         [!__STDC__]: Remove conditional code.
18777         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18778         [!__STDC__]: Remove conditional code.
18779         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18780         [!__STDC__]: Remove conditional code.
18781         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18782         [!__STDC__]: Remove conditional code.
18783         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18784         [!__STDC__]: Remove conditional code.
18785         * stdlib/mul.c [__STDC__]: Make code unconditional.
18786         [!__STDC__]: Remove conditional code.
18787         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18788         [!__STDC__]: Remove conditional code.
18789         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18790         [!__STDC__]: Remove conditional code.
18791         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18792         function definition.
18793         (STRTOF): Likewise.
18794         * stdlib/strtod_l.c (__STRTOF): Likewise.
18795         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18796         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18797         (__strtol_l): Likewise.
18798         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18799         [!__STDC__]: Remove conditional code.
18800         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18801         definition.
18802         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18803         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18804         type.
18805         (__strcasecmp): Convert to prototype-style function definition.
18806         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18807         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18808         type.
18809         (__strncasecmp): Convert to prototype-style function definition.
18810         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18811         * sunrpc/xdr.c (xdr_union): Likewise.
18812         * sunrpc/xdr_array.c (xdr_array): Likewise.
18813         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18814         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18815         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18816         Likewise.
18817         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18818         Likewise.
18819         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18820         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18821         Likewise.
18822         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18823         (LOCALE_PARAM_PROTO): Likewise.
18824         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18825         argument type.
18826         (ut_argument_spec): Remove macro.
18827         (ut_argument_spec_iso): Rename to ut_argument_spec.
18828         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18829         prototype-style function definition.
18830         (memcpy_uppcase): Likewise.
18831         (__strftime_internal): Likewise.
18832         (my_strftime): Likewise.
18833         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18834         (LOCALE_PARAM_DECL): Likewise.
18835         [_LIBC] (LOCALE_PARAM): Include argument type.
18836         (__strptime_internal): Convert to prototype-style function
18837         definition.
18838         (strptime): Likewise.
18839         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18840         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18841         type.
18842         (__wcscasecmp): Convert to prototype-style function definition.
18843         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18844         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18845         type.
18846         (__wcsncasecmp): Convert to prototype-style function definition.
18848         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18849         function definition.
18850         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18851         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18852         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18853         * elf/dl-minimal.c (_itoa): Likewise.
18854         * hurd/hurdmalloc.c (malloc): Likewise.
18855         (free): Likewise.
18856         (realloc): Likewise.
18857         * inet/inet6_option.c (inet6_option_space): Likewise.
18858         (inet6_option_init): Likewise.
18859         (inet6_option_append): Likewise.
18860         (inet6_option_alloc): Likewise.
18861         (inet6_option_next): Likewise.
18862         (inet6_option_find): Likewise.
18863         * io/ftw.c (FTW_NAME): Likewise.
18864         (NFTW_NAME): Likewise.
18865         (NFTW_NEW_NAME): Likewise.
18866         (NFTW_OLD_NAME): Likewise.
18867         * libio/iofwide.c (_IO_fwide): Likewise.
18868         * libio/strops.c (_IO_str_init_static_internal): Likewise.
18869         (_IO_str_init_static): Likewise.
18870         (_IO_str_init_readonly): Likewise.
18871         (_IO_str_overflow): Likewise.
18872         (_IO_str_underflow): Likewise.
18873         (_IO_str_count): Likewise.
18874         (_IO_str_seekoff): Likewise.
18875         (_IO_str_pbackfail): Likewise.
18876         (_IO_str_finish): Likewise.
18877         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
18878         (_IO_wstr_overflow): Likewise.
18879         (_IO_wstr_underflow): Likewise.
18880         (_IO_wstr_count): Likewise.
18881         (_IO_wstr_seekoff): Likewise.
18882         (_IO_wstr_pbackfail): Likewise.
18883         (_IO_wstr_finish): Likewise.
18884         * locale/programs/localedef.c (normalize_codeset): Likewise.
18885         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18886         (add_locales_to_archive): Likewise.
18887         (delete_locales_from_archive): Likewise.
18888         * malloc/malloc.c (__libc_mallinfo): Likewise.
18889         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
18890         * misc/tsearch.c (__tfind): Likewise.
18891         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
18892         * nptl/pthread_attr_getdetachstate.c
18893         (__pthread_attr_getdetachstate): Likewise.
18894         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18895         Likewise.
18896         * nptl/pthread_attr_getinheritsched.c
18897         (__pthread_attr_getinheritsched): Likewise.
18898         * nptl/pthread_attr_getschedparam.c
18899         (__pthread_attr_getschedparam): Likewise.
18900         * nptl/pthread_attr_getschedpolicy.c
18901         (__pthread_attr_getschedpolicy): Likewise.
18902         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
18903         Likewise.
18904         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
18905         Likewise.
18906         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
18907         Likewise.
18908         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
18909         Likewise.
18910         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
18911         (__pthread_attr_init_2_0): Likewise.
18912         * nptl/pthread_attr_setdetachstate.c
18913         (__pthread_attr_setdetachstate): Likewise.
18914         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
18915         Likewise.
18916         * nptl/pthread_attr_setinheritsched.c
18917         (__pthread_attr_setinheritsched): Likewise.
18918         * nptl/pthread_attr_setschedparam.c
18919         (__pthread_attr_setschedparam): Likewise.
18920         * nptl/pthread_attr_setschedpolicy.c
18921         (__pthread_attr_setschedpolicy): Likewise.
18922         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
18923         Likewise.
18924         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
18925         Likewise.
18926         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
18927         Likewise.
18928         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
18929         Likewise.
18930         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
18931         Likewise.
18932         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
18933         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18934         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
18935         use internal_function.
18936         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
18937         prototype-style function definition.
18938         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
18939         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
18940         internal_function.
18941         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
18942         Convert to prototype-style function definition.
18943         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
18944         Likewise.
18945         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
18946         Likewise.
18947         (__pthread_mutex_unlock): Likewise.
18948         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
18949         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
18950         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
18951         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
18952         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
18953         * nss/makedb.c (process_input): Likewise.
18954         * posix/fnmatch.c (__strchrnul): Likewise.
18955         (__wcschrnul): Likewise.
18956         (fnmatch): Likewise.
18957         * posix/fnmatch_loop.c (FCT): Likewise.
18958         * posix/glob.c (globfree): Likewise.
18959         (__glob_pattern_type): Likewise.
18960         (__glob_pattern_p): Likewise.
18961         * posix/regcomp.c (re_compile_pattern): Likewise.
18962         (re_set_syntax): Likewise.
18963         (re_compile_fastmap): Likewise.
18964         (regcomp): Likewise.
18965         (regerror): Likewise.
18966         (regfree): Likewise.
18967         * posix/regexec.c (regexec): Likewise.
18968         (re_match): Likewise.
18969         (re_search): Likewise.
18970         (re_match_2): Likewise.
18971         (re_search_2): Likewise.
18972         (re_search_stub): Likewise.  Use internal_function
18973         (re_copy_regs): Likewise.
18974         (re_set_registers): Convert to prototype-style function
18975         definition.
18976         (prune_impossible_nodes): Likewise.  Use internal_function.
18977         * resolv/inet_net_pton.c (inet_net_pton): Convert to
18978         prototype-style function definition.
18979         (inet_net_pton_ipv4): Likewise.
18980         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18981         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
18982         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
18983         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
18984         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18985         Make variadic.
18986         * time/strptime_l.c (localtime_r): Convert to prototype-style
18987         function definition.
18988         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18989         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18990         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18991         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18993         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
18994         definition.
18995         (_ufc_doit_r): Likewise.
18996         * crypt/crypt_util.c (_ufc_copymem): Likewise.
18997         (_ufc_output_conversion_r): Likewise.
18998         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
18999         * inet/rcmd.c (rcmd_af): Likewise.
19000         (rcmd): Likewise.
19001         (ruserok_af): Likewise.
19002         (ruserok): Likewise.
19003         (ruserok2_sa): Likewise.
19004         (ruserok_sa): Likewise.
19005         (iruserok_af): Likewise.
19006         (iruserok): Likewise.
19007         (__ivaliduser): Likewise.
19008         (__validuser2_sa): Likewise.
19009         * inet/rexec.c (rexec_af): Likewise.
19010         (rexec): Likewise.
19011         * inet/ruserpass.c (ruserpass): Likewise.
19012         * locale/programs/xmalloc.c (xcalloc): Likewise.
19013         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19014         * math/w_drem.c (__drem): Likewise.
19015         * math/w_dremf.c (__dremf): Likewise.
19016         * math/w_dreml.c (__dreml): Likewise.
19017         * misc/daemon.c (daemon): Likewise.
19018         * resolv/res_debug.c (p_fqnname): Likewise.
19019         * stdlib/div.c (div): Likewise.
19020         * string/memcmp.c (memcmp_bytes): Likewise.
19021         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19022         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19024         * crypt/cert.c (main): Convert to prototype-style function
19025         definition.
19026         * io/pipe.c (__pipe): Likewise.
19027         * io/pipe2.c (__pipe2): Likewise.
19028         * misc/futimesat.c (futimesat): Likewise.
19029         * misc/utimes.c (__utimes): Likewise.
19030         * posix/execve.c (__execve): Likewise.
19031         * posix/execvp.c (execvp): Likewise.
19032         * posix/execvpe.c (__execvpe): Likewise.
19033         * posix/fexecve.c (fexecve): Likewise.
19034         * socket/socketpair.c (socketpair): Likewise.
19035         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19036         * stdlib/erand48.c (erand48): Likewise.
19037         * stdlib/erand48_r.c (__erand48_r): Likewise.
19038         * stdlib/jrand48.c (jrand48): Likewise.
19039         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19040         * stdlib/lcong48.c (lcong48): Likewise.
19041         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19042         * stdlib/nrand48.c (nrand48): Likewise.
19043         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19044         * stdlib/seed48.c (seed48): Likewise.
19045         * stdlib/seed48_r.c (__seed48_r): Likewise.
19046         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19047         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19048         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19050 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19052         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19053         * configure: Regenerated.
19054         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19055         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19056         unconditional.
19057         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19058         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19059         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19060         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19061         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19062         unconditional.
19063         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19065         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19066         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19068         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19069         function definition.
19070         * crypt/crypt_util.c (__encrypt_r): Likewise.
19071         * libio/genops.c (_IO_no_init): Likewise.
19072         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19073         (_IO_old_fopencookie): Likewise.
19074         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19075         * libio/iogetline.c (_IO_getline): Likewise.
19076         (_IO_getline_info): Likewise.
19077         * libio/iogetwline.c (_IO_getwline): Likewise.
19078         (_IO_getwline_info): Likewise.
19079         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19080         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19081         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19082         (find_entry): Likewise.
19083         (iterate_table): Likewise.
19084         (lookup): Likewise.
19085         * login/forkpty.c (forkpty): Likewise.
19086         * misc/hsearch_r.c (__hsearch_r): Likewise.
19087         * misc/select.c (__select): Likewise.
19088         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19089         Likewise.
19090         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19091         Likewise.
19092         * nptl/old_pthread_cond_timedwait.c
19093         (__pthread_cond_timedwait_2_0): Likewise.
19094         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19095         * nptl/pthread_barrierattr_getpshared.c
19096         (pthread_barrierattr_getpshared): Likewise.
19097         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19098         Likewise.
19099         * nptl/pthread_mutex_setprioceiling.c
19100         (pthread_mutex_setprioceiling): Likewise.
19101         * nptl/pthread_mutexattr_getprioceiling.c
19102         (pthread_mutexattr_getprioceiling): Likewise.
19103         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19104         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19105         Likewise.
19106         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19107         Likewise.
19108         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19109         Likewise.
19110         * socket/recvfrom.c (__recvfrom): Likewise.
19111         * socket/sendto.c (__sendto): Likewise.
19112         * socket/setsockopt.c (__setsockopt): Likewise.
19113         * stdio-common/_itoa.c (_itoa): Likewise.
19114         * stdio-common/_itowa.c (_itowa): Likewise.
19115         * stdio-common/reg-printf.c (__register_printf_specifier):
19116         Likewise.
19117         (__register_printf_function): Likewise.
19118         * stdio-common/tempname.c (__path_search): Likewise.
19119         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19120         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19121         * stdlib/random_r.c (__initstate_r): Likewise.
19122         * stdlib/setenv.c (__add_to_environ): Likewise.
19123         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19124         * streams/getpmsg.c (getpmsg): Likewise.
19125         * streams/putmsg.c (putmsg): Likewise.
19126         * streams/putpmsg.c (putpmsg): Likewise.
19127         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19128         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19129         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19130         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19131         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19132         * sunrpc/svc_udp.c (cache_get): Likewise.
19133         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19134         * sysdeps/mach/hurd/getcwd.c
19135         (__canonicalize_directory_name_internal): Likewise.
19136         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19137         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19138         * sysdeps/mach/hurd/select.c (__select): Likewise.
19139         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19140         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19141         * sysdeps/sparc/nptl/pthread_barrier_init.c
19142         (__pthread_barrier_init): Likewise.
19143         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19144         (__pthread_cond_timedwait): Likewise.
19145         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19146         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19147         Likewise.
19148         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19149         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19150         Likewise.
19151         * sysvipc/semtimedop.c (semtimedop): Likewise.
19152         * time/setitimer.c (__setitimer): Likewise.
19153         * time/strftime_l.c (emacs_strftime): Likewise.
19155 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19157         * config.make.in (have-ssp): Delete.
19158         (stack-protector): New variable.
19159         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19160         cache test for -fstack-protector-strong.  Export stack_protector to
19161         the best ssp flag.
19162         * configure: Regenerated.
19163         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19164         * nscd/Makefile (CFLAGS-nscd): Likewise.
19165         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19167 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19169         [BZ #19122]
19170         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19171         attribute_hidden.
19173 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19175         [BZ #18743]
19176         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19177         code to...
19178         (ELIDE_LOCK): ...here.
19179         (__get_new_count): New function with part of the code from
19180         __elide_lock that updates the value of adapt_count after a
19181         transaction abort.
19182         (__elided_trylock): Moved this code to...
19183         (ELIDE_TRYLOCK): ...here.
19185 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19187         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
19188         * configure: Regenerate.
19189         * INSTALL: Regenerate.
19190         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
19191         and tweak grammar.
19193 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
19195         * login/programs/pt_chown.c: Include signal.h
19196         (main): Clear any signal mask from the parent process.
19198 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19200         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
19201         * configure: Regenerated.
19202         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
19203         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
19204         $(gnu89-inline-CFLAGS).
19206         * configure.ac (libc_cv_asm_weak_directive): Remove configure
19207         test.
19208         (libc_cv_asm_weakext_directive): Likewise.
19209         * configure: Regenerated.
19210         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
19211         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
19212         * include/libc-symbols.h
19213         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
19214         #error.
19215         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
19216         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
19218         * sysdeps/arm/backtrace.c (__backtrace): Convert to
19219         prototype-style function definition.
19220         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19221         * sysdeps/i386/ffs.c (__ffs): Likewise.
19222         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19223         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
19224         Likewise.
19225         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19226         Likewise.
19227         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19228         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19229         Likewise.
19230         * sysdeps/m68k/ffs.c (__ffs): Likewise.
19231         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
19232         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
19233         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
19234         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
19235         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
19236         * sysdeps/mach/hurd/access.c (__access): Likewise.
19237         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
19238         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
19239         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19240         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
19241         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
19242         (cthread_getspecific): Likewise.
19243         (cthread_setspecific): Likewise.
19244         (__libc_getspecific): Likewise.
19245         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
19246         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
19247         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
19248         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
19249         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
19250         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
19251         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
19252         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
19253         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
19254         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
19255         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
19256         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
19257         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
19258         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
19259         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
19260         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19261         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19262         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19263         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19264         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19265         * sysdeps/mach/hurd/link.c (__link): Likewise.
19266         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19267         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19268         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19269         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19270         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19271         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19272         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19273         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19274         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19275         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19276         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19277         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19278         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19279         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19280         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19281         * sysdeps/mach/hurd/send.c (__send): Likewise.
19282         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19283         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19284         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19285         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19286         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19287         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19288         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19289         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19290         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19291         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19292         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19293         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19294         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19295         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19296         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19297         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19298         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19299         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19300         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19301         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19302         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19303         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19304         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19305         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19306         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19307         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19308         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19309         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19310         * sysdeps/posix/alarm.c (alarm): Likewise.
19311         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19312         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19313         * sysdeps/posix/dup.c (__dup): Likewise.
19314         * sysdeps/posix/dup2.c (__dup2): Likewise.
19315         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19316         (main): Likewise.
19317         * sysdeps/posix/flock.c (__flock): Likewise.
19318         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19319         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19320         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19321         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19322         * sysdeps/posix/isatty.c (__isatty): Likewise.
19323         * sysdeps/posix/killpg.c (killpg): Likewise.
19324         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19325         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19326         * sysdeps/posix/raise.c (raise): Likewise.
19327         * sysdeps/posix/remove.c (remove): Likewise.
19328         * sysdeps/posix/rename.c (rename): Likewise.
19329         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19330         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19331         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19332         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19333         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19334         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19335         * sysdeps/posix/sigset.c (sigset): Likewise.
19336         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19337         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19338         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19339         * sysdeps/posix/time.c (time): Likewise.
19340         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19341         (ttyname): Likewise.
19342         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19343         * sysdeps/posix/utime.c (utime): Likewise.
19344         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19345         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19346         Likewise.
19347         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19348         (pthread_spin_trylock): Likewise.
19349         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19350         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19351         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19352         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19353         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19354         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19355         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19356         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19357         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19358         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19359         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19360         * sysdeps/s390/ffs.c (__ffs): Likewise.
19361         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19362         Likewise.
19363         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19364         Likewise.
19365         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19366         Likewise.
19367         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19368         (pthread_barrier_destroy): Likewise.
19369         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19370         (__pthread_barrier_wait): Likewise.
19371         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19372         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19373         (__pthread_barrier_wait): Likewise.
19374         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19375         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19376         (memcmp_not_common_alignment): Likewise.
19377         (MEMCMP): Likewise.
19378         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19379         (_wordcopy_fwd_dest_aligned): Likewise.
19380         (_wordcopy_bwd_aligned): Likewise.
19381         (_wordcopy_bwd_dest_aligned): Likewise.
19382         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19383         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19384         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19385         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19386         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19387         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19388         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19389         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19390         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19391         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19392         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19393         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19394         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19395         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19396         * sysdeps/unix/stime.c (stime): Likewise.
19397         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19398         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19399         Likewise.  Use internal_function.
19400         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19401         Convert to prototype-style function definition.
19402         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19403         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19404         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19405         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19406         Likewise.  Use internal_function.
19407         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19408         prototype-style function definition
19409         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19410         Likewise.
19411         (__getlogin_r): Likewise.
19412         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19413         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19414         (__pthread_cond_broadcast): Likewise.
19415         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19416         (__pthread_cond_destroy): Likewise.
19417         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19418         (__pthread_cond_init): Likewise.
19419         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19420         (__pthread_cond_signal): Likewise.
19421         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19422         (__pthread_cond_wait): Likewise.
19423         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19424         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19425         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19426         Likewise.
19427         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19428         Likewise.
19429         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19430         Likewise.
19431         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19432         Likewise.
19433         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19435         (__ftruncate64): Likewise.
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19437         (truncate64): Likewise.
19438         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19439         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19440         (pthread_getcpuclockid): Likewise.
19441         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19442         Likewise.
19443         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19444         Likewise.
19445         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19446         Likewise.
19447         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19448         Likewise.
19449         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19450         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19451         (__libc_sigaction): Likewise.
19452         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19453         Likewise.
19454         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19455         (__sigprocmask): Likewise.
19456         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19457         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19458         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19459         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19460         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19461         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19462         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19463         Likewise.
19464         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19465         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19466         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19467         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19468         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19469         Likewise.
19470         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19471         (__sigprocmask): Likewise.
19472         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19473         (cfgetispeed): Likewise.
19474         (cfsetospeed): Likewise.
19475         (cfsetispeed): Likewise.
19476         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19477         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19478         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19479         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19480         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19481         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19482         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19483         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19484         Likewise.
19485         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19486         Likewise.
19487         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19488         Likewise.
19489         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19490         Likewise.
19491         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19493 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19495         sunrpc: Rewrite with explicit TLS access using __thread.
19496         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19497         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19498         directly.
19499         (__rpc_thread_variables): Access thread_rpc_vars directly.
19500         Eliminate redundant assignment of the tvp variable.
19502 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19504         malloc: Rewrite with explicit TLS access using __thread.
19505         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19506         (tsd_setspecific, tsd_getspecific): Remove.
19507         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19508         (tsd_setspecific, tsd_getspecific): Likewise.
19509         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19510         (tsd_setspecific, tsd_getspecific): Likewise.
19511         * malloc/arena.c (thread_arena): New TLS variable.
19512         (arena_key): Remove variable.
19513         (arena_get): Use thread_arena.
19514         (arena_lookup): Remove macro.
19515         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19516         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19517         (_int_new_arena, get_free_list, reused_arena)
19518         (arena_thread_freeres): Use thread_arena.
19519         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19520         tsd_getspecific, tsd_setspecific from safety annotations.
19521         (Allocating Cleared Space): Remove arena_lookup from safety
19522         annotations.
19524 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19526         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19527         struct scratch_buffer instead of extend_alloca.
19529 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19531         * sysdeps/unix/sysv/linux/kernel-features.h
19532         (__ASSUME_SOCK_CLOEXEC): Remove.
19533         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19534         (__have_paccept): Remove unused macro.
19535         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19536         * misc/syslog.c (openlog_internal): Remove fallback code for
19537         !__ASSUME_SOCK_CLOEXEC.
19538         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19539         missing SOCK_CLOEXEC.
19540         * nscd/connections.c (have_sock_cloexec): Remove definition.
19541         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19542         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19543         !__ASSUME_SOCK_CLOEXEC.
19544         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19545         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19546         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19547         definition.
19548         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19549         code for !__ASSUME_SOCK_CLOEXEC.
19551 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19553         [BZ #18982]
19554         * manual/stdio.texi (Variable Arguments Output): Add portability
19555         note, explaining that vfprintf clobbers the va_list pointer.
19557 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19559         * math/libm-test.inc (fabs_test_data): Add more tests.
19560         (fdim_test_data): Likewise.
19561         (fma_test_data): Likewise.
19562         (fmax_test_data): Likewise.
19563         (fmin_test_data): Likewise.
19564         (fmod_test_data): Likewise.
19566 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19568         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19569         data.
19571 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19573         * math/libm-test.inc (ceil_test_data): Add more tests and more
19574         expectations for "inexact".
19575         (floor_test_data): Add more tests.
19576         (round_test_data): Likewise.
19577         (trunc_test_data): Likewise.
19579         * crypt/cert.c (good_bye): Convert to prototype-style function
19580         definition.
19581         (get8): Likewise.
19582         (put8): Likewise.
19583         * crypt/crypt-entry.c (crypt): Likewise.
19584         (__fcrypt): Likewise.
19585         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19586         (_ufc_set_bits): Likewise.
19587         (_ufc_clearmem): Likewise.
19588         (__init_des_r): Likewise.
19589         (shuffle_sb): Likewise.
19590         (shuffle_sb): Likewise.
19591         (_ufc_setup_salt_r): Likewise.
19592         (_ufc_mk_keytab_r): Likewise.
19593         (_ufc_dofinalperm_r): Likewise.
19594         (encrypt): Likewise.
19595         (__setkey_r): Likewise.
19596         (setkey): Likewise.
19597         * crypt/md5.c (md5_init_ctx): Likewise.
19598         (md5_read_ctx): Likewise.
19599         (md5_finish_ctx): Likewise.
19600         (md5_stream): Likewise.
19601         (md5_buffer): Likewise.
19602         (md5_process_bytes): Likewise.
19603         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19604         (__sha256_finish_ctx): Likewise.
19605         (__sha256_process_bytes): Likewise.
19606         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19607         (__sha512_finish_ctx): Likewise.
19608         (__sha512_process_bytes): Likewise.
19609         * ctype/isctype.c (__isctype): Likewise.
19610         * debug/backtrace.c (__backtrace): Likewise.
19611         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19612         * debug/fgets_chk.c (__fgets_chk): Likewise.
19613         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19614         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19615         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19616         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19617         * debug/memset_chk.c (__memset_chk): Likewise.
19618         * debug/strcat_chk.c (__strcat_chk): Likewise.
19619         * debug/strncat_chk.c (__strncat_chk): Likewise.
19620         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19621         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19622         * dirent/dirfd.c (dirfd): Likewise.
19623         * dirent/getdents.c (__getdirentries): Likewise.
19624         * dirent/getdents64.c (getdirentries64): Likewise.
19625         * dirent/rewinddir.c (__rewinddir): Likewise.
19626         * dirent/seekdir.c (seekdir): Likewise.
19627         * dirent/telldir.c (telldir): Likewise.
19628         * elf/sln.c (makesymlinks): Likewise.
19629         (makesymlink): Likewise.
19630         * gmon/gmon.c (__moncontrol): Likewise.
19631         (__monstartup): Likewise.
19632         (write_hist): Likewise.
19633         (write_call_graph): Likewise.
19634         (write_bb_counts): Likewise.
19635         * grp/setgroups.c (setgroups): Likewise.
19636         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19637         * inet/inet_net.c (inet_network): Likewise.
19638         * inet/inet_netof.c (inet_netof): Likewise.
19639         * inet/rcmd.c (rresvport_af): Likewise.
19640         (rresvport): Likewise.
19641         * io/access.c (__access): Likewise.
19642         * io/chdir.c (__chdir): Likewise.
19643         * io/chmod.c (__chmod): Likewise.
19644         * io/chown.c (__chown): Likewise.
19645         * io/close.c (__close): Likewise.
19646         * io/creat.c (creat): Likewise.
19647         * io/creat64.c (creat64): Likewise.
19648         * io/dup.c (__dup): Likewise.
19649         * io/dup2.c (__dup2): Likewise.
19650         * io/dup3.c (__dup3): Likewise.
19651         * io/euidaccess.c (__euidaccess): Likewise.
19652         * io/faccessat.c (faccessat): Likewise.
19653         * io/fchmod.c (__fchmod): Likewise.
19654         * io/fchmodat.c (fchmodat): Likewise.
19655         * io/fchown.c (__fchown): Likewise.
19656         * io/fchownat.c (fchownat): Likewise.
19657         * io/fcntl.c (__fcntl): Likewise.
19658         * io/flock.c (__flock): Likewise.
19659         * io/fts.c (fts_load): Likewise.
19660         (fts_close): Likewise.
19661         (fts_read): Likewise.
19662         (fts_set): Likewise.
19663         (fts_children): Likewise.
19664         (fts_build): Likewise.
19665         (fts_stat): Likewise.
19666         (fts_sort): Likewise.
19667         (fts_alloc): Likewise.
19668         (fts_lfree): Likewise.
19669         (fts_palloc): Likewise.
19670         (fts_padjust): Likewise.
19671         (fts_maxarglen): Likewise.
19672         (fts_safe_changedir): Likewise.
19673         * io/getwd.c (getwd): Likewise.
19674         * io/isatty.c (__isatty): Likewise.
19675         * io/lchown.c (__lchown): Likewise.
19676         * io/link.c (__link): Likewise.
19677         * io/linkat.c (linkat): Likewise.
19678         * io/lseek.c (__libc_lseek): Likewise.
19679         * io/mkdir.c (__mkdir): Likewise.
19680         * io/mkdirat.c (mkdirat): Likewise.
19681         * io/mkfifo.c (mkfifo): Likewise.
19682         * io/mkfifoat.c (mkfifoat): Likewise.
19683         * io/open.c (__libc_open): Likewise.
19684         * io/open64.c (__libc_open64): Likewise.
19685         * io/readlink.c (__readlink): Likewise.
19686         * io/readlinkat.c (readlinkat): Likewise.
19687         * io/rmdir.c (__rmdir): Likewise.
19688         * io/symlink.c (__symlink): Likewise.
19689         * io/symlinkat.c (symlinkat): Likewise.
19690         * io/ttyname.c (ttyname): Likewise.
19691         * io/ttyname_r.c (__ttyname_r): Likewise.
19692         * io/umask.c (__umask): Likewise.
19693         * io/unlink.c (__unlink): Likewise.
19694         * io/unlinkat.c (unlinkat): Likewise.
19695         * io/utime.c (utime): Likewise.
19696         * libio/clearerr.c (clearerr): Likewise.
19697         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19698         * libio/feof.c (_IO_feof): Likewise.
19699         * libio/feof_u.c (feof_unlocked): Likewise.
19700         * libio/ferror.c (_IO_ferror): Likewise.
19701         * libio/ferror_u.c (ferror_unlocked): Likewise.
19702         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19703         * libio/fileno.c (__fileno): Likewise.
19704         * libio/fputc.c (fputc): Likewise.
19705         * libio/fputc_u.c (fputc_unlocked): Likewise.
19706         * libio/fputwc.c (fputwc): Likewise.
19707         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19708         * libio/freopen.c (freopen): Likewise.
19709         * libio/freopen64.c (freopen64): Likewise.
19710         * libio/fseek.c (fseek): Likewise.
19711         * libio/fseeko.c (fseeko): Likewise.
19712         * libio/fseeko64.c (fseeko64): Likewise.
19713         * libio/ftello.c (__ftello): Likewise.
19714         * libio/ftello64.c (ftello64): Likewise.
19715         * libio/fwide.c (fwide): Likewise.
19716         * libio/genops.c (_IO_un_link): Likewise.
19717         (_IO_link_in): Likewise.
19718         (_IO_least_marker): Likewise.
19719         (_IO_switch_to_main_get_area): Likewise.
19720         (_IO_switch_to_backup_area): Likewise.
19721         (_IO_switch_to_get_mode): Likewise.
19722         (_IO_free_backup_area): Likewise.
19723         (_IO_switch_to_put_mode): Likewise.
19724         (__overflow): Likewise.
19725         (__underflow): Likewise.
19726         (__uflow): Likewise.
19727         (_IO_setb): Likewise.
19728         (_IO_doallocbuf): Likewise.
19729         (_IO_default_underflow): Likewise.
19730         (_IO_default_uflow): Likewise.
19731         (_IO_default_xsputn): Likewise.
19732         (_IO_sgetn): Likewise.
19733         (_IO_default_xsgetn): Likewise.
19734         (_IO_sync): Likewise.
19735         (_IO_default_setbuf): Likewise.
19736         (_IO_default_seekpos): Likewise.
19737         (_IO_default_doallocate): Likewise.
19738         (_IO_init): Likewise.
19739         (_IO_old_init): Likewise.
19740         (_IO_default_sync): Likewise.
19741         (_IO_default_finish): Likewise.
19742         (_IO_default_seekoff): Likewise.
19743         (_IO_sputbackc): Likewise.
19744         (_IO_sungetc): Likewise.
19745         (_IO_set_column): Likewise.
19746         (_IO_set_column): Likewise.
19747         (_IO_adjust_column): Likewise.
19748         (_IO_get_column): Likewise.
19749         (_IO_init_marker): Likewise.
19750         (_IO_remove_marker): Likewise.
19751         (_IO_marker_difference): Likewise.
19752         (_IO_marker_delta): Likewise.
19753         (_IO_seekmark): Likewise.
19754         (_IO_unsave_markers): Likewise.
19755         (_IO_nobackup_pbackfail): Likewise.
19756         (_IO_default_pbackfail): Likewise.
19757         (_IO_default_seek): Likewise.
19758         (_IO_default_stat): Likewise.
19759         (_IO_default_read): Likewise.
19760         (_IO_default_write): Likewise.
19761         (_IO_default_showmanyc): Likewise.
19762         (_IO_default_imbue): Likewise.
19763         (_IO_iter_next): Likewise.
19764         (_IO_iter_file): Likewise.
19765         * libio/getc.c (_IO_getc): Likewise.
19766         * libio/getwc.c (_IO_getwc): Likewise.
19767         * libio/iofclose.c (_IO_new_fclose): Likewise.
19768         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19769         * libio/iofflush.c (_IO_fflush): Likewise.
19770         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19771         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19772         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19773         * libio/iofgets.c (_IO_fgets): Likewise.
19774         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19775         * libio/iofgetws.c (fgetws): Likewise.
19776         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19777         * libio/iofopen64.c (_IO_fopen64): Likewise.
19778         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19779         (_IO_cookie_write): Likewise.
19780         (_IO_cookie_seek): Likewise.
19781         (_IO_cookie_close): Likewise.
19782         (_IO_cookie_seekoff): Likewise.
19783         (_IO_old_cookie_seek): Likewise.
19784         * libio/iofputs.c (_IO_fputs): Likewise.
19785         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19786         * libio/iofputws.c (fputws): Likewise.
19787         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19788         * libio/iofread.c (_IO_fread): Likewise.
19789         * libio/iofread_u.c (__fread_unlocked): Likewise.
19790         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19791         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19792         * libio/ioftell.c (_IO_ftell): Likewise.
19793         * libio/iofwrite.c (_IO_fwrite): Likewise.
19794         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19795         * libio/iogets.c (_IO_gets): Likewise.
19796         * libio/iopadn.c (_IO_padn): Likewise.
19797         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19798         (_IO_new_popen): Likewise.
19799         (_IO_new_proc_close): Likewise.
19800         * libio/ioputs.c (_IO_puts): Likewise.
19801         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19802         (_IO_seekoff): Likewise.
19803         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19804         (_IO_seekpos): Likewise.
19805         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19806         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19807         * libio/ioungetc.c (_IO_ungetc): Likewise.
19808         * libio/ioungetwc.c (ungetwc): Likewise.
19809         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19810         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19811         * libio/iowpadn.c (_IO_wpadn): Likewise.
19812         * libio/libc_fatal.c (__libc_fatal): Likewise.
19813         * libio/memstream.c (__open_memstream): Likewise.
19814         (_IO_mem_sync): Likewise.
19815         (_IO_mem_finish): Likewise.
19816         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19817         (_IO_old_file_close_it): Likewise.
19818         (_IO_old_file_finish): Likewise.
19819         (_IO_old_file_fopen): Likewise.
19820         (_IO_old_file_attach): Likewise.
19821         (_IO_old_file_setbuf): Likewise.
19822         (_IO_old_do_write): Likewise.
19823         (old_do_write): Likewise.
19824         (_IO_old_file_underflow): Likewise.
19825         (_IO_old_file_overflow): Likewise.
19826         (_IO_old_file_sync): Likewise.
19827         (_IO_old_file_seekoff): Likewise.
19828         (_IO_old_file_write): Likewise.
19829         (_IO_old_file_xsputn): Likewise.
19830         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19831         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19832         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19833         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19834         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19835         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19836         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19837         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19838         (_IO_old_popen): Likewise.
19839         (_IO_old_proc_close): Likewise.
19840         * libio/oldpclose.c (__old_pclose): Likewise.
19841         * libio/pclose.c (__new_pclose): Likewise.
19842         * libio/peekc.c (_IO_peekc_locked): Likewise.
19843         * libio/putc.c (_IO_putc): Likewise.
19844         * libio/putc_u.c (putc_unlocked): Likewise.
19845         * libio/putchar.c (putchar): Likewise.
19846         * libio/putchar_u.c (putchar_unlocked): Likewise.
19847         * libio/putwc.c (putwc): Likewise.
19848         * libio/putwc_u.c (putwc_unlocked): Likewise.
19849         * libio/putwchar.c (putwchar): Likewise.
19850         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19851         * libio/rewind.c (rewind): Likewise.
19852         * libio/setbuf.c (setbuf): Likewise.
19853         * libio/setlinebuf.c (setlinebuf): Likewise.
19854         * libio/vasprintf.c (_IO_vasprintf): Likewise.
19855         * libio/vscanf.c (_IO_vscanf): Likewise.
19856         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19857         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19858         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19859         * libio/wgenops.c (_IO_least_wmarker): Likewise.
19860         (_IO_switch_to_main_wget_area): Likewise.
19861         (_IO_switch_to_wbackup_area): Likewise.
19862         (_IO_wsetb): Likewise.
19863         (_IO_wdefault_pbackfail): Likewise.
19864         (_IO_wdefault_finish): Likewise.
19865         (_IO_wdefault_uflow): Likewise.
19866         (__woverflow): Likewise.
19867         (__wuflow): Likewise.
19868         (__wunderflow): Likewise.
19869         (_IO_wdefault_xsputn): Likewise.
19870         (_IO_wdefault_xsgetn): Likewise.
19871         (_IO_wdoallocbuf): Likewise.
19872         (_IO_wdefault_doallocate): Likewise.
19873         (_IO_switch_to_wget_mode): Likewise.
19874         (_IO_free_wbackup_area): Likewise.
19875         (_IO_switch_to_wput_mode): Likewise.
19876         (_IO_sputbackwc): Likewise.
19877         (_IO_sungetwc): Likewise.
19878         (_IO_adjust_wcolumn): Likewise.
19879         (_IO_init_wmarker): Likewise.
19880         (_IO_wmarker_delta): Likewise.
19881         (_IO_seekwmark): Likewise.
19882         (_IO_unsave_wmarkers): Likewise.
19883         * libio/wmemstream.c (open_wmemstream): Likewise.
19884         (_IO_wmem_sync): Likewise.
19885         (_IO_wmem_finish): Likewise.
19886         * locale/nl_langinfo.c (nl_langinfo): Likewise.
19887         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
19888         * locale/programs/simple-hash.c (init_hash): Likewise.
19889         (delete_hash): Likewise.
19890         (insert_entry): Likewise.
19891         (set_entry): Likewise.
19892         (next_prime): Likewise.
19893         (is_prime): Likewise.
19894         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
19895         (xmalloc): Likewise.
19896         (xrealloc): Likewise.
19897         * locale/programs/xstrdup.c (xstrdup): Likewise.
19898         * localedata/collate-test.c (xstrcoll): Likewise.
19899         * localedata/xfrm-test.c (xstrcmp): Likewise.
19900         * login/getlogin_r.c (__getlogin_r): Likewise.
19901         * login/getpt.c (__posix_openpt): Likewise.
19902         * login/login_tty.c (login_tty): Likewise.
19903         * login/setlogin.c (setlogin): Likewise.
19904         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
19905         (mach_msg_destroy_port): Likewise.
19906         (mach_msg_destroy_memory): Likewise.
19907         * malloc/mcheck.c (flood): Likewise.
19908         * misc/acct.c (acct): Likewise.
19909         * misc/brk.c (__brk): Likewise.
19910         * misc/chflags.c (chflags): Likewise.
19911         * misc/chroot.c (chroot): Likewise.
19912         * misc/fchflags.c (fchflags): Likewise.
19913         * misc/fstab.c (getfsspec): Likewise.
19914         (getfsfile): Likewise.
19915         * misc/fsync.c (fsync): Likewise.
19916         * misc/ftruncate.c (__ftruncate): Likewise.
19917         * misc/ftruncate64.c (__ftruncate64): Likewise.
19918         * misc/getdomain.c (getdomainname): Likewise.
19919         (getdomainname): Likewise.
19920         * misc/gethostname.c (__gethostname): Likewise.
19921         * misc/getpass.c (getpass): Likewise.
19922         * misc/getttyent.c (skip): Likewise.
19923         (value): Likewise.
19924         * misc/gtty.c (gtty): Likewise.
19925         * misc/hsearch.c (hsearch): Likewise.
19926         (hcreate): Likewise.
19927         * misc/hsearch_r.c (__hcreate_r): Likewise.
19928         (__hdestroy_r): Likewise.
19929         * misc/ioctl.c (__ioctl): Likewise.
19930         * misc/mkdtemp.c (mkdtemp): Likewise.
19931         * misc/mkostemp.c (mkostemp): Likewise.
19932         * misc/mkostemp64.c (mkostemp64): Likewise.
19933         * misc/mkostemps.c (mkostemps): Likewise.
19934         * misc/mkostemps64.c (mkostemps64): Likewise.
19935         * misc/mkstemp.c (mkstemp): Likewise.
19936         * misc/mkstemp64.c (mkstemp64): Likewise.
19937         * misc/mkstemps.c (mkstemps): Likewise.
19938         * misc/mkstemps64.c (mkstemps64): Likewise.
19939         * misc/mktemp.c (__mktemp): Likewise.
19940         * misc/preadv.c (preadv): Likewise.
19941         * misc/preadv64.c (preadv64): Likewise.
19942         * misc/pwritev.c (pwritev): Likewise.
19943         * misc/pwritev64.c (pwritev64): Likewise.
19944         * misc/readv.c (__readv): Likewise.
19945         * misc/revoke.c (revoke): Likewise.
19946         * misc/setdomain.c (setdomainname): Likewise.
19947         * misc/setegid.c (setegid): Likewise.
19948         * misc/seteuid.c (seteuid): Likewise.
19949         * misc/sethostid.c (sethostid): Likewise.
19950         * misc/sethostname.c (sethostname): Likewise.
19951         * misc/setregid.c (__setregid): Likewise.
19952         * misc/setreuid.c (__setreuid): Likewise.
19953         * misc/sstk.c (sstk): Likewise.
19954         * misc/stty.c (stty): Likewise.
19955         * misc/syscall.c (syscall): Likewise.
19956         * misc/syslog.c (setlogmask): Likewise.
19957         * misc/truncate.c (__truncate): Likewise.
19958         * misc/truncate64.c (truncate64): Likewise.
19959         * misc/ualarm.c (ualarm): Likewise.
19960         * misc/usleep.c (usleep): Likewise.
19961         * misc/ustat.c (ustat): Likewise.
19962         * misc/writev.c (__writev): Likewise.
19963         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
19964         * nptl/old_pthread_cond_broadcast.c
19965         (__pthread_cond_broadcast_2_0): Likewise.
19966         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
19967         Likewise.
19968         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
19969         Likewise.
19970         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
19971         Likewise.
19972         * nptl/pt-raise.c (raise): Likewise.
19973         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
19974         Likewise.
19975         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
19976         * nptl/pthread_barrierattr_destroy.c
19977         (pthread_barrierattr_destroy): Likewise.
19978         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19979         Likewise.
19980         * nptl/pthread_barrierattr_setpshared.c
19981         (pthread_barrierattr_setpshared): Likewise.
19982         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19983         Likewise.
19984         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
19985         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19986         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
19987         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
19988         Likewise.
19989         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
19990         Likewise.
19991         * nptl/pthread_condattr_getpshared.c
19992         (pthread_condattr_getpshared): Likewise.
19993         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
19994         Likewise.
19995         * nptl/pthread_condattr_setpshared.c
19996         (pthread_condattr_setpshared): Likewise.
19997         * nptl/pthread_detach.c (pthread_detach): Likewise.
19998         * nptl/pthread_equal.c (__pthread_equal): Likewise.
19999         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20000         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20001         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20002         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20003         Likewise.
20004         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20005         Likewise.
20006         * nptl/pthread_mutex_getprioceiling.c
20007         (pthread_mutex_getprioceiling): Likewise.
20008         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20009         Likewise.
20010         * nptl/pthread_mutexattr_getprotocol.c
20011         (pthread_mutexattr_getprotocol): Likewise.
20012         * nptl/pthread_mutexattr_getpshared.c
20013         (pthread_mutexattr_getpshared): Likewise.
20014         * nptl/pthread_mutexattr_getrobust.c
20015         (pthread_mutexattr_getrobust): Likewise.
20016         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20017         Likewise.
20018         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20019         Likewise.
20020         * nptl/pthread_mutexattr_setprioceiling.c
20021         (pthread_mutexattr_setprioceiling): Likewise.
20022         * nptl/pthread_mutexattr_setprotocol.c
20023         (pthread_mutexattr_setprotocol): Likewise.
20024         * nptl/pthread_mutexattr_setpshared.c
20025         (pthread_mutexattr_setpshared): Likewise.
20026         * nptl/pthread_mutexattr_setrobust.c
20027         (pthread_mutexattr_setrobust): Likewise.
20028         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20029         Likewise.
20030         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20031         Likewise.
20032         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20033         Likewise.
20034         * nptl/pthread_rwlockattr_getkind_np.c
20035         (pthread_rwlockattr_getkind_np): Likewise.
20036         * nptl/pthread_rwlockattr_getpshared.c
20037         (pthread_rwlockattr_getpshared): Likewise.
20038         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20039         Likewise.
20040         * nptl/pthread_rwlockattr_setkind_np.c
20041         (pthread_rwlockattr_setkind_np): Likewise.
20042         * nptl/pthread_rwlockattr_setpshared.c
20043         (pthread_rwlockattr_setpshared): Likewise.
20044         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20045         Likewise.
20046         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20047         Likewise.
20048         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20049         Likewise.
20050         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20051         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20052         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20053         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20054         * nptl/sem_close.c (sem_close): Likewise.
20055         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20056         * nptl/sem_init.c (__old_sem_init): Likewise.
20057         * nptl/sigaction.c (__sigaction): Likewise.
20058         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20059         * posix/_exit.c (_exit): Likewise.
20060         * posix/alarm.c (alarm): Likewise.
20061         * posix/confstr.c (confstr): Likewise.
20062         * posix/fpathconf.c (__fpathconf): Likewise.
20063         * posix/getgroups.c (__getgroups): Likewise.
20064         * posix/getpgid.c (__getpgid): Likewise.
20065         * posix/group_member.c (__group_member): Likewise.
20066         * posix/pathconf.c (__pathconf): Likewise.
20067         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20068         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20069         * posix/setgid.c (__setgid): Likewise.
20070         * posix/setpgid.c (__setpgid): Likewise.
20071         * posix/setuid.c (__setuid): Likewise.
20072         * posix/sleep.c (__sleep): Likewise.
20073         * posix/sysconf.c (__sysconf): Likewise.
20074         * posix/times.c (__times): Likewise.
20075         * posix/uname.c (__uname): Likewise.
20076         * posix/waitid.c (__waitid): Likewise.
20077         * pwd/getpw.c (__getpw): Likewise.
20078         * resolv/base64.c (b64_pton): Likewise.
20079         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20080         * resolv/gethnamaddr.c (Dprintf): Likewise.
20081         (gethostbyname): Likewise.
20082         (gethostbyname2): Likewise.
20083         (gethostbyaddr): Likewise.
20084         (_sethtent): Likewise.
20085         (_gethtbyname): Likewise.
20086         (_gethtbyname2): Likewise.
20087         (_gethtbyaddr): Likewise.
20088         (map_v4v6_address): Likewise.
20089         (map_v4v6_hostent): Likewise.
20090         (addrsort): Likewise.
20091         (ht_sethostent): Likewise.
20092         (ht_gethostbyname): Likewise.
20093         (ht_gethostbyaddr): Likewise.
20094         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20095         (inet_net_ntop_ipv4): Likewise.
20096         * resolv/inet_neta.c (inet_neta): Likewise.
20097         * resolv/inet_ntop.c (inet_ntop): Likewise.
20098         (inet_ntop4): Likewise.
20099         (inet_ntop6): Likewise.
20100         * resolv/inet_pton.c (__inet_pton): Likewise.
20101         (inet_pton4): Likewise.
20102         (inet_pton6): Likewise.
20103         * resolv/res_debug.c (loc_aton): Likewise.
20104         (loc_ntoa): Likewise.
20105         * resource/getpriority.c (__getpriority): Likewise.
20106         * resource/getrusage.c (__getrusage): Likewise.
20107         * resource/nice.c (nice): Likewise.
20108         * resource/setpriority.c (__setpriority): Likewise.
20109         * resource/setrlimit64.c (setrlimit64): Likewise.
20110         * resource/vlimit.c (vlimit): Likewise.
20111         * resource/vtimes.c (vtimes): Likewise.
20112         * rt/aio_error.c (aio_error): Likewise.
20113         * rt/aio_return.c (aio_return): Likewise.
20114         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20115         * signal/kill.c (__kill): Likewise.
20116         * signal/killpg.c (killpg): Likewise.
20117         * signal/raise.c (raise): Likewise.
20118         * signal/sigaction.c (__sigaction): Likewise.
20119         * signal/sigaddset.c (sigaddset): Likewise.
20120         * signal/sigaltstack.c (sigaltstack): Likewise.
20121         * signal/sigandset.c (sigandset): Likewise.
20122         * signal/sigblock.c (__sigblock): Likewise.
20123         * signal/sigdelset.c (sigdelset): Likewise.
20124         * signal/sigempty.c (sigemptyset): Likewise.
20125         * signal/sigfillset.c (sigfillset): Likewise.
20126         * signal/sighold.c (sighold): Likewise.
20127         * signal/sigignore.c (sigignore): Likewise.
20128         * signal/sigintr.c (siginterrupt): Likewise.
20129         * signal/sigisempty.c (sigisemptyset): Likewise.
20130         * signal/sigismem.c (sigismember): Likewise.
20131         * signal/signal.c (signal): Likewise.
20132         * signal/sigorset.c (sigorset): Likewise.
20133         * signal/sigpause.c (__sigpause): Likewise.
20134         * signal/sigpending.c (sigpending): Likewise.
20135         * signal/sigprocmask.c (__sigprocmask): Likewise.
20136         * signal/sigrelse.c (sigrelse): Likewise.
20137         * signal/sigreturn.c (__sigreturn): Likewise.
20138         * signal/sigset.c (sigset): Likewise.
20139         * signal/sigsetmask.c (__sigsetmask): Likewise.
20140         * signal/sigstack.c (sigstack): Likewise.
20141         * signal/sigsuspend.c (__sigsuspend): Likewise.
20142         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20143         * signal/sysv_signal.c (__sysv_signal): Likewise.
20144         * socket/accept.c (accept): Likewise.
20145         * socket/accept4.c (__libc_accept4): Likewise.
20146         * socket/bind.c (__bind): Likewise.
20147         * socket/connect.c (__connect): Likewise.
20148         * socket/getpeername.c (getpeername): Likewise.
20149         * socket/getsockname.c (__getsockname): Likewise.
20150         * socket/getsockopt.c (getsockopt): Likewise.
20151         * socket/listen.c (__listen): Likewise.
20152         * socket/recv.c (__recv): Likewise.
20153         * socket/recvmsg.c (__recvmsg): Likewise.
20154         * socket/send.c (__send): Likewise.
20155         * socket/sendmsg.c (__sendmsg): Likewise.
20156         * socket/shutdown.c (shutdown): Likewise.
20157         * socket/sockatmark.c (sockatmark): Likewise.
20158         * socket/socket.c (__socket): Likewise.
20159         * stdio-common/ctermid.c (ctermid): Likewise.
20160         * stdio-common/cuserid.c (cuserid): Likewise.
20161         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20162         * stdio-common/remove.c (remove): Likewise.
20163         * stdio-common/rename.c (rename): Likewise.
20164         * stdio-common/renameat.c (renameat): Likewise.
20165         * stdio-common/tempname.c (__gen_tempname): Likewise.
20166         * stdio-common/xbug.c (InitBuffer): Likewise.
20167         (AppendToBuffer): Likewise.
20168         (ReadFile): Likewise.
20169         * stdlib/a64l.c (a64l): Likewise.
20170         * stdlib/drand48_r.c (drand48_r): Likewise.
20171         * stdlib/getcontext.c (getcontext): Likewise.
20172         * stdlib/getenv.c (getenv): Likewise.
20173         * stdlib/l64a.c (l64a): Likewise.
20174         * stdlib/llabs.c (llabs): Likewise.
20175         * stdlib/lldiv.c (lldiv): Likewise.
20176         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20177         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20178         * stdlib/putenv.c (putenv): Likewise.
20179         * stdlib/random.c (__srandom): Likewise.
20180         (__initstate): Likewise.
20181         (__setstate): Likewise.
20182         * stdlib/random_r.c (__srandom_r): Likewise.
20183         (__setstate_r): Likewise.
20184         (__random_r): Likewise.
20185         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
20186         * stdlib/setcontext.c (setcontext): Likewise.
20187         * stdlib/setenv.c (setenv): Likewise.
20188         (unsetenv): Likewise.
20189         * stdlib/srand48.c (srand48): Likewise.
20190         * stdlib/srand48_r.c (__srand48_r): Likewise.
20191         * stdlib/swapcontext.c (swapcontext): Likewise.
20192         * stdlib/system.c (__libc_system): Likewise.
20193         * stdlib/tst-strtod.c (expand): Likewise.
20194         * stdlib/tst-strtol.c (expand): Likewise.
20195         * stdlib/tst-strtoll.c (expand): Likewise.
20196         * streams/fattach.c (fattach): Likewise.
20197         * streams/fdetach.c (fdetach): Likewise.
20198         * streams/getmsg.c (getmsg): Likewise.
20199         * streams/isastream.c (isastream): Likewise.
20200         * string/ffs.c (__ffs): Likewise.
20201         * string/ffsll.c (ffsll): Likewise.
20202         * string/memcmp.c (memcmp_common_alignment): Likewise.
20203         (memcmp_not_common_alignment): Likewise.
20204         (MEMCMP): Likewise.
20205         * string/memcpy.c (memcpy): Likewise.
20206         * string/memmove.c (MEMMOVE): Likewise.
20207         * string/memset.c (memset): Likewise.
20208         * string/rawmemchr.c (RAWMEMCHR): Likewise.
20209         * string/strchrnul.c (STRCHRNUL): Likewise.
20210         * string/strerror.c (strerror): Likewise.
20211         * string/strndup.c (__strndup): Likewise.
20212         * string/strverscmp.c (__strverscmp): Likewise.
20213         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
20214         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
20215         (clnttcp_freeres): Likewise.
20216         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
20217         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
20218         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
20219         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
20220         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
20221         (xdr_callhdr): Likewise.
20222         * sunrpc/rpcinfo.c (udpping): Likewise.
20223         (tcpping): Likewise.
20224         (pstatus): Likewise.
20225         (pmapdump): Likewise.
20226         (brdcst): Likewise.
20227         (deletereg): Likewise.
20228         (getprognum): Likewise.
20229         (getvers): Likewise.
20230         (get_inet_address): Likewise.
20231         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
20232         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20233         (svcudp_stat): Likewise.
20234         (svcudp_recv): Likewise.
20235         (svcudp_reply): Likewise.
20236         (svcudp_getargs): Likewise.
20237         (svcudp_freeargs): Likewise.
20238         (svcudp_destroy): Likewise.
20239         * sunrpc/xdr.c (xdr_bytes): Likewise.
20240         (xdr_netobj): Likewise.
20241         (xdr_string): Likewise.
20242         (xdr_wrapstring): Likewise.
20243         * sunrpc/xdr_float.c (xdr_float): Likewise.
20244         (xdr_double): Likewise.
20245         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
20246         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
20247         * sysvipc/ftok.c (ftok): Likewise.
20248         * sysvipc/msgctl.c (msgctl): Likewise.
20249         * sysvipc/msgget.c (msgget): Likewise.
20250         * sysvipc/msgrcv.c (msgrcv): Likewise.
20251         * sysvipc/msgsnd.c (msgsnd): Likewise.
20252         * sysvipc/semget.c (semget): Likewise.
20253         * sysvipc/semop.c (semop): Likewise.
20254         * sysvipc/shmat.c (shmat): Likewise.
20255         * sysvipc/shmctl.c (shmctl): Likewise.
20256         * sysvipc/shmdt.c (shmdt): Likewise.
20257         * sysvipc/shmget.c (shmget): Likewise.
20258         * termios/cfmakeraw.c (cfmakeraw): Likewise.
20259         * termios/speed.c (cfgetospeed): Likewise.
20260         (cfgetispeed): Likewise.
20261         (cfsetospeed): Likewise.
20262         (cfsetispeed): Likewise.
20263         * termios/tcflow.c (tcflow): Likewise.
20264         * termios/tcflush.c (tcflush): Likewise.
20265         * termios/tcgetattr.c (__tcgetattr): Likewise.
20266         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20267         * termios/tcgetsid.c (tcgetsid): Likewise.
20268         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20269         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20270         * time/adjtime.c (__adjtime): Likewise.
20271         * time/dysize.c (dysize): Likewise.
20272         * time/ftime.c (ftime): Likewise.
20273         * time/getitimer.c (__getitimer): Likewise.
20274         * time/gettimeofday.c (__gettimeofday): Likewise.
20275         * time/gmtime.c (__gmtime_r): Likewise.
20276         (gmtime): Likewise.
20277         * time/localtime.c (__localtime_r): Likewise.
20278         (localtime): Likewise.
20279         * time/offtime.c (__offtime): Likewise.
20280         * time/settimeofday.c (__settimeofday): Likewise.
20281         * time/stime.c (stime): Likewise.
20282         * time/strftime_l.c (tm_diff): Likewise.
20283         (iso_week_days): Likewise.
20284         * time/strptime.c (strptime): Likewise.
20285         * time/time.c (time): Likewise.
20286         * time/timespec_get.c (timespec_get): Likewise.
20287         * time/tzset.c (tzset_internal): Likewise.
20288         (compute_change): Likewise.
20289         (__tz_compute): Likewise.
20290         * wcsmbs/btowc.c (__btowc): Likewise.
20291         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20292         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20293         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20294         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20295         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20296         * wcsmbs/wcscat.c (__wcscat): Likewise.
20297         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20298         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20299         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20300         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20301         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20302         * wcsmbs/wcslen.c (__wcslen): Likewise.
20303         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20304         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20305         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20306         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20307         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20308         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20309         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20310         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20311         * wcsmbs/wcstok.c (wcstok): Likewise.
20312         * wcsmbs/wctob.c (wctob): Likewise.
20313         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20314         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20315         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20316         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20317         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20318         * wcsmbs/wmemset.c (__wmemset): Likewise.
20319         * wctype/wcfuncs.c (__towlower): Likewise.
20320         (__towupper): Likewise.
20322         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20323         (lll_unlock_elision): Add adapt_count parameter.
20325 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20327         * sysdeps/nptl/configure.ac: Do not give errors based on the
20328         results of top-level configure tests.
20329         * sysdeps/nptl/configure: Regenerated.
20331         * configure.ac (libc_cv_Bgroup): Remove configure test.
20332         * configure: Regenerated.
20333         * config.make.in (have-Bgroup): Remove variable.
20335         * configure.ac (sizeof_long_double): Remove configure test.
20336         * configure: Regenerated.
20337         * config.make.in (sizeof-long-double): Remove variable.
20339         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20340         * configure: Regenerated.
20341         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20342         variable.
20343         (exceptions): Likewise.
20344         * sysdeps/arm/configure: Regenerated.
20345         * config.make.in (exceptions): Remove variable.
20346         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20347         $(exceptions).
20348         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20349         (CFLAGS-vdprintf_chk.c): Likewise.
20350         (CFLAGS-printf_chk.c): Likewise.
20351         (CFLAGS-fprintf_chk.c): Likewise.
20352         (CFLAGS-vprintf_chk.c): Likewise.
20353         (CFLAGS-vfprintf_chk.c): Likewise.
20354         (CFLAGS-gets_chk.c): Likewise.
20355         (CFLAGS-fgets_chk.c): Likewise.
20356         (CFLAGS-fgets_u_chk.c): Likewise.
20357         (CFLAGS-fread_chk.c): Likewise.
20358         (CFLAGS-fread_u_chk.c): Likewise.
20359         (CFLAGS-wprintf_chk.c): Likewise.
20360         (CFLAGS-fwprintf_chk.c): Likewise.
20361         (CFLAGS-vwprintf_chk.c): Likewise.
20362         (CFLAGS-vfwprintf_chk.c): Likewise.
20363         (CFLAGS-fgetws_chk.c): Likewise.
20364         (CFLAGS-fgetws_u_chk.c): Likewise.
20365         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20366         (CFLAGS-fputc.c): Likewise.
20367         (CFLAGS-fputwc.c): Likewise.
20368         (CFLAGS-freopen64.c): Likewise.
20369         (CFLAGS-freopen.c): Likewise.
20370         (CFLAGS-fseek.c): Likewise.
20371         (CFLAGS-fseeko64.c): Likewise.
20372         (CFLAGS-fseeko.c): Likewise.
20373         (CFLAGS-ftello64.c): Likewise.
20374         (CFLAGS-ftello.c): Likewise.
20375         (CFLAGS-fwide.c): Likewise.
20376         (CFLAGS-genops.c): Likewise.
20377         (CFLAGS-getc.c): Likewise.
20378         (CFLAGS-getchar.c): Likewise.
20379         (CFLAGS-getwc.c): Likewise.
20380         (CFLAGS-getwchar.c): Likewise.
20381         (CFLAGS-iofclose.c): Likewise.
20382         (CFLAGS-iofflush.c): Likewise.
20383         (CFLAGS-iofgetpos64.c): Likewise.
20384         (CFLAGS-iofgetpos.c): Likewise.
20385         (CFLAGS-iofgets.c): Likewise.
20386         (CFLAGS-iofgetws.c): Likewise.
20387         (CFLAGS-iofputs.c): Likewise.
20388         (CFLAGS-iofputws.c): Likewise.
20389         (CFLAGS-iofread.c): Likewise.
20390         (CFLAGS-iofsetpos64.c): Likewise.
20391         (CFLAGS-iofsetpos.c): Likewise.
20392         (CFLAGS-ioftell.c): Likewise.
20393         (CFLAGS-iofwrite.c): Likewise.
20394         (CFLAGS-iogetdelim.c): Likewise.
20395         (CFLAGS-iogetline.c): Likewise.
20396         (CFLAGS-iogets.c): Likewise.
20397         (CFLAGS-iogetwline.c): Likewise.
20398         (CFLAGS-ioputs.c): Likewise.
20399         (CFLAGS-ioseekoff.c): Likewise.
20400         (CFLAGS-ioseekpos.c): Likewise.
20401         (CFLAGS-iosetbuffer.c): Likewise.
20402         (CFLAGS-iosetvbuf.c): Likewise.
20403         (CFLAGS-ioungetc.c): Likewise.
20404         (CFLAGS-ioungetwc.c): Likewise.
20405         (CFLAGS-oldfileops.c): Likewise.
20406         (CFLAGS-oldiofclose.c): Likewise.
20407         (CFLAGS-oldiofgetpos64.c): Likewise.
20408         (CFLAGS-oldiofgetpos.c): Likewise.
20409         (CFLAGS-oldiofsetpos64.c): Likewise.
20410         (CFLAGS-oldiofsetpos.c): Likewise.
20411         (CFLAGS-peekc.c): Likewise.
20412         (CFLAGS-putc.c): Likewise.
20413         (CFLAGS-putchar.c): Likewise.
20414         (CFLAGS-putwc.c): Likewise.
20415         (CFLAGS-putwchar.c): Likewise.
20416         (CFLAGS-rewind.c): Likewise.
20417         (CFLAGS-wfileops.c): Likewise.
20418         (CFLAGS-wgenops.c): Likewise.
20419         (CFLAGS-oldiofopen.c): Likewise.
20420         (CFLAGS-iofopen.c): Likewise.
20421         (CFLAGS-iofopen64.c): Likewise.
20422         (CFLAGS-oldtmpfile.c): Likewise.
20423         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20424         (CFLAGS-fprintf.c): Likewise.
20425         (CFLAGS-printf.c): Likewise.
20426         (CFLAGS-vfwprintf.c): Likewise.
20427         (CFLAGS-vfscanf.c): Likewise.
20428         (CFLAGS-vfwscanf.c): Likewise.
20429         (CFLAGS-fscanf.c): Likewise.
20430         (CFLAGS-scanf.c): Likewise.
20431         (CFLAGS-isoc99_vfscanf.c): Likewise.
20432         (CFLAGS-isoc99_vscanf.c): Likewise.
20433         (CFLAGS-isoc99_fscanf.c): Likewise.
20434         (CFLAGS-isoc99_scanf.c): Likewise.
20435         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20436         (CFLAGS-isoc99_fwscanf.c): Likewise.
20437         (CFLAGS-isoc99_vwscanf.c): Likewise.
20438         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20440         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20441         after mkstemp64.
20442         * login/tst-utmp.c (do_prepare): Likewise.
20443         * rt/tst-aio.c (do_prepare): Likewise.
20444         * rt/tst-aio64.c (do_prepare): Likewise.
20446 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20448         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20449         (__lll_lock_elision): Remove adapt_count decrement...
20450         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20451         (__lll_trylock_elision): Likewise.
20452         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20453         (__lll_unlock_elision): ... to here. And utilize
20454         new adapt_count parameter.
20455         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20456         (__lll_unlock_elision): Update to include adapt_count
20457         parameter.
20458         (lll_unlock_elision): Pass pointer to adapt_count
20459         variable.
20461 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20463         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20464         Add elision adapt_count parameter to list of arguments.
20465         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20466         (lll_unlock_elision): Update with new parameter list
20467         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20468         (lll_unlock_elision): Likewise.
20469         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20470         (lll_unlock_elision): Likewise.
20472 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20474         [BZ #19122]
20475         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20476         attribute_hidden.
20478         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20479         attribute_hidden.
20480         [IS_IN (rtld)] (__strdup): Likewise.
20481         [IS_IN (rtld)] (__strerror_r): Likewise.
20482         [IS_IN (rtld)] (__strsep_g): Likewise.
20483         [IS_IN (rtld)] (memchr): Likewise.
20484         [IS_IN (rtld)] (memcmp): Likewise.
20485         [IS_IN (rtld)] (memcpy): Likewise.
20486         [IS_IN (rtld)] (memmove): Likewise.
20487         [IS_IN (rtld)] (memset): Likewise.
20488         [IS_IN (rtld)] (rawmemchr): Likewise.
20489         [IS_IN (rtld)] (stpcpy): Likewise.
20490         [IS_IN (rtld)] (strchr): Likewise.
20491         [IS_IN (rtld)] (strcmp): Likewise.
20492         [IS_IN (rtld)] (strlen): Likewise.
20493         [IS_IN (rtld)] (strnlen): Likewise.
20494         [IS_IN (rtld)] (strsep): Likewise.
20496         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20497         attribute_hidden.
20498         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20500         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20501         attribute_hidden.
20502         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20504         * include/setjmp.h (__longjmp): Add attribute_hidden.
20505         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20507         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20508         Add attribute_hidden.
20510         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20511         [IS_IN (rtld)] (__open): Likewise.
20512         [IS_IN (rtld)] (__fcntl): Likewise.
20514         * include/dirent.h (__opendirat): Add attribute_hidden.
20515         (__getdents): Likewise.
20516         (__getdents64): Likewise.
20517         (__alloc_dir): Likewise.
20518         [IS_IN (rtld)] (__closedir): Likewise.
20519         [IS_IN (rtld)] (__fdopendir): Likewise.
20520         [IS_IN (rtld)] (__readdir): Likewise.
20521         [IS_IN (rtld)] (__readdir64): Likewise.
20522         [IS_IN (rtld)] (__rewinddir): Likewise.
20524         * include/dlfcn.h (_dl_catch_error): Moved to ...
20525         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20526         attribute_hidden.
20528         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20529         (_itoa_word): Likewise.
20531         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20532         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20533         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20534         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20535         (_dl_higher_prime_number): Likewise.
20536         (_dl_debug_printf_c): Likewise.
20537         (_dl_signal_cerror): Likewise.
20538         (_dl_receive_error): Likewise.
20539         (_dl_reloc_bad_type): Likewise.
20540         (_dl_resolve_conflicts): Likewise.
20541         (_dl_check_all_versions): Likewise.
20542         (_dl_check_map_versions): Likewise.
20543         (_dl_sort_fini): Likewise.
20544         (_dl_debug_initialize): Likewise.
20545         (_dl_init_paths): Likewise.
20546         (_dl_show_auxv): Likewise.
20547         (_dl_next_ld_env_entry): Likewise.
20548         (_dl_important_hwcaps): Likewise.
20549         (_dl_load_cache_lookup): Likewise.
20550         (_dl_update_slotinfo): Likewise.
20551         (_dl_show_scope): Likewise.
20553         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20554         attribute_hidden.
20555         (_wordcopy_fwd_dest_aligned): Likewise.
20556         (_wordcopy_bwd_aligned): Likewise.
20557         (_wordcopy_bwd_dest_aligned): Likewise.
20559         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20560         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20561         Likewise.
20562         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20563         Likewise.
20564         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20566 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20568         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20569         GCC 5 requirement.
20571 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20573         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20574         test.
20575         * sysdeps/i386/configure: Regenerated.
20576         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20577         code unconditional.
20579         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20580         test.
20581         (libc_cv_asm_popsection_directive): Likewise.
20582         * configure: Regenerated.
20583         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20584         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20585         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20586         (__make_section_unallocated): Make definition unconditional.
20587         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20588         Remove conditional definition.
20589         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20590         (__make_section_unallocated): Likewise.
20592         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20593         * configure: Regenerated.
20594         * config.make.in (static-libgcc): Remove variable.
20595         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20596         $(static-libgcc).
20597         (build-module-helper): Likewise.
20599         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20600         * configure: Regenerated.
20602 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20604         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20605         (struct char_buffer): New type.
20606         (char_buffer_start, char_buffer_size, char_buffer_error)
20607         (char_buffer_rewind, char_buffer_add): New functions.
20608         (ADDW): Remove macro, replaced by the char_buffer_add function.
20609         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20610         of extend_alloca.  Make control flow more explicit.
20612 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20614         [BZ #19137]
20615         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20616         Add -fomit-frame-pointer.
20617         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20619 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20621         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20622         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20623         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20624         only if !__GNUC_PREREQ (5,0).
20625         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20626         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20627         (INTERNAL_SYSCALL_NCS): Likewise.
20628         (LOADREGS_0): New macro for GCC 5.
20629         (ASMARGS_0): Likewise.
20630         (LOADREGS_1): Likewise.
20631         (ASMARGS_1): Likewise.
20632         (LOADREGS_2): Likewise.
20633         (ASMARGS_2): Likewise.
20634         (LOADREGS_3): Likewise.
20635         (ASMARGS_3): Likewise.
20636         (LOADREGS_4): Likewise.
20637         (ASMARGS_4): Likewise.
20638         (LOADREGS_5): Likewise.
20639         (ASMARGS_5): Likewise.
20640         (LOADREGS_6): Likewise.
20641         (ASMARGS_6): Likewise.
20643 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20645         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20646         -fomit-frame-pointer.
20647         (CFLAGS-mmap64.c): Likewise.
20648         (CFLAGS-semtimedop.c): Likewise.
20649         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20650         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20651         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20652         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20654 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20656         [BZ #18928]
20657         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20658         _dl_pointer_guard member.
20659         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20660         initializer.
20661         (security_init): Always set up pointer guard.
20662         (process_envvars): Do not process LD_POINTER_GUARD.
20664 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20666         [BZ #19134]
20667         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20668         (.LC2): Likewise.
20669         (.LC3): Likewise.
20670         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20672 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20674         [BZ #19129]
20675         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20676         r0 and r1.
20678 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20680         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20682 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20684         * include/stap-probe.h: Fix macro definition formatting.
20686 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20688         [BZ #19074]
20689         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20690         load and store num_ifs.
20692 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20694         [BZ #18822]
20695         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20696         (__sched_getaffinity_new): Add libc_hidden_proto and
20697         libc_hidden_def.
20699 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20701         [BZ #19007]
20702         * scripts/localplt.awk: Also allow GOT references.
20703         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20704         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20705         with "+ REL R_386_GLOB_DAT".
20706         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20707         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20709 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20711         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20712         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20713         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20714         Likewise.
20715         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20716         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20717         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20718         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20719         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20720         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20721         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20722         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20723         Likewise.
20724         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20726 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20728         [BZ #19125]
20729         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20730         <math_private.h> and <stdint.h>.
20731         (__llround): Avoid conversions to and from long long int, and
20732         subtractions, where those might raise spurious exceptions.
20733         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20734         <math_private.h> and <stdint.h>.
20735         (__llroundf): Avoid conversions to and from long long int, and
20736         subtractions, where those might raise spurious exceptions.
20738 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20740         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20741         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20742         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20743         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20744         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20745         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20746         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20747         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20748         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20749         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20750         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20751         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20752         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20753         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20754         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20755         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20756         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20757         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20758         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20759         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20760         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20761         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20762         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20763         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20764         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20765         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20766         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20767         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20768         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20769         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20770         (__xstat64_conv): Likewise.
20771         (__xstat32_conv): Likewise.
20773 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20775         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20776         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20777         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20778         <sysdeps/unix/sysv/linux/sysdep.h>.
20779         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20780         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20781         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20782         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20783         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20784         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20785         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20786         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20787         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20793         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20795         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20796         (sysdep-dl-routines): Add sysdep.
20797         [$(subdir) == nptl] (libpthread-routines): Likewise.
20798         [$(subdir) == rt] (librt-routines): Likewise.
20799         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20800         PIC when branching to SYSCALL_ERROR_LABEL.
20801         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20802         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20803         <sysdeps/unix/sysv/linux/sysdep.h>.
20804         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20805         (SYSCALL_ERROR_ERRNO): Removed.
20806         (SYSCALL_ERROR_HANDLER): Changed to empty.
20807         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20808         (__syscall_error): New prototype.
20809         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20810         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20812 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20814         [BZ #19124]
20815         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20816         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20817         _dl_runtime_resolve_avx.
20818         (_dl_runtime_profile_avx512): Make it a hidden alias of
20819         _dl_runtime_profile_avx.
20821 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20823         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20824         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20825         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20826         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20828         [BZ #16422]
20829         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20830         New configure test.
20831         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20832         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20833         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20834         <math_private.h> and <stdint.h>.
20835         (__llrint): Avoid conversions to long long int where those might
20836         raise spurious exceptions.
20837         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20838         <math_private.h> and <stdint.h>.
20839         (__llrintf): Avoid conversions to long long int where those might
20840         raise spurious exceptions.
20842 2015-10-12  Andreas Schwab  <schwab@suse.de>
20844         [BZ #18969]
20845         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20846         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20847         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
20848         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20849         $(gen-locales).
20850         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
20851         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20852         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20853         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20854         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20855         $(gen-locales).
20856         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
20857         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20858         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20859         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20860         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20861         ($(objpfx)tst-ftell-active-handler.out)
20862         ($(objpfx)tst-ftell-append.out)
20863         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20864         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20865         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20866         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20867         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
20868         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20869         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20870         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20871         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20872         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
20873         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
20874         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
20875         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
20876         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
20877         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
20878         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
20879         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
20880         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
20881         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
20882         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
20883         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
20884         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
20885         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
20886         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
20887         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
20888         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
20889         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
20890         $(gen-locales).
20891         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
20892         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
20893         $(gen-locales).
20894         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
20895         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
20896         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
20897         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
20898         $(gen-locales).
20899         * libio/tst_wprintf2.c (main): Use explicit locale.
20900         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
20902 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20904         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
20905         __msg_sig_post.
20906         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
20908 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20910         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20911         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20913         * sysdeps/arm/libm-test-ulps: Regenerated.
20915         [BZ #15470]
20916         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
20918         [BZ #16399]
20919         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
20920         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
20921         and <fix-fp-int-convert-overflow.h>.
20922         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20923         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20924         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
20925         and <fix-fp-int-convert-overflow.h>.
20926         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
20927         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20928         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
20929         <fix-fp-int-convert-overflow.h>.
20930         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20931         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20932         * sysdeps/ieee754/dbl-64/s_lround.c: Include
20933         <fix-fp-int-convert-overflow.h>.
20934         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
20935         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20936         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
20937         and <fix-fp-int-convert-overflow.h>.
20938         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20939         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20940         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
20941         <limits.h> and <fix-fp-int-convert-overflow.h>.
20942         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20943         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20944         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
20945         and <fix-fp-int-convert-overflow.h>.
20946         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20947         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20948         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
20949         and <fix-fp-int-convert-overflow.h>.
20950         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20951         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20952         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
20954 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
20956         [BZ #18589]
20957         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
20958         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
20959         $(gen-locales).
20961 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20962             Phil Blundell <pb@pbcl.net>
20964         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
20965         * nptl/tst-cancel26.c: New file.
20966         * nptl/tst-cancel27.c: Likewise.
20968 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
20970         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
20971         __ILP32__ isn't defined.
20972         (lrint): Likewise.
20973         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
20974         (lrintf): Likewise.
20975         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
20976         (lrintl): Likewise.
20977         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
20978         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
20979         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
20981 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20984         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20986         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
20987         file.
20988         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
20989         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20991 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20993         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
20994         configure test.
20995         * sysdeps/i386/configure: Regenerated.
20996         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
20997         configure test.
20998         * sysdeps/x86_64/configure: Regenerated.
20999         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21000         Make code unconditional.
21002         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21003         test.
21004         * sysdeps/i386/configure: Regenerated.
21005         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21006         test.
21007         * sysdeps/x86_64/configure: Regenerated.
21008         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21009         Make code unconditional.
21010         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21011         Likewise.
21012         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21013         Likewise.
21014         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21015         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21016         code unconditional.
21017         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21018         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21019         code unconditional.
21020         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21021         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21022         code unconditional.
21023         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21024         code unconditional.
21025         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21026         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21027         code unconditional.
21028         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21029         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21030         code unconditional.
21031         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21032         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21033         code unconditional.
21034         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21035         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21036         code unconditional.
21037         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21038         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21040         [BZ #19095]
21041         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21042         mantissa to long int before shifting left.
21044 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21046         [BZ #19094]
21047         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21048         <limits.h>.
21049         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21050         when result overflows but exception would not result from cast.
21051         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
21052         <limits.h>.
21053         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21054         when result overflows but exception would not result from cast.
21055         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
21056         <limits.h>.
21057         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21058         when result overflows but exception would not result from cast.
21059         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21060         <limits.h>.
21061         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21062         when result overflows but exception would not result from cast.
21063         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21064         <limits.h>.
21065         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21066         when result overflows but exception would not result from cast.
21067         * math/libm-test.inc (lrint_test_data): Add more tests.
21068         (llrint_test_data): Likewise.
21070 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21072         [BZ #18872]
21073         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21074         Move out from under [$(run-built-tests) = yes] conditional.
21075         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21076         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21078 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21080         [BZ #18589]
21081         * string/Makefile (tests): Add bug-strcoll2.
21082         (LOCALES): Add cs_CZ.UTF-8.
21083         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21085         [BZ #18589]
21086         * string/bug-strcoll2.c: New file.
21087         * locale/categories.def: Revert commit
21088         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21089         * locale/langinfo.h: Likewise.
21090         * locale/localeinfo.h: Likewise.
21091         * locale/C-collate.c: Likewise.
21092         * locale/programs/ld-collate.c (collate_output): Likewise.
21093         * string/strcoll_l.c (STRDIFF): Likewise.
21094         (STRCOLL): Likewise.
21095         * wcsmbs/wcscoll_l.c: Likewise.
21097 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21099         * math/libm-test.inc (lround_test_data): Do not expect the absence
21100         of "inexact" for some tests with non-integer arguments.
21101         (llround_test_data): Likewise.
21103         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21104         test.
21105         (libc_cv_cc_sse2avx): Likewise.
21106         * sysdeps/i386/configure: Regenerated.
21107         * sysdeps/i386/i686/multiarch/Makefile
21108         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21109         [$(subdir) = math].
21110         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21111         code unconditional.
21112         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21113         Likewise.
21114         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21115         Likewise.
21116         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21117         Likewise.
21118         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21119         test.
21120         (libc_cv_cc_sse2avx): Likewise.
21121         * sysdeps/x86_64/configure: Regenerated.
21122         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21123         unconditional.
21124         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21125         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21126         unconditional.
21127         (_dl_runtime_profile)
21128         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21129         conditional code.
21130         * sysdeps/x86_64/fpu/multiarch/Makefile
21131         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21132         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21133         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21134         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21135         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21136         * sysdeps/x86_64/fpu/multiarch/e_log.c
21137         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21138         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21139         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21140         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21141         Likewise.
21142         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21143         Likewise.
21144         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21145         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21146         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21147         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21148         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21149         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21150         (HAVE_SSE2AVX_SUPPORT): Likewise.
21152 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21154         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21155         instead of #pragma optimize.
21157 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21159         [BZ #17195]
21160         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21161         as is similarly done in systrim and _int_free already.
21163 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21165         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21167 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21169         [BZ #19088]
21170         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21171         <limits.h>.
21172         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21173         overflows but exception would not result from cast.
21174         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21175         and <limits.h>.
21176         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21177         overflows but exception would not result from cast.
21178         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
21179         <limits.h>.
21180         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21181         overflows but exception would not result from cast.
21182         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
21183         <limits.h>.
21184         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21185         overflows but exception would not result from cast.
21186         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
21187         <limits.h>.
21188         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21189         overflows but exception would not result from cast.
21190         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
21191         <limits.h>.
21192         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21193         overflows but exception would not result from cast.
21194         * math/libm-test.inc (lround_test_data): Add more tests.
21195         (llround_test_data): Likewise.
21197 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
21199         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
21200         (CFLAGS-ialloc.c): Ditto.
21201         (CFLAGS-scheck.c): Ditto.
21203 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21205         [BZ #19086]
21206         * manual/filesys.texi (Storage Allocation): Fix argument order for
21207         posix_fallocate64.
21209 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21211         [BZ #19085]
21212         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
21213         exponent below 48 inside case for non-overflowing exponent.
21214         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
21216 2015-10-07  Florian Weimer  <fweimer@redhat.com>
21218         * iconvdata/cp737.h (from_idx): Add const.
21219         * iconvdata/cp775.h (from_idx): Likewise.
21221 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21223         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
21224         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
21225         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
21227         [BZ #19079]
21228         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
21229         file, conditioned on [!_LP64].
21230         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
21231         [!_LP64] (__lround): Do not define as function or alias.
21232         [!_LP64] (lround): Likewise.
21233         [!_LP64] (__lroundl): Likewise.
21234         [!_LP64] (lroundl): Likewise.
21235         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
21236         macro.
21237         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21238         Likewise.
21240 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21242         * math/libm-test.inc (lrint_test_data): Add more tests.
21243         (llrint_test_data): Likewise.
21244         (lround_test_data): Likewise.
21245         (llround_test_data): Likewise.
21247         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
21248         (llrint_test_data): Add tests used for lrint.
21250         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
21251         test.
21252         * sysdeps/i386/configure: Regenerated.
21253         * sysdeps/i386/i686/multiarch/Makefile
21254         [$(config-cflags-sse4) = yes]: Make code unconditional.
21255         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21256         Likewise.
21257         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
21258         Likewise.
21259         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
21260         test.
21261         * sysdeps/x86_64/configure: Regenerated.
21262         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21263         Make code unconditional.
21264         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21265         Likewise.
21266         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21267         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21269         * scripts/rpm2dynsym.sh: Remove file.
21271 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21273         * configure.ac (libc_cv_cxx_thread_local): Define.
21274         * configure: Regenerate.
21275         * config.make.in (have-cxx-thread_local): Define.
21276         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21277         (LDLIBS-tst-thread_local1): Define.
21278         (tests): Add tst-thread_local1.
21279         [have-cxx-thread_local != yes] (tests-unsupported): Add
21280         tst-thread_local1.
21281         * nptl/tst-thread_local1.cc: New file.
21283 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21285         [BZ #19078]
21286         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21287         (u_thres): Likewise.
21288         (__expl): Determine whether to call __kernel_standard_l based on
21289         value of result, not argument.
21291         * math/libm-test.inc (scalb_test_data): Add more expectations for
21292         the "inexact" exception.
21294         [BZ #19077]
21295         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21296         0.0L for argument 1.0L.
21298         [BZ #19076]
21299         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21300         constant 0.0L when computing infinite result.
21302 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21304         [BZ #10432]
21305         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21306         malloc_usable_size.
21308 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21310         [BZ #19018]
21311         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21312         Mangle function pointer before storing it.
21313         (__call_tls_dtors): Demangle function pointer before calling it.
21315 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21317         [BZ #19012]
21318         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21319         Clean up on failure.
21321 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21323         [BZ #19071]
21324         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21325         long int variable to store possibly incremented high part of
21326         mantissa.
21327         * math/libm-test.inc (lround_test_data): Add tests used for
21328         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21329         for tests requiring 64-bit long.  Do not condition tests on
21330         [TEST_FLOAT] unnecessarily.
21331         (llround_test_data): Add tests used for lround.  Add another
21332         expectation for the "inexact" exception.  Do not condition tests
21333         on [TEST_FLOAT] unnecessarily.
21335         [BZ #887]
21336         [BZ #19049]
21337         [BZ #19050]
21338         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21339         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21340         <fix-int-fp-convert-zero.h>.
21341         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21342         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21343         <fix-int-fp-convert-zero.h>.
21344         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21345         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21346         <fix-int-fp-convert-zero.h>.
21347         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21348         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21349         <fix-int-fp-convert-zero.h>.
21350         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21351         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21352         <fix-int-fp-convert-zero.h>.
21353         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21354         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21355         <fix-int-fp-convert-zero.h>.
21356         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21357         * sysdeps/ieee754/flt-32/s_erff.c: Include
21358         <fix-int-fp-convert-zero.h>.
21359         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21360         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21361         <fix-int-fp-convert-zero.h>.
21362         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21363         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21364         <fix-int-fp-convert-zero.h>.
21365         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21366         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21367         <fix-int-fp-convert-zero.h>.
21368         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21369         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21370         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21371         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21372         file.
21373         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21375 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21377         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21379 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21381         [BZ #19059]
21382         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21383         overflowing computation.
21384         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21385         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21386         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21387         Likewise.
21388         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21389         Likewise.
21390         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21391         Likewise.
21392         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21393         Likewise.
21394         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21395         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21396         Likewise.
21397         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21398         Likewise.
21399         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21401         * nss/rewrite_field.c (__nss_rewrite_field): Use
21402         internal_function.
21403         * nss/valid_field.c (__nss_valid_field): Likewise.
21404         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21406 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21408         [BZ #18724]
21409         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21410         (__nss_invalid_field_characters, __nss_valid_field)
21411         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21412         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21413         tst-field.c: New file.
21414         * nss/Makefile (routines): Add valid_field, rewrite_field.
21415         (tests-static): Define unconditionally.
21416         (tests): Include tests-static.
21417         [build-static-nss] (tests-static): Use append.
21418         [build-static-nss] (tests): Remove modification.
21419         * nss/getent.c (print_group): Call putgrent.  Report error.
21420         (print_gshadow): Call putsgent.  Report error.
21421         (print_passwd): Call putpwent.  Report error.
21422         (print_shadow): Call putspent.  Report error.
21423         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21424         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21425         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21426         name, password, directory, shell fields for valid syntax.  Rewrite
21427         GECOS field to match syntax.
21428         * pwd/Makefile (tests): Add tst-putpwent.
21429         * pwd/tst-putpwent.c: New file.
21430         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21431         Check grName, grpasswd, gr_mem fields for valid syntax.
21432         Change loop variable i to size_t.
21433         * grp/Makefile (tests): Add tst-putgrent.
21434         * grp/tst-putgrent.c: New file.
21435         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21436         valid syntax.
21437         * shadow/Makefile (tests): Add tst-putspent.
21438         * shadow/tst-putspent.c: New file.
21439         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21440         sg_mem fields for valid syntax.
21441         * gshadow/Makefile (tests): Add tst-putsgent.
21442         * gshadow/tst-putsgent.c: New file.
21444 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21446         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21447         assembly instructions.
21449 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21451         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21452         prefix from operands.
21454 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21456         [BZ #16347]
21457         [BZ #19046]
21458         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21459         <libc-internal.h>.
21460         (MAXLGM): Do not use diagnostic control macros.
21461         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21462         threshold for ldbl-128ibm.
21463         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21464         instead of multiplying by log then subtracting.
21465         * math/auto-libm-test-in: Add more tests of lgamma.
21466         * math/auto-libm-test-out: Regenerated.
21468         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21469         (TYPE_HEX_DIG): Likewise.
21470         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21471         precisions when printing floating-point numbers.
21472         (check_float_internal): Likewise.
21474 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21476         [BZ #16620]
21477         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21478         of log (10) rounded downward to 48 bits.
21479         (log10_low): Use corresponding low part of log (10).
21481         [BZ #19032]
21482         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21483         compute result as (x - x) / (x - x) not as 0 / 0.
21484         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21485         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21487         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21488         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21489         and expm1.
21490         * math/auto-libm-test-out: Regenerated.
21491         * math/libm-test.inc (acos_test_data): Add more tests.
21492         (asin_test_data): Likewise.
21493         (asinh_test_data): Likewise.
21494         (atan_test_data): Likewise.
21495         (atanh_test_data): Likewise.
21496         (atan2_test_data): Likewise.
21497         (cbrt_test_data): Likewise.
21498         (ceil_test_data): Likewise.
21499         (copysign_test_data): Likewise.
21500         (cos_test_data): Likewise.
21501         (cosh_test_data): Likewise.
21502         (erf_test_data): Likewise.
21503         (erfc_test_data): Likewise.
21504         (exp_test_data): Likewise.
21505         (exp10_test_data): Likewise.
21506         (exp2_test_data): Likewise.
21507         (expm1_test_data): Likewise.
21508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21510 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21512         [BZ #19006]
21513         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21514         to ...
21515         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21516         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21517         to ...
21518         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21519         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21520         to ...
21521         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21522         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21523         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21524         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21525         to ...
21526         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21527         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21528         Moved to ...
21529         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21530         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21531         Moved to ...
21532         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21533         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21534         to ...
21535         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21536         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21537         Moved to ...
21538         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21539         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21540         to ...
21541         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21542         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21543         Removed.
21544         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21545         Likewise.
21546         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21547         Likewise.
21548         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21549         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21550         Likewise.
21551         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21552         Likewise.
21553         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21554         Likewise.
21555         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21556         Likewise.
21557         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21558         Likewise.
21559         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21560         Likewise.
21561         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21562         Likewise.
21563         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21564         Likewise.
21565         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21566         Likewise.
21567         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21568         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21569         Likewise.
21570         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21571         Likewise.
21572         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21575         Likewise.
21576         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21577         Likewise.
21578         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21579         Replace ../i486/pthread_cond_timedwait.S with
21580         ../pthread_cond_timedwait.S.
21582 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21584         * math/libm-test.inc (acos_test_data): Refine expectations for
21585         errno and "inexact" exceptions.
21586         (acosh_test_data): Likewise.
21587         (asin_test_data): Likewise.
21588         (asinh_test_data): Likewise.
21589         (atan_test_data): Likewise.
21590         (atanh_test_data): Likewise.
21591         (atan2_test_data): Likewise.
21592         (cbrt_test_data): Likewise.
21593         (ceil_test_data): Likewise.
21594         (copysign_test_data): Likewise.
21595         (cosh_test_data): Likewise.
21596         (erf_test_data): Likewise.
21597         (erfc_test_data): Likewise.
21598         (exp_test_data): Likewise.
21599         (exp10_test_data): Likewise.
21600         (exp2_test_data): Likewise.
21601         (expm1_test_data): Likewise.
21602         (fabs_test_data): Likewise.
21603         (floor_test_data): Likewise.
21604         (fma_test_data): Likewise.
21605         (fmax_test_data): Likewise.
21606         (fmin_test_data): Likewise.
21607         (fmod_test_data): Likewise.
21608         (fpclassify_test_data): Likewise.
21609         (frexp_test_data): Likewise.
21610         (hypot_test_data): Likewise.
21611         (ilogb_test_data): Likewise.
21612         (isgreater_test_data): Likewise.
21613         (isgreaterequal_test_data): Likewise.
21614         (isinf_test_data): Likewise.
21615         (isless_test_data): Likewise.
21616         (islessequal_test_data): Likewise.
21617         (islessgreater_test_data): Likewise.
21618         (isnan_test_data): Likewise.
21619         (isnormal_test_data): Likewise.
21620         (issignaling_test_data): Likewise.
21621         (isunordered_test_data): Likewise.
21622         (j0_test_data): Likewise.
21623         (j1_test_data): Likewise.
21624         (jn_test_data): Likewise.
21625         (lgamma_test_data): Likewise.
21626         (lrint_test_data): Likewise.
21627         (llrint_test_data): Likewise.
21628         (log_test_data): Likewise.
21629         (log10_test_data): Likewise.
21630         (log1p_test_data): Likewise.
21631         (log2_test_data): Likewise.
21632         (logb_test_data): Likewise.
21633         (lround_test_data): Likewise.
21634         (llround_test_data): Likewise.
21635         (modf_test_data): Likewise.
21636         (nearbyint_test_data): Likewise.
21637         (nextafter_test_data): Likewise.
21638         (nexttoward_test_data): Likewise.
21639         (pow_test_data): Likewise.
21640         (remainder_test_data): Likewise.
21641         (remquo_test_data): Likewise.
21642         (rint_test_data): Likewise.
21643         (round_test_data): Likewise.
21644         (signbit_test_data): Likewise.
21645         (sinh_test_data): Likewise.
21646         (sqrt_test_data): Likewise.
21647         (tanh_test_data): Likewise.
21648         (tgamma_test_data): Likewise.
21649         (trunc_test_data): Likewise.
21650         (y0_test_data): Likewise.
21651         (y1_test_data): Likewise.
21652         (yn_test_data): Likewise.
21653         (significand_test_data): Likewise.
21655 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21657         * manual/filesys.texi (Storage Allocation): Document that
21658         posix_fallocate emulation fails when fd is open with O_WRONLY.
21660 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21662         [BZ #19016]
21663         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21664         allow more cases with X^2 + Y^2 >= 0.5.
21665         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21666         normal element in sum instead of special-casing based on values of
21667         arguments.
21668         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21669         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21670         -1 as normal element in sum instead of special-casing based on
21671         values of arguments.
21672         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21673         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21674         (__x2y2m1): Update comment.
21675         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21676         as normal element in sum instead of special-casing based on values
21677         of arguments.
21678         * math/s_clog.c (__clog): Handle more cases using log1p without
21679         hypot.
21680         * math/s_clog10.c (__clog10): Likewise.
21681         * math/s_clog10f.c (__clog10f): Likewise.
21682         * math/s_clog10l.c (__clog10l): Likewise.
21683         * math/s_clogf.c (__clogf): Likewise.
21684         * math/s_clogl.c (__clogl): Likewise.
21685         * math/auto-libm-test-in: Add more tests of clog and clog10.
21686         * math/auto-libm-test-out: Regenerated.
21687         * sysdeps/i386/fpu/libm-test-ulps: Update.
21688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21690 2015-09-28  Martin Sebor  <msebor@redhat.com>
21692         [BZ #18969]
21693         * string/Makefile (LOCALES): Define.
21694         (gen-locales.mk): Include.
21695         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21696         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21697         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21698         on setlocale failure.
21700 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21702         [BZ #18985]
21703         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21704         (__strftime_internal): Likewise.
21705         * time/tst-strftime.c (do_bz18985): New test.
21706         (do_test): Call it.
21708 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21710         [BZ #18956]
21711         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21712         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21713         extracting high part.
21714         * math/auto-libm-test-in: Add another test of pow.
21715         * math/auto-libm-test-out: Regenerated.
21716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21718 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21720         [BZ #18825]
21721         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21722         New macro.
21723         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21724         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21725         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21726         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21727         DBL_NARROW_EVAL, reloading the PIC register as needed.
21728         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21729         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21730         FLT_NARROW_EVAL.  Use separate return path for case when first
21731         argument is NaN.
21732         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21733         DEFINE_LDBL_MIN.
21734         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21735         PIC register.
21736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21737         math_check_force_underflow_nonneg.
21738         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21739         underflow for subnormal result.
21740         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21742         math_check_force_underflow_nonneg.
21743         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21744         math_check_force_underflow.
21745         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21746         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21747         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21748         DEFINE_LDBL_MIN.
21749         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21750         * math/auto-libm-test-in: Add more tests of pow.
21751         * math/auto-libm-test-out: Regenerated.
21753 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21755         * nss/bug17079.c (init_test_items): Add diagnostic for
21756         inconsistent entries.
21757         (test_buffer_size): Skip inconsistent entries.
21759 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21761         [BZ #13304]
21762         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21763         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21764         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21766         [BZ #13304]
21767         * sysdeps/microblaze/s_fma.c: New file.
21768         * sysdeps/microblaze/s_fmaf.c: Likewise.
21769         * sysdeps/microblaze/sfp-machine.h: Likewise.
21771 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21773         [BZ #17250]
21774         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21775         member.
21777 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21779         [BZ #18803]
21780         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21781         (MO): New macro.
21782         (__ieee754_hypot) [PIC]: Load PIC register.
21783         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21784         DBL_NARROW_EVAL.
21785         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21786         math_check_force_underflow_nonneg in case where result might be
21787         tiny.
21788         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21789         Likewise.
21790         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21791         Likewise.
21792         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21793         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21794         * math/auto-libm-test-in: Add more tests of hypot.
21795         * math/auto-libm-test-out: Regenerated.
21797 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21799         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21801 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21803         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21804         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21805         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21806         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21807         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21808         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21809         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21811         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21812         LOAD_PIC_REG.
21814         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21815         (FLT_CHECK_FORCE_UFLOW): Likewise.
21816         (DBL_CHECK_FORCE_UFLOW): Likewise.
21817         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21818         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21819         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21820         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21821         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21822         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21823         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21824         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21825         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21826         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21827         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21828         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21829         (flt_min): Replace with use of DEFINE_FLT_MIN.
21830         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21831         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21832         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21833         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21834         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21835         (flt_min): Replace with use of DEFINE_FLT_MIN.
21836         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21837         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21838         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21839         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21840         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21841         (flt_min): Replace with use of DEFINE_FLT_MIN.
21842         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21843         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21844         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21845         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21846         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21847         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21848         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21849         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21850         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21851         (__atan): Use DBL_CHECK_FORCE_UFLOW.
21852         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21853         (flt_min): Replace with use of DEFINE_FLT_MIN.
21854         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21855         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21856         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21857         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
21858         main computation.
21859         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21860         (flt_min): Replace with use of DEFINE_FLT_MIN.
21861         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
21862         main computation.
21863         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21864         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21865         (MO): New macro.
21866         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21867         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21868         (flt_min): Replace with use of DEFINE_FLT_MIN.
21869         (MO): New macro.
21870         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21871         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21872         (__log1pl): Use MO.
21874         [BZ #19003]
21875         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
21876         $(config-cflags-nofma).
21878 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21880         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21882 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
21884         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
21885         (TWO127): Likewise.
21887         * sysdeps/generic/math_private.h (fabs_tg): New macro.
21888         (min_of_type): Likewise.
21889         (math_check_force_underflow): Likewise.
21890         (math_check_force_underflow_nonneg): Likewise.
21891         (math_check_force_underflow_complex): Likewise.
21892         * math/e_exp2l.c (__ieee754_exp2l): Use
21893         math_check_force_underflow_nonneg.
21894         * math/k_casinh.c (__kernel_casinh): Likewise.
21895         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21896         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21897         * math/s_catan.c (__catan): Use
21898         math_check_force_underflow_complex.
21899         * math/s_catanf.c (__catanf): Likewise.
21900         * math/s_catanh.c (__catanh): Likewise.
21901         * math/s_catanhf.c (__catanhf): Likewise.
21902         * math/s_catanhl.c (__catanhl): Likewise.
21903         * math/s_catanl.c (__catanl): Likewise.
21904         * math/s_ccosh.c (__ccosh): Likewise.
21905         * math/s_ccoshf.c (__ccoshf): Likewise.
21906         * math/s_ccoshl.c (__ccoshl): Likewise.
21907         * math/s_cexp.c (__cexp): Likewise.
21908         * math/s_cexpf.c (__cexpf): Likewise.
21909         * math/s_cexpl.c (__cexpl): Likewise.
21910         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
21911         * math/s_clog10.c (__clog10): Likewise.
21912         * math/s_clog10f.c (__clog10f): Likewise.
21913         * math/s_clog10l.c (__clog10l): Likewise.
21914         * math/s_clogf.c (__clogf): Likewise.
21915         * math/s_clogl.c (__clogl): Likewise.
21916         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
21917         * math/s_csinf.c (__csinf): Likewise.
21918         * math/s_csinh.c (__csinh): Likewise.
21919         * math/s_csinhf.c (__csinhf): Likewise.
21920         * math/s_csinhl.c (__csinhl): Likewise.
21921         * math/s_csinl.c (__csinl): Likewise.
21922         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
21923         * math/s_csqrtf.c (__csqrtf): Likewise.
21924         * math/s_csqrtl.c (__csqrtl): Likewise.
21925         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
21926         * math/s_ctanf.c (__ctanf): Likewise.
21927         * math/s_ctanh.c (__ctanh): Likewise.
21928         * math/s_ctanhf.c (__ctanhf): Likewise.
21929         * math/s_ctanhl.c (__ctanhl): Likewise.
21930         * math/s_ctanl.c (__ctanl): Likewise.
21931         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
21932         instead of volatile.
21933         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
21934         math_check_force_underflow.
21935         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21936         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
21937         volatile when forcing underflow.
21938         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21939         math_check_force_underflow_nonneg.
21940         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
21941         Likewise.
21942         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
21943         math_check_force_underflow.
21944         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21945         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21946         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21947         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
21948         math_check_force_underflow_nonneg.
21949         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
21950         math_check_force_underflow.
21951         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
21952         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
21953         instead of volatile.
21954         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
21955         math_check_force_underflow.
21956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21957         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21958         math_check_force_underflow_nonneg.
21959         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
21960         math_check_force_underflow.
21961         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
21962         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21963         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
21964         math_check_force_underflow_nonneg.
21965         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21966         Likewise.
21967         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
21968         math_check_force_underflow.
21969         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21970         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21971         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
21972         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
21973         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
21974         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
21975         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
21976         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
21977         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21978         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
21979         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
21980         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
21981         Likewise.
21982         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
21983         math_check_force_underflow_nonneg.
21984         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21985         Likewise.
21986         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
21987         math_check_force_underflow.
21988         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21989         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
21990         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21991         Likewise.
21992         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
21993         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
21994         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
21995         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
21996         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
21997         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
21998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
21999         instead of volatile.
22000         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22001         math_check_force_underflow.
22002         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22004         math_check_force_underflow.
22005         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22006         Likewise.
22007         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22008         Use math_check_force_underflow_nonneg.
22009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22010         math_check_force_underflow.
22011         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22012         Likewise.
22013         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22014         Likewise.
22015         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22016         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22017         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22018         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22019         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22020         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22021         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22022         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22023         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22024         math_check_force_underflow_nonneg.
22025         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22026         math_check_force_underflow.
22027         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22028         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22029         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22030         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22031         math_check_force_underflow_nonneg.
22032         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22033         math_check_force_underflow.
22034         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22035         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22036         instead of volatile.
22037         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22038         math_check_force_underflow.
22040         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22041         * stdlib/strtod_l.c: Include <math_private.h>.
22042         (overflow_value): Use math_narrow_eval.
22043         (underflow_value): Likewise.
22044         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22045         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22046         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22047         (__ieee754_gamma_r): Likewise.
22048         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22049         Likewise.
22050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22051         Likewise.
22052         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22053         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22054         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22055         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22056         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22057         (__ieee754_gammaf_r): Likewise.
22058         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22059         Likewise.
22060         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22061         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22062         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22063         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22064         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22065         volatile.
22066         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22067         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22068         math_narrow_eval.
22069         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22070         Likewise.
22071         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22072         Likewise.
22073         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22074         Likewise.
22075         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22076         volatile.
22077         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22078         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22079         math_narrow_eval.
22080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22081         Likewise.
22082         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22083         Likewise.
22085 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22087         * nptl/Versions: Remove ignored symbols.
22089 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22091         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22092         * nss/Makefile (tests): Update.
22094 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22096         * nss/bug18287.c: New file.
22097         * nss/Makefile (tests): Add bug18287.
22099 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22101         * mach/Versions (__mach_host_self_): Add symbol.
22103 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22105         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22106         vm_page_size.
22108 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22110         Really fix sysdeps/i386/fpu/s_scalbn.S build
22112         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22113         (libc: GLIBC_2_22): Remove unused version set.
22115 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22117         * config.make.in (enable-timezone-tools): New variable.
22118         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22119         (enable_timezone_tools): Export to generated files.
22120         * configure: Regenerate.
22121         * INSTALL: Regenerate.
22122         * manual/install.texi (--disable-timezone-tools): Document new flag.
22123         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22124         ifeq ($(enable-timezone-tools),yes) check.
22126 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22128         * timezone/Makefile: Revert previous change.
22130         [BZ #18980]
22131         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22132         (DEFINE_DBL_MIN): Likewise.
22133         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22134         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22135         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22136         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22137         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22138         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22139         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22140         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22141         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22142         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22143         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22144         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22145         (flt_min): Replace with use of DEFINE_FLT_MIN.
22146         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22147         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22148         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22149         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22150         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22151         (flt_min): Replace with use of DEFINE_FLT_MIN.
22152         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22153         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22154         (flt_min): Replace with use of DEFINE_FLT_MIN.
22155         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22156         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22157         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22158         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22159         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22160         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22161         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22162         (__ieee754_pow): Use DBL_NARROW_EVAL.
22163         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22164         (__ieee754_powf): Use FLT_NARROW_EVAL.
22165         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22166         (__ieee754_expf_sse2): Convert double-precision result to single
22167         precision.
22168         * sysdeps/i386/fpu/libm-test-ulps: Update.
22170 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22172         * timezone/Makefile: Ignore unused variable errors due to private.h
22173         (time_t_min) and (time_t_max).
22174         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22175         Likewise.
22177 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22179         [BZ #18981]
22180         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22181         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22182         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22183         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
22184         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
22185         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
22186         (__scalbn): Use DBL_NARROW_EVAL.
22187         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
22188         (__scalbnf): Use FLT_NARROW_EVAL.
22190 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22192         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
22193         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
22194         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
22195         * stdio-common/printf_fp.c (___printf_fp):
22196         Use signbit to get the sign. Use isinf macro to allow inlining.
22197         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22198         * stdio-common/printf_size.c (__printf_size): Likewise.
22200 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22202         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
22204 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22206         [BZ #18980]
22207         * sysdeps/generic/math_private.h: Include <float.h>.
22208         (math_narrow_eval): New macro.
22209         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
22210         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
22211         math_narrow_eval on overflowing return value.
22212         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
22213         Likewise.
22214         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22215         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
22216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
22217         Likewise.
22218         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22220 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22222         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
22223         * math/Makefile: Remove isinf_ns.c.
22224         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
22225         * math/multc3.c (__multc3): Likewise.
22226         * math/s_casin.c (__casin): Likewise.
22227         * math/s_casinf.c (__casinf): Likewise.
22228         * math/s_casinl.c (__casinl): Likewise.
22229         * math/s_cproj.c (__cproj): Likewise.
22230         * math/s_cprojf.c (__cprojf): Likewise.
22231         * math/s_cprojl.c (__cprofl): Likewise.
22232         * math/s_ctan.c (__ctan): Likewise.
22233         * math/s_ctanf.c (__ctanf): Likewise.
22234         * math/s_ctanh.c (__ctanh): Likewise.
22235         * math/s_ctanhf.c (__ctanhf): Likewise.
22236         * math/s_ctanhl.c (__ctanhl): Likewise.
22237         * math/s_ctanl.c (__ctanl): Likewise.
22238         * math/w_fmod.c (__fmod): Likewise.
22239         * math/w_fmodf.c (__fmodf): Likewise.
22240         * math/w_fmodl.c (_fmodl): Likewise.
22241         * math/w_remainder.c (__remainder): Likewise.
22242         * math/w_remainderf.c (__remainderf): Likewise.
22243         * math/w_remainderl.c (__remainderl): Likewise.
22244         * math/w_scalb.c (__scalb): Likewise.
22245         * math/w_scalbf.c (__scalbf): Likewise.
22246         * math/w_scalbl.c (__scalbl): Likewise.
22247         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
22248         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
22249         with isinf.
22250         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
22251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
22252         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
22253         __isinf_nsf with isinf.
22254         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
22255         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
22256         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
22257         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
22258         with isinf.
22259         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
22260         __isinf_nsl with isinf.
22261         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22262         with isinf.
22263         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22264         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22265         __isinf_nsl with isinf.
22266         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22267         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22268         with isinf.
22270 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22272         * resolv/base64.c (rcsid): Remove unused static.
22273         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22274         static.  (tqpi1): Likewise.
22275         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22276         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22277         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22278         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22279         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22280         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22281         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22282         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22283         Likewise.
22285 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22287         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22288         <nptl/pthreadP.h>.
22289         (_longjmp_unwind): Use __libc_ptf_call.
22290         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22292 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22294         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22295         * sysdeps/arm/__longjmp.S: Likewise.
22297 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22299         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22300         Use __builtin_signbit.
22301         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22302         Use __builtin_signbitf.
22303         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22304         Use __builtin_signbitl.
22305         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22306         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22308 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22310         [BZ #15367]
22311         [BZ #17441]
22313         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22314         * math/math.h (fpclassify): Use __builtin_fpclassify when
22315         available.  (signbit): Use __builtin_signbit(f/l).
22316         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22317         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22318         (isinf): Use __builtin_isinf_sign.
22320 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22322         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22323         * benchtests/bench-math-inlines.c: New benchmark.
22324         * benchtests/bench-util.h: New file.
22325         * benchtests/bench-util.c: New file.
22326         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22328 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22330         * elf/tst-dlmopen1.c: Define TEST_SO.
22331         (do_test): Use TEST_SO.
22333         * elf/dl-load.c: Include libc-internal.h.
22334         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22336 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22338         [BZ #17887]
22339         * time/strptime_l.c (__strptime_internal): Make %z accept
22340         [+-]HH:MM time zones.
22342 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22344         [BZ #17886]
22345         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22346         valid time zone.
22348 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22350         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22351         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22352         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22353         (__ASSUME_FDATASYNC): Delete.
22355 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22357         * conform/linknamespace.pl: Require weak undefined symbols to be
22358         in the standard namespace.
22359         (%strong_syms): Rename to %seen_syms.
22360         (%strong_seen): Rename to %seen_where.
22362 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22364         [BZ #18970]
22365         * misc/error.c (error): Replace pthread_setcancelstate with
22366         __pthread_setcancelstate.
22367         (error_at_line): Likewise.
22368         * posix/wordexp.c (parse_comm): Likewise.
22369         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22370         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22371         (__pthread_setcancelstate): This.
22372         (pthread_setcancelstate): Add an alias.
22373         * nptl/nptl-init.c (pthread_functions): Replace
22374         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22375         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22376         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22377         hidden_proto.
22378         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22379         it with hidden_def.
22380         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22381         (pthread_setcancelstate): Renamed to ...
22382         (__pthread_setcancelstate): This.
22383         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22384         __libc_ptf_call with __pthread_setcancelstate.
22386 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22387             Andreas Schwab  <schwab@suse.de>
22389         [BZ #17118]
22390         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22391         result when imaginary part of argument is infinite using sine and
22392         cosine.
22393         * math/s_ctanf.c (__ctanf): Likewise.
22394         * math/s_ctanl.c (__ctanl): Likewise.
22395         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22396         of result when real part of argument is infinite using sine and
22397         cosine.
22398         * math/s_ctanhf.c (__ctanhf): Likewise.
22399         * math/s_ctanhl.c (__ctanhl): Likewise.
22400         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22401         (ctanh_test_data): Add more tests of ctanh.
22403 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22405         [BZ #15384]
22406         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22407         bit-mask as in subtraction.
22408         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22409         Likewise.
22410         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22411         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22412         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22414         [BZ #18951]
22415         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22416         underflow exception for small results.
22417         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22418         Likewise.
22419         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22420         Likewise.
22421         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22422         Likewise.
22423         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22424         Likewise.
22425         * math/auto-libm-test-in: Add more tests of tgamma.
22426         * math/auto-libm-test-out: Regenerated.
22428 2015-09-17  Andreas Schwab  <schwab@suse.de>
22430         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22432 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22434         [BZ #18977]
22435         * math/bits/mathcalls.h
22436         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22437         not declare.
22438         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22439         Likewise.
22440         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22441         Likewise.
22442         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22443         Likewise.
22444         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22445         Likewise.
22446         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22447         Likewise.
22448         * conform/data/math.h-data
22449         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22450         function.
22451         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22452         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22453         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22454         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22455         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22456         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22457         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22458         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22459         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22460         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22461         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22463         [BZ #6803]
22464         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22465         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22466         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22467         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22468         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22469         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22470         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22471         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22472         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22473         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22474         Likewise.
22475         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22476         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22479         long_double_symbol calls.
22480         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22481         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22482         strong alias of __ldexpl.
22483         (scalbnl): Define using long_double_symbol.
22484         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22485         Remove alias.
22486         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22487         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22488         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22489         (scalbln_test_data): Add more errno expectations.
22491 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22493         Cache the host port like we cache the task port.  This way we do not
22494         need to call the kernel just to get the port.  Furthermore, we no
22495         longer increase the reference count on every invocation of
22496         `mach_host_self'.
22498         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22499         Protect declarations against the macro expansion.
22500         * mach/mach_init.c (__mach_host_self_): New variable.
22501         (mach_init): Initialize `__mach_host_self_'.
22502         * mach/mach_init.h (__mach_host_self_): New declaration.
22503         (__mach_host_self, mach_host_self): New macros.
22504         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22505         Release reference.
22507 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22509         [BZ #4404]
22510         * po/de.po: Update from Translation Project.
22512         [BZ #16415]
22513         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22514         (__expm1l): Remove code to handle positive infinity and overflow.
22515         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22516         variable.
22517         (__expm1l): Remove code to handle positive infinity and overflow.
22519 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22520             Paul Pluzhnikov  <ppluzhnikov@google.com>
22522         [BZ #18872]
22523         * stdio-common/Makefile (tst-printf-bz18872): New test.
22524         (tst-printf-bz18872-mem.out): Likewise.
22525         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22526         * stdio-common/vfprintf.c: Fix memory leaks.
22528 2015-09-16  Andreas Schwab  <schwab@suse.de>
22530         [BZ #17244]
22531         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22532         Remove extra va_start/va_end calls.
22534         [BZ #17243]
22535         * posix/execl.c (execl): Add missing va_end.
22536         * posix/execle.c (execle): Likewise.
22537         * posix/execlp.c (execlp): Likewise.
22539 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22541         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22542         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22544 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22546         [BZ #18967]
22547         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22548         undefine around includes of <bits/mathcalls.h>.
22549         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22550         not declare function.
22551         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22552         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22553         (scalb): Likewise.
22554         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22555         not define macro.
22556         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22557         variable.
22558         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22559         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22560         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22562         [BZ #18857]
22563         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22564         return non-finite argument without doing ordered comparisons on
22565         it.
22567         [BZ #16296]
22568         * math/fenv.h (fegetround): Use __attribute_pure__.
22569         * include/fenv.h (__fegetround): Likewise.
22571         [BZ #18595]
22572         * math/s_ctan.c (__ctan): Force underflow exception for results
22573         whose real or imaginary part has small absolute value.
22574         * math/s_ctanf.c (__ctanf): Likewise.
22575         * math/s_ctanh.c (__ctanh): Likewise.
22576         * math/s_ctanhf.c (__ctanhf): Likewise.
22577         * math/s_ctanhl.c (__ctanhl): Likewise.
22578         * math/s_ctanl.c (__ctanl): Likewise.
22579         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22580         and ctanh.  Add more tests of ctan and ctanh.
22582         [BZ #15918]
22583         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22584         handling of cases where one argument is an infinity.
22586         [BZ #18875]
22587         [BZ #18966]
22588         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22589         (MO): New macro.
22590         (__ieee754_exp10): For small results, force underflow exception
22591         and remove excess range and precision from return value.
22592         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22593         (MO): New macro.
22594         (__ieee754_exp10f): For small results, force underflow exception
22595         and remove excess range and precision from return value.
22596         * math/auto-libm-test-in: Add more tests of exp10.
22597         * math/auto-libm-test-out: Regenerated.
22599 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22601         [BZ #18875]
22602         [BZ #18961]
22603         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22604         (MO): New macro.
22605         (__ieee754_exp): For small results, force underflow exception and
22606         remove excess range and precision from return value.
22607         (__exp_finite): Likewise.
22608         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22609         (MO): New macro.
22610         (__ieee754_expf): For small results, force underflow exception and
22611         remove excess range and precision from return value.
22612         (__expf_finite): Likewise.
22613         * math/auto-libm-test-in: Add more tests of exp.
22614         * math/auto-libm-test-out: Regenerated.
22616         [BZ #16521]
22617         [BZ #18875]
22618         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22619         small results.
22620         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22621         (MO): New macro.
22622         (__ieee754_exp2): For small results, force underflow exception and
22623         remove excess range and precision from return value.
22624         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22625         (MO): New macro.
22626         (__ieee754_exp2f): For small results, force underflow exception
22627         and remove excess range and precision from return value.
22628         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22629         (MO): New macro.
22630         (__ieee754_exp2l): Force underflow exception for small results.
22631         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22632         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22633         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22634         (MO): New macro.
22635         (__ieee754_exp2l): Force underflow exception for small results.
22636         * math/auto-libm-test-in: Add more tests or exp2.
22637         * math/auto-libm-test-out: Regenerated.
22639 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22641         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22643         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22644         /dev/null.
22646 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22648         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22649         io fs process)): Drop spurious backslash.
22651 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22653         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22654         Use sysinfo system call instead of parsing /proc/meminfo.
22655         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22656         Likewise.
22658 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22660         [BZ #16985]
22661         * programs/localedef.c (main): Display argv[remaining] when
22662         output_path is NULL.
22664 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22666         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22667         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22668         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22669         tanh.
22670         * math/auto-libm-test-out: Regenerated.
22671         * sysdeps/i386/fpu/libm-test-ulps: Update.
22672         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22673         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22676 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22678         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22679         Use 'override' keyword to freeze the value here, preventing
22680         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22682 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22684         [BZ #14912]
22685         * sysdeps/aarch64/bits/atomic.h: Move to ...
22686         * sysdeps/aarch64/atomic-machine.h: ...here.
22687         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22688         _AARCH64_ATOMIC_MACHINE_H.
22689         * sysdeps/alpha/bits/atomic.h: Move to ...
22690         * sysdeps/alpha/atomic-machine.h: ...here.
22691         * sysdeps/arm/bits/atomic.h: Move to ...
22692         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22693         * bits/atomic.h: Move to ...
22694         * sysdeps/generic/atomic-machine.h: ...here.
22695         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22696         * sysdeps/i386/bits/atomic.h: Move to ...
22697         * sysdeps/i386/atomic-machine.h: ...here.
22698         * sysdeps/ia64/bits/atomic.h: Move to ...
22699         * sysdeps/ia64/atomic-machine.h: ...here.
22700         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22701         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22702         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22703         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22704         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22705         * sysdeps/microblaze/bits/atomic.h: Move to ...
22706         * sysdeps/microblaze/atomic-machine.h: ...here.
22707         * sysdeps/mips/bits/atomic.h: Move to ...
22708         * sysdeps/mips/atomic-machine.h: ...here.
22709         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22710         * sysdeps/powerpc/bits/atomic.h: Move to ...
22711         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22712         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22713         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22714         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22715         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22716         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22717         <atomic-machine.h> instead of <bits/atomic.h>.
22718         * sysdeps/s390/bits/atomic.h: Move to ...
22719         * sysdeps/s390/atomic-machine.h: ...here.
22720         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22721         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22722         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22723         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22724         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22725         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22726         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22727         * sysdeps/tile/bits/atomic.h: Move to ...
22728         * sysdeps/tile/atomic-machine.h: ...here.
22729         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22730         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22731         <sysdeps/tile/atomic-machine.h> instead of
22732         <sysdeps/tile/bits/atomic.h>.
22733         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22734         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22735         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22736         <sysdeps/tile/atomic-machine.h> instead of
22737         <sysdeps/tile/bits/atomic.h>.
22738         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22739         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22740         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22741         <sysdeps/arm/atomic-machine.h> instead of
22742         <sysdeps/arm/bits/atomic.h>.
22743         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22744         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22745         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22746         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22747         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22748         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22749         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22750         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22751         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22752         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22753         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22754         * sysdeps/x86_64/bits/atomic.h: Move to ...
22755         * sysdeps/x86_64/atomic-machine.h: ...here.
22756         * include/atomic.h: Include <atomic-machine.h> instead of
22757         <bits/atomic.h>.
22759         * sysdeps/mips/mips32/libm-test-ulps: Update.
22760         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22762         [BZ #18952]
22763         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22764         not convert non-integer negative arguments to int to determine the
22765         value of signgam.
22766         * math/auto-libm-test-in: Add more tests of lgamma.
22767         * math/auto-libm-test-out: Regenerated.
22769         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22770         cosh, csqrt, erfc, expm1 and lgamma.
22771         * math/auto-libm-test-out: Regenerated.
22772         * sysdeps/i386/fpu/libm-test-ulps: Update.
22773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22775 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22777         [BZ #2542]
22778         [BZ #2543]
22779         [BZ #2558]
22780         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22781         __lgamma_neg for arguments from -28.0 to -2.0.
22782         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22783         __lgamma_negf for arguments from -15.0 to -2.0.
22784         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22785         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22786         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22787         Call __lgamma_negl for arguments from -33.0 to -2.0.
22788         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22789         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22790         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22791         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22792         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22793         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22794         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22795         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22796         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22797         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22798         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22799         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22800         (__lgamma_neg): Likewise.
22801         (__lgamma_negl): Likewise.
22802         (__lgamma_product): Likewise.
22803         (__lgamma_productl): Likewise.
22804         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22805         * math/auto-libm-test-in: Add more tests of lgamma.
22806         * math/auto-libm-test-out: Regenerated.
22807         * sysdeps/i386/fpu/libm-test-ulps: Update.
22808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22810 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22812         [BZ #18675]
22813         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22815 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22817         [BZ #14912]
22818         * bits/libc-lock.h: Move to ...
22819         * sysdeps/generic/libc-lock.h: ...here.
22820         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22821         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22822         * sysdeps/mach/hurd/libc-lock.h: ...here.
22823         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22824         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22825         * sysdeps/mach/bits/libc-lock.h: Move to ...
22826         * sysdeps/mach/libc-lock.h: ...here.
22827         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22828         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22829         * sysdeps/nptl/libc-lock.h: ...here.
22830         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22831         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22832         * sysdeps/nptl/libc-lockP.h: ...here.
22833         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22834         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22835         <bits/libc-lock.h>.
22836         * dirent/scandir-tail.c: Likewise.
22837         * dlfcn/dlerror.c: Likewise.
22838         * elf/dl-close.c: Likewise.
22839         * elf/dl-iteratephdr.c: Likewise.
22840         * elf/dl-lookup.c: Likewise.
22841         * elf/dl-open.c: Likewise.
22842         * elf/dl-support.c: Likewise.
22843         * elf/dl-writev.h: Likewise.
22844         * elf/rtld.c: Likewise.
22845         * grp/fgetgrent.c: Likewise.
22846         * gshadow/fgetsgent.c: Likewise.
22847         * gshadow/sgetsgent.c: Likewise.
22848         * iconv/gconv_conf.c: Likewise.
22849         * iconv/gconv_db.c: Likewise.
22850         * iconv/gconv_dl.c: Likewise.
22851         * iconv/gconv_int.h: Likewise.
22852         * iconv/gconv_trans.c: Likewise.
22853         * include/link.h: Likewise.
22854         * inet/getnameinfo.c: Likewise.
22855         * inet/getnetgrent.c: Likewise.
22856         * inet/getnetgrent_r.c: Likewise.
22857         * intl/bindtextdom.c: Likewise.
22858         * intl/dcigettext.c: Likewise.
22859         * intl/finddomain.c: Likewise.
22860         * intl/gettextP.h: Likewise.
22861         * intl/loadmsgcat.c: Likewise.
22862         * intl/localealias.c: Likewise.
22863         * intl/textdomain.c: Likewise.
22864         * libidn/idn-stub.c: Likewise.
22865         * libio/libioP.h: Likewise.
22866         * locale/duplocale.c: Likewise.
22867         * locale/freelocale.c: Likewise.
22868         * locale/newlocale.c: Likewise.
22869         * locale/setlocale.c: Likewise.
22870         * login/getutent_r.c: Likewise.
22871         * login/getutid_r.c: Likewise.
22872         * login/getutline_r.c: Likewise.
22873         * login/utmp-private.h: Likewise.
22874         * login/utmpname.c: Likewise.
22875         * malloc/mtrace.c: Likewise.
22876         * misc/efgcvt.c: Likewise.
22877         * misc/error.c: Likewise.
22878         * misc/fstab.c: Likewise.
22879         * misc/getpass.c: Likewise.
22880         * misc/mntent.c: Likewise.
22881         * misc/syslog.c: Likewise.
22882         * nis/nis_call.c: Likewise.
22883         * nis/nis_callback.c: Likewise.
22884         * nis/nss-default.c: Likewise.
22885         * nis/nss_compat/compat-grp.c: Likewise.
22886         * nis/nss_compat/compat-initgroups.c: Likewise.
22887         * nis/nss_compat/compat-pwd.c: Likewise.
22888         * nis/nss_compat/compat-spwd.c: Likewise.
22889         * nis/nss_nis/nis-alias.c: Likewise.
22890         * nis/nss_nis/nis-ethers.c: Likewise.
22891         * nis/nss_nis/nis-grp.c: Likewise.
22892         * nis/nss_nis/nis-hosts.c: Likewise.
22893         * nis/nss_nis/nis-network.c: Likewise.
22894         * nis/nss_nis/nis-proto.c: Likewise.
22895         * nis/nss_nis/nis-pwd.c: Likewise.
22896         * nis/nss_nis/nis-rpc.c: Likewise.
22897         * nis/nss_nis/nis-service.c: Likewise.
22898         * nis/nss_nis/nis-spwd.c: Likewise.
22899         * nis/nss_nisplus/nisplus-alias.c: Likewise.
22900         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
22901         * nis/nss_nisplus/nisplus-grp.c: Likewise.
22902         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
22903         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
22904         * nis/nss_nisplus/nisplus-network.c: Likewise.
22905         * nis/nss_nisplus/nisplus-proto.c: Likewise.
22906         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
22907         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
22908         * nis/nss_nisplus/nisplus-service.c: Likewise.
22909         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
22910         * nis/ypclnt.c: Likewise.
22911         * nptl/libc_pthread_init.c: Likewise.
22912         * nss/getXXbyYY.c: Likewise.
22913         * nss/getXXent.c: Likewise.
22914         * nss/getXXent_r.c: Likewise.
22915         * nss/nss_db/db-XXX.c: Likewise.
22916         * nss/nss_db/db-netgrp.c: Likewise.
22917         * nss/nss_db/nss_db.h: Likewise.
22918         * nss/nss_files/files-XXX.c: Likewise.
22919         * nss/nss_files/files-alias.c: Likewise.
22920         * nss/nsswitch.c: Likewise.
22921         * posix/regex_internal.h: Likewise.
22922         * posix/wordexp.c: Likewise.
22923         * pwd/fgetpwent.c: Likewise.
22924         * resolv/res_hconf.c: Likewise.
22925         * resolv/res_libc.c: Likewise.
22926         * shadow/fgetspent.c: Likewise.
22927         * shadow/lckpwdf.c: Likewise.
22928         * shadow/sgetspent.c: Likewise.
22929         * socket/opensock.c: Likewise.
22930         * stdio-common/reg-modifier.c: Likewise.
22931         * stdio-common/reg-printf.c: Likewise.
22932         * stdio-common/reg-type.c: Likewise.
22933         * stdio-common/vfprintf.c: Likewise.
22934         * stdio-common/vfscanf.c: Likewise.
22935         * stdlib/abort.c: Likewise.
22936         * stdlib/cxa_atexit.c: Likewise.
22937         * stdlib/fmtmsg.c: Likewise.
22938         * stdlib/random.c: Likewise.
22939         * stdlib/setenv.c: Likewise.
22940         * string/strsignal.c: Likewise.
22941         * sunrpc/auth_none.c: Likewise.
22942         * sunrpc/bindrsvprt.c: Likewise.
22943         * sunrpc/create_xid.c: Likewise.
22944         * sunrpc/key_call.c: Likewise.
22945         * sunrpc/rpc_thread.c: Likewise.
22946         * sysdeps/arm/backtrace.c: Likewise.
22947         * sysdeps/generic/ldsodefs.h: Likewise.
22948         * sysdeps/generic/stdio-lock.h: Likewise.
22949         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
22950         * sysdeps/i386/backtrace.c: Likewise.
22951         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22952         * sysdeps/m68k/backtrace.c: Likewise.
22953         * sysdeps/mach/hurd/cthreads.c: Likewise.
22954         * sysdeps/mach/hurd/dirstream.h: Likewise.
22955         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22956         * sysdeps/nptl/malloc-machine.h: Likewise.
22957         * sysdeps/nptl/stdio-lock.h: Likewise.
22958         * sysdeps/posix/dirstream.h: Likewise.
22959         * sysdeps/posix/getaddrinfo.c: Likewise.
22960         * sysdeps/posix/system.c: Likewise.
22961         * sysdeps/pthread/aio_suspend.c: Likewise.
22962         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22963         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22965         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22966         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
22967         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
22968         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
22969         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22970         * sysdeps/unix/sysv/linux/system.c: Likewise.
22971         * sysdeps/x86_64/backtrace.c: Likewise.
22972         * time/alt_digit.c: Likewise.
22973         * time/era.c: Likewise.
22974         * time/tzset.c: Likewise.
22975         * wcsmbs/wcsmbsload.c: Likewise.
22976         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
22977         instead of <bits/libc-lock.h> in comment.
22979 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
22981         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
22982         Only use .set mips2 if the current ISA is below mips2.
22983         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
22984         Likewise.
22985         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
22986         mips32r2 if the current ISA is below mips32r2.
22987         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
22988         (TLS_IE): Updated to use the TLD_RDHWR macro.
22989         (TLS_LE): Likewise.
22990         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
22991         __ASSEMBLER__ condition.
22993 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22995         Fix parallel build of before-compile targets.
22997         * sysdeps/mach/Makefile ($(patsubst
22998         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
22999         mach-before-compile target.
23000         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23001         io fs process)): Move rule to dedicated hurd-before-compile target.
23003 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23005         Fix rules generating headers in hurd/ and mach/ when initial make call
23006         has subdir= explicitly set.
23008         * sysdeps/mach/Makefile ($(patsubst
23009         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23010         calling $(MAKE).
23011         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23012         io fs process)): Force subdir to hurd when calling $(MAKE).
23013         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23014         subdir to mach when calling $(MAKE).
23016 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23018         Check sysheaders when looking for Mach and Hurd headers
23020         * sysdeps/mach/configure.ac: Add sysheaders check.
23021         * sysdeps/mach/configure: Regenerate.
23022         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23023         * sysdeps/mach/hurd/configure: Regenerate.
23025 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23027         [BZ #18921]
23028         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23029         Fix inverted sense of test of 'o_directory_works' value.
23030         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23031         Bernhard Voelker <mail@bernhard-voelker.de>.
23033 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23035         [BZ #14912]
23036         * bits/linkmap.h: Move to ...
23037         * sysdeps/generic/linkmap.h: ...here.
23038         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23039         * sysdeps/aarch64/linkmap.h: ...here.
23040         * sysdeps/arm/bits/linkmap.h: Move to ...
23041         * sysdeps/arm/linkmap.h: ...here.
23042         * sysdeps/hppa/bits/linkmap.h: Move to ...
23043         * sysdeps/hppa/linkmap.h: ...here.
23044         * sysdeps/ia64/bits/linkmap.h: Move to ...
23045         * sysdeps/ia64/linkmap.h: ...here.
23046         * sysdeps/mips/bits/linkmap.h: Move to ...
23047         * sysdeps/mips/linkmap.h: ...here.
23048         * sysdeps/s390/bits/linkmap.h: Move to ...
23049         * sysdeps/s390/linkmap.h: ...here.
23050         * sysdeps/sh/bits/linkmap.h: Move to ...
23051         * sysdeps/sh/linkmap.h: ...here.
23052         * sysdeps/x86/bits/linkmap.h: Move to ...
23053         * sysdeps/x86/linkmap.h: ...here.
23054         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23056 2015-09-04  Andreas Schwab  <schwab@suse.de>
23058         [BZ #18635]
23059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23060         (__makecontext): Terminate FDE before return label.
23061         (__novec_makecontext): Likewise.
23063 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23065         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23066         first member of struct sv in syscall macro.
23068 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23070         [BZ #14912]
23071         * bits/stdio-lock.h: Move to ...
23072         * sysdeps/generic/stdio-lock.h: ...here.
23073         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23074         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23075         * sysdeps/nptl/stdio-lock.h: ...here.
23076         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23077         * include/libio.h: Include <stdio-lock.h> instead of
23078         <bits/stdio-lock.h>.
23079         * sysdeps/nptl/fork.c: Likewise.
23080         * sysdeps/pthread/flockfile.c: Likewise.
23081         * sysdeps/pthread/ftrylockfile.c: Likewise.
23082         * sysdeps/pthread/funlockfile.c: Likewise.
23084         [BZ #14912]
23085         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23086         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23087         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23088         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23089         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23090         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23091         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23093 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23095         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23096         (test-xfail-tst-protected1b): New variable.
23098 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23100         [BZ #14912]
23101         * bits/libc-tsd.h: Move to ...
23102         * sysdeps/generic/libc-tsd.h: ...here.
23103         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23104         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23105         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23106         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23107         * include/ctype.h: Include <libc-tsd.h> instead of
23108         <bits/libc-tsd.h>.
23109         * include/rpc/rpc.h: Likewise.
23110         * locale/localeinfo.h: Likewise.
23111         * sunrpc/rpc_thread.c: Likewise.
23112         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23113         * sysdeps/nptl/malloc-machine.h: Likewise.
23115         * Makefile (headers): Remove bits/libc-lock.h.
23116         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23118         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23119         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23120         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23121         <bits/stdio-lock.h>.
23122         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23123         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23125 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23127         [BZ #18757]
23128         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23129         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23130         BZ #18757.
23132 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23134         * malloc/mtrace.pl: Filter out NULL entries.
23136 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23138         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23139         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23140         macro.
23142         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23143         (TCP_CC_INFO): Likewise.
23144         (TCP_SAVE_SYN): Likewise.
23145         (TCP_SAVED_SYN): Likewise.
23147 2015-08-31  Brett Neumeier <brett@neumeier.us>
23149         [BZ #18870]
23150         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23152 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23154         [BZ #18873]
23155         Fix broken overflow check in posix_fallocate
23156         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23157         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23158         Fix parenthesization typo.
23160 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23162         [BZ #18887]
23163         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23164         tst-mntent-blank-passno.
23165         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23166         * misc/tst-mntent-blank-corrupt.c: New test.
23167         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23168         * misc/tst-mntent.c (do_test): ... here.
23170 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23172         [BZ #4404]
23173         * po/de.po: Fix SIGALRM typo.
23175 2015-08-28  James Perkins  <james@loowit.net>
23177         * time/tst-strptime2.c (tests): Replace short list of test
23178         strings for strptime %z specifier with code which exhaustively
23179         tests every combination of sign and 0 to 5 digits. Tests for
23180         rejection of invalid strings.
23182 2015-08-28  James Perkins  <james@loowit.net>
23184         [BZ #16141]
23185         * time/strptime_l.c (__strptime_internal): Fix %z minutes
23186         calculation, removing incorrect decimal time rounding, so that
23187         all minute values result in a valid seconds value.
23188         * time/strptime_l.c (__strptime_internal): Extend %z time zone
23189         offset range limits to UTC-99:59 through UTC+99:59 to parse
23190         current and historical use cases.
23191         * time/tst-strptime2.c (tests): Modify and add tests for the
23192         strptime %z input field descriptor, specifically conversion of
23193         minutes to seconds and validating an offset range of -9959 to
23194         +9959.
23196 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23197             Dmitry V. Levin  <ldv@altlinux.org>
23199         [BZ #18877]
23200         * posix/Makefile (tests): Add tst-mmap-offset.
23201         * posix/tst-mmap.c: New file.
23202         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
23203         offset calculation for negative values.
23205 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23207         * sysdeps/i386/init-arch.h: New file.
23208         * sysdeps/i386/i586/init-arch.h: Likewise.
23209         * sysdeps/i386/i686/init-arch.h: Likewise.
23210         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
23211         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
23212         * sysdeps/x86/cpu-features.h (bit_I586): New.
23213         (bit_I686): Likewise.
23214         (bit_CX8): Likewise.
23215         (bit_CMOV): Likewise.
23216         (index_CX8): Likewise.
23217         (index_CMOV): Likewise.
23218         (index_I586): Likewise.
23219         (index_I686): Likewise.
23220         (reg_CX8): Likewise.
23221         (reg_CMOV): Likewise.
23222         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
23223         available at compile-time.
23224         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
23225         available at compile-time.
23226         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23227         (USE_I686): Likewise.
23229 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23231         * sysdeps/i386/bcopy.S: New file.
23232         * sysdeps/i386/bzero.S: Likewise.
23233         * sysdeps/i386/memcpy.S: Likewise.
23234         * sysdeps/i386/memmove.S: Likewise.
23235         * sysdeps/i386/mempcpy.S: Likewise.
23236         * sysdeps/i386/memset.S: Likewise.
23237         * sysdeps/i386/bzero.c: Removed.
23238         * sysdeps/i386/memset.c: Likewise.
23239         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
23240         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
23241         * sysdeps/i386/i586/memset_chk.S: Likewise.
23242         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
23243         * sysdeps/i386/memcpy_chk.S: Here.
23244         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
23245         * sysdeps/i386/memmove_chk.S: Here.
23246         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
23247         * sysdeps/i386/mempcpy_chk.S: Likewise.
23248         * sysdeps/i386/i686/memset_chk.S: Moved to ...
23249         * sysdeps/i386/memset_chk.S: Likewise.
23251 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
23253         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
23254         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
23255         file, move DIAG_POP_NEEDS_COMMENT to end of file.
23256         * soft-fp/fmadf4.c: Ditto.
23257         * soft-fp/fmatf4.c: Ditto.
23259 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23261         * sysdeps/i386/i586/Implies: Removed.
23262         * sysdeps/i386/i686/Implies: Likewise.
23264 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23266         * sysdeps/i386/i486/strlen.S: Moved to ...
23267         * sysdeps/i386/strlen.S: Here.
23269 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23271         * sysdeps/i386/i486/strcat.S: Moved to ...
23272         * sysdeps/i386/strcat.S: Here.
23274 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23276         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23277         * sysdeps/i386/pthread_spin_trylock.S: Here.
23278         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23279         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23281 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23283         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23284         * sysdeps/i386/string-inlines.c: Here.
23286 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23288         * sysdeps/i386/i486/htonl.S: Moved ...
23289         * sysdeps/i386/htonl.S: here.
23291 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23293         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23294         * sysdeps/i386/bits/atomic.h: Here.
23296 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23298         * sysdeps/i386/i486/Versions: Removed.
23300 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23302         [BZ #2898]
23303         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23304         Based on patch by Aurelien Jarno.
23306 2015-08-26  Stan Shebs  <stanshebs@google.com>
23308         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23309         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23311 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23313         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23314         * sysdeps/powerpc/dl-procinfo.c:
23315         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23316         feature so it shows when LD_SHOW_AUXV=1.
23318 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23320         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23321         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23322         definition.  ISA 2.07B no longer requires full sync.
23324 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23326         [BZ #18863]
23327         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23328         (si_call_addr): Define.
23329         (si_syscall): Define.
23330         (si_arch): Define.
23332 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23334         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23335         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23336         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23337         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23338         (__memset_zero_constant_len_parameter): New.
23339         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23340         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23341         (__memset_zero_constant_len_parameter): Don't define if
23342         __memset_chk or USE_AS_BZERO are defined.
23344         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23345         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23346         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23348         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23349         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23350         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23351         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23352         comments.
23353         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23354         -mno-mmx for $(all-rtld-routines).
23355         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23356         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23357         i386.
23359 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23361         * sysdeps/generic/unwind.h
23362         (_Unwind_Word): Use __mode__(__unwind_word__)
23363         instead of __mode__(__word__).
23364         (_Unwind_Sword): Likewise.
23366         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23367         (MAX_NEEDED_INPUT): New define.
23368         (MAX_NEEDED_OUTPUT): New define.
23370         * NEWS: New item for IBM z13 string optimizations.
23372         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23373         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23374         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23375         * sysdeps/s390/multiarch/Makefile
23376         (sysdep_routines): Add memrchr functions.
23377         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23378         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23380         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23381         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23382         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23383         * sysdeps/s390/multiarch/Makefile
23384         (sysdep_routines): Add wmemcmp functions.
23385         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23386         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23387         * benchtests/bench-wmemcmp.c: New File.
23388         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23390         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23391         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23392         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23393         * sysdeps/s390/multiarch/Makefile
23394         (sysdep_routines): Add wmemset functions.
23395         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23396         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23397         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23398         * string/test-memset.c: Add wmemset support.
23399         * wcsmbs/test-wmemset.c: New File.
23400         * wcsmbs/Makefile (strop-tests): Add wmemset.
23401         * benchtests/bench-memset.c: Add wmemset support.
23402         * benchtests/bench-wmemset.c: New File.
23403         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23405         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23406         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23407         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23408         * sysdeps/s390/multiarch/Makefile
23409         (sysdep_routines): Add memccpy functions.
23410         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23411         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23412         * string/memccpy.c: Use MEMCCPY if defined.
23414         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23415         * sysdeps/s390/multiarch/memchr.c: Likewise.
23416         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23417         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23418         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23419         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23420         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23421         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23422         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23423         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23424         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23425         and rawmemchr functions.
23426         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23427         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23428         and wmemchr.
23429         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23430         * string/test-memchr.c: Add wmemchr support.
23431         * wcsmbs/test-wmemchr.c: New File.
23432         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23433         * benchtests/bench-memchr.c: Add wmemchr support.
23434         * benchtests/bench-wmemchr.c: New File.
23435         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23437         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23438         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23439         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23440         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23441         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23442         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23443         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23444         wcscspn functions.
23445         * sysdeps/s390/multiarch/ifunc-impl-list.c
23446         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23447         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23448         * string/test-strcspn.c: Add wcscspn support.
23449         * wcsmbs/test-wcscspn.c: New File.
23450         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23451         * benchtests/bench-strcspn.c: Add wcscspn support.
23452         * benchtests/bench-wcscspn.c: New File.
23453         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23455         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23456         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23457         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23458         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23459         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23460         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23461         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23462         wcspbrk functions.
23463         * sysdeps/s390/multiarch/ifunc-impl-list.c
23464         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23465         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23466         * string/test-strpbrk.c: Add wcspbrk support.
23467         * wcsmbs/test-wcspbrk.c: New File.
23468         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23469         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23470         * benchtests/bench-wcspbrk.c: New File.
23471         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23473         * sysdeps/s390/multiarch/strspn-c.c: New File.
23474         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23475         * sysdeps/s390/multiarch/strspn.c: Likewise.
23476         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23477         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23478         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23479         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23480         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23481         wcsspn functions.
23482         * sysdeps/s390/multiarch/ifunc-impl-list.c
23483         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23484         * string/test-strspn.c: Add wcsspn support.
23485         * wcsmbs/test-wcsspn.c: New File.
23486         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23487         * benchtests/bench-strspn.c: Add wcsspn support.
23488         * benchtests/bench-wcsspn.c: New File.
23489         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23491         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23492         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23493         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23494         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23495         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23496         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23497         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23498         wcsrchr functions.
23499         * sysdeps/s390/multiarch/ifunc-impl-list.c
23500         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23501         * benchtests/bench-wcsrchr.c: New File.
23502         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23504         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23505         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23506         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23507         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23508         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23509         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23510         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23511         wcschrnul functions.
23512         * sysdeps/s390/multiarch/ifunc-impl-list.c
23513         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23514         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23515         * string/test-strchr.c: Add wcschrnul support.
23516         * wcsmbs/test-wcschrnul.c: New File.
23517         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23518         * benchtests/bench-strchr.c: Add wcschrnul support.
23519         * benchtests/bench-wcschrnul.c: New File.
23520         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23522         * sysdeps/s390/multiarch/strchr-c.c: New File.
23523         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23524         * sysdeps/s390/multiarch/strchr.c: Likewise.
23525         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23526         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23527         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23528         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23529         wcschr functions.
23530         * sysdeps/s390/multiarch/ifunc-impl-list.c
23531         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23532         * string/strchr.c (STRCHR): Define and use macro.
23533         * benchtests/bench-wcschr.c: New File.
23534         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23536         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23537         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23538         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23539         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23540         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23541         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23542         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23543         wcsncmp functions.
23544         * sysdeps/s390/multiarch/ifunc-impl-list.c
23545         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23546         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23547         * benchtests/bench-strncmp.c: Add wcsncmp support.
23548         * benchtests/bench-wcsncmp.c: New File.
23549         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23551         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23552         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23553         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23554         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23555         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23556         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23557         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23558         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23559         wcscmp functions.
23560         * sysdeps/s390/multiarch/ifunc-impl-list.c
23561         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23562         * string/strcmp.c (STRCMP): Define and use macro.
23563         * benchtests/bench-wcscmp.c: New File.
23564         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23565         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23566         instead of _HAVE_STRING_ARCH_memchr.
23568         * sysdeps/s390/multiarch/strncat-c.c: New File.
23569         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23570         * sysdeps/s390/multiarch/strncat.c: Likewise.
23571         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23572         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23573         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23574         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23575         wcsncat functions.
23576         * sysdeps/s390/multiarch/ifunc-impl-list.c
23577         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23578         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23579         * string/test-strncat.c: Add wcsncat support.
23580         * wcsmbs/test-wcsncat.c: New File.
23581         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23582         * benchtests/bench-strncat.c: Add wcsncat support.
23583         * benchtests/bench-wcsncat.c: New File.
23584         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23586         * sysdeps/s390/multiarch/strcat-c.c: New File.
23587         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23588         * sysdeps/s390/multiarch/strcat.c: Likewise.
23589         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23590         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23591         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23592         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23593         wcscat functions.
23594         * sysdeps/s390/multiarch/ifunc-impl-list.c
23595         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23596         * string/strcat.c (STRCAT): Define and use macro.
23597         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23598         * string/test-strcat.c: Add wcscat support.
23599         * wcsmbs/test-wcscat.c: New File.
23600         * wcsmbs/Makefile (strop-tests): Add wcscat.
23601         * benchtests/bench-strcat.c: Add wcscat support.
23602         * benchtests/bench-wcscat.c: New File.
23603         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23605         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23606         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23607         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23608         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23609         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23610         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23611         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23612         wcpncpy functions.
23613         * sysdeps/s390/multiarch/ifunc-impl-list.c
23614         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23615         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23616         * string/test-stpncpy.c: Add wcpncpy support.
23617         * wcsmbs/test-wcpncpy.c: New File.
23618         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23619         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23620         * benchtests/bench-wcpncpy.c: New File.
23621         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23623         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23624         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23625         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23626         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23627         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23628         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23629         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23630         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23631         wcsncpy functions.
23632         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23633         * sysdeps/s390/multiarch/ifunc-impl-list.c
23634         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23635         * string/test-strncpy.c: Add wcsncpy support.
23636         * wcsmbs/test-wcsncpy.c: New File.
23637         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23638         * benchtests/bench-strncpy.c: Add wcsncpy support.
23639         * benchtests/bench-wcsncpy.c: New File.
23640         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23642         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23643         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23644         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23645         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23646         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23647         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23648         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23649         wcpcpy functions.
23650         * string/stpcpy.c: Use STPCPY if defined.
23651         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23652         * sysdeps/s390/multiarch/ifunc-impl-list.c
23653         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23654         * string/test-stpcpy.c: Add wcpcpy support.
23655         * wcsmbs/test-wcpcpy.c: New File.
23656         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23657         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23658         * benchtests/bench-wcpcpy.c: New File.
23659         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23661         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23662         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23663         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23664         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23665         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23666         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23667         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23668         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23669         wcscpy functions.
23670         * sysdeps/s390/multiarch/ifunc-impl-list.c
23671         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23672         * benchtests/bench-wcscpy.c: New File.
23673         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23675         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23676         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23677         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23678         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23679         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23680         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23681         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23682         wcsnlen functions.
23683         * sysdeps/s390/multiarch/ifunc-impl-list.c
23684         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23685         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23686         * string/test-strnlen.c: Add wcsnlen support.
23687         * wcsmbs/test-wcsnlen.c: New File.
23688         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23689         * benchtests/bench-strnlen.c: Add wcsnlen support.
23690         * benchtests/bench-wcsnlen.c: New File.
23691         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23693         * sysdeps/s390/multiarch/Makefile: New File.
23694         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23695         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23696         * sysdeps/s390/multiarch/strlen.c: Likewise.
23697         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23698         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23699         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23700         * string/strlen.c (STRLEN): Define and use macro.
23701         * sysdeps/s390/multiarch/ifunc-impl-list.c
23702         (IFUNC_VX_IMPL): New macro function.
23703         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23704         * benchtests/Makefile (wcsmbs-bench): New variable.
23705         (string-bench-all): Added wcsmbs-bench.
23706         * benchtests/bench-wcslen.c: New File.
23708         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23709         s390_vx_libc_ifunc2): New macro function.
23711         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23712         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23713         assembler support.
23714         * sysdeps/s390/configure: Regenerated.
23716         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23717         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23719         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23720         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23721         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23723         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23724         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23725         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23726         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23727         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23728         (memcmp, bcmp): Use __memcmp_default as alias source.
23729         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23730         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23731         Rename to __memcmp_default.
23732         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23733         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23734         (memcpy): Use __memcpy_default as alias source.
23735         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23736         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23737         Rename to __memcpy_default.
23738         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23739         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23740         (memset): Use __memset_default as alias source.
23741         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23742         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23743         Rename to __memset_default.
23744         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23745         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23746         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23747         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23748         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23749         (memcmp, bcmp): Use __memcmp_default as alias source.
23750         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23751         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23752         Rename to __memcmp_default.
23753         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23754         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23755         (memcpy): Use __memcpy_default as alias source.
23756         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23757         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23758         Rename to __memcpy_default.
23759         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23760         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23761         (memset): Use __memset_default as alias source.
23762         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23763         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23764         Rename to __memset_default.
23765         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23766         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23768         [BZ #18610]
23769         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23770         __ieee_instruction_pointer to __unused.
23771         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23772         __ieee_instruction_pointer.
23773         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23774         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23775         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23776         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23777         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23778         Mark dxc-field as reserved.
23780 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23782         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23783         if the weak reference is not null.
23785 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23787         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23789         [BZ #11214]
23790         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23792 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23794         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23795         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23796         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23797         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23798         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23799         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23800         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23801         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23802         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23803         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23804         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23805         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23806         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23807         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23808         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23809         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23810         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23811         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23813 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23815         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23816         register other than r0 for tabort, it has special meaning.
23817         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23818         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23819         transaction before starting syscall.
23821 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23823         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23825 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23827         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23829         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23830         * sysdeps/x86_64/rtld-memset.S: Likewise.
23831         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23832         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23833         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23834         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23836         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23838 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23840         * debug/strcpy_chk.c: Improve performance.
23841         * debug/stpcpy_chk.c: Likewise.
23842         * sysdeps/x86_64/strcpy_chk.S: Remove.
23843         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23845         [BZ #18240]
23846         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23848 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23850         [BZ #15128]
23851         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23852         ifuncmain8.
23853         (modules-names): Add ifuncmod8.
23854         ($(objpfx)ifuncmain8): New rule.
23855         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23856         <cpuid.h>.
23857         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23858         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23859         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23860         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23861         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23862         * sysdeps/x86_64/dl-trampoline.h: Likewise.
23863         * sysdeps/x86_64/ifuncmain8.c: New file.
23864         * sysdeps/x86_64/ifuncmod8.c: Likewise.
23865         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23866         Removed.
23867         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23868         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23869         Change rtld_savespace_sse to __glibc_unused2.
23870         (RTLD_CHECK_FOREIGN_CALL): Removed.
23871         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23872         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
23873         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
23875 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23877         * sysdeps/aarch64/bzero.S (__bzero): Remove.
23879 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23881         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
23882         Unconditionally set __fpcr to avoid uninialized warning.
23883         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
23885 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23887         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
23888         is corrupt.
23890         * malloc/arena.c (arena_get2): Drop unused argument.
23891         (arena_lock): Adjust.
23892         (arena_get_retry): Likewise.
23894 2015-08-24  Andreas Schwab  <schwab@suse.de>
23896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23897         Don't define.
23898         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23899         (__ASSUME_IPC64): Don't undef.
23900         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
23901         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23902         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23903         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
23904         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
23905         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
23906         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
23907         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
23908         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
23909         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
23910         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
23911         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
23912         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
23913         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
23914         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
23915         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
23916         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
23917         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
23918         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
23919         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
23920         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
23922 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
23924         * manual/Makefile (install): Only build manual when perl is available.
23926 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23928         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
23929         '#undef memcpy' by '#undef memchr'.
23931 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23933         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
23934         memchr not point to the internal __GI_memchr implementation.
23936 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23938         * timezone/Makefile (CFLAGS-zdump.c): Remove
23939         -Wno-strict-prototypes.
23940         (CFLAGS-zic.c): Likewise.
23941         (CFLAGS-ialloc.c): Likewise.
23942         (CFLAGS-scheck.c): Likewise.
23944         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
23945         -Wno-error=undef.
23947 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23949         * i386/i686/multiarch/strcasestr-c.c: Removed.
23950         * x86_64/multiarch/strcasestr.c: Likewise.
23951         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23952         Remove strcasestr.
23954 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23956         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
23958         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
23959         variables for high and low parts before possibly modifying them.
23961 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23963         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
23964         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
23965         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
23966         of "multiarch/init-arch.h".
23967         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
23968         * sysdeps/x86/init-arch.h: This.
23970 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23972         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
23973         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
23975 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
23977         [BZ #17787]
23978         * manual/macros.texi: Add twoexp macro.
23979         * manual/filesys.texi: Fix exponents.
23980         * manual/llio.texi: Likewise.
23981         * manual/stdio.texi: Likewise.
23983 2015-08-20  Florian Weimer  <fweimer@redhat.com>
23985         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
23986         incorrect use.
23988 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23990         [BZ #18370]
23991         * math/s_csqrt.c (__csqrt): Force underflow exception for results
23992         whose real or imaginary part has small absolute value.
23993         * math/s_csqrtf.c (__csqrtf): Likewise.
23994         * math/s_csqrtl.c (__csqrtl): Likewise.
23995         * math/auto-libm-test-in: Add more tests of csqrt.
23996         * math/auto-libm-test-out: Regenerated.
23997         * sysdeps/i386/fpu/libm-test-ulps: Update.
23999 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24001         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24002         __ppc_set_ppr_very_low): New functions.
24003         * manual/platform.texi: Add documentation about
24004         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24006 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24008         * string/stpncpy.c (stpncpy): Improve performance using
24009         __strnlen/memcpy/memset.
24011 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24013         [BZ #18796]
24014         * scripts/test-installation.pl: Don't add -lmvec to build options if
24015         libmvec wasn't built.
24017 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24019         [BZ #14341]
24020         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24021         case when there is a gap between DT_REL and DT_JMPREL sections.
24022         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24023         (LDFLAGS-tst-split-dynreloc): New.
24024         (tst-split-dynreloc-ENV): Likewise.
24025         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24026         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24028 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24030         [BZ #18822]
24031         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24032         attribute_hidden.
24033         (__xstat64_conv): Likewise.
24034         (__xstat32_conv): Likewise.
24036 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24038         [BZ #18822]
24039         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24040         Don't load %ebx when calling __setcontext.  Call __setcontext
24041         with HIDDEN_JUMPTARGET.
24042         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24043         libc_hidden_def.
24045 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24047         * sysdeps/i386/i686/Makefile
24048         [$(subdir) == string] (sysdep_routines): Moved to ...
24049         * sysdeps/i386/Makefile: Here.
24050         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24051         * sysdeps/i386/cacheinfo.c: Here.
24052         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24053         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24054         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24055         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24057 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24059         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24060         __i586__ is defined.
24061         (HAS_I686): Defined to 1 if __i686__ is defined.
24063 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24065         * elf/Makefile [$(have-z-execstack) = yes]
24066         (CPPFLAGS-tst-execstack.c): New variable.
24068         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24069         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24070         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24071         UTMPX || _HAVE_UT_TV].
24072         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24073         UTMPX || _HAVE_UT_TV - 0].
24075 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24077         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24078         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24079         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24081 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24083         * sysdeps/powerpc/dl-procinfo.c:
24084         (_dl_powerpc_cap_flags): Added missing strings for some
24085         hwcap features.
24086         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24088 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24090         Port the 0x7efe...feff pattern to GCC 6.
24091         See Steve Ellcey's bug report in:
24092         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24093         * string/memrchr.c (MEMRCHR):
24094         * string/rawmemchr.c (RAWMEMCHR):
24095         * string/strchr.c (strchr):
24096         * string/strchrnul.c (STRCHRNUL):
24097         Rewrite code to avoid issues with signed shift overflow.
24099 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24101         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24102         whether cpuid is available only if HAS_CPUID is 0.
24103         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24104         (HAS_I586): Likewise.
24105         (HAS_I686): Likewise.
24107 2015-08-18  Zack Weinberg  <zackw@panix.com>
24109         * misc/Versions (libc): Add GLIBC_2.23.
24111 2015-08-18  Alan Modra  <amodra@gmail.com>
24113         [BZ #18421]
24114         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24115         .Lp__global.
24116         (_start): Load %dp via .Lp__global.
24117         [!SHARED]: Use .section .rodata.
24119 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24121         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24122         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24124 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24126         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24127         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24129 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24131         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24132         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24134 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24136         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24137         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24139 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24141         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24142         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24144 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24146         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24147         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24149 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24151         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24153 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24155         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24156         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24157         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24158         (__ASSUME_LWS_CAS): Delete.
24160 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24162         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24163         * sysdeps/hppa/configure: Regenerated.
24164         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24165         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24166         * sysdeps/hppa/nptl/tls.h: Likewise.
24168 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24170         [BZ #18823]
24171         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24172         for scaling up small arguments.
24173         * math/s_csqrtf.c (__csqrtf): Likewise.
24174         * math/s_csqrtl.c (__csqrtl): Likewise.
24175         * math/auto-libm-test-in: Add more tests of csqrt.
24176         * math/auto-libm-test-out: Regenerated.
24178 2015-08-17  Andreas Schwab  <schwab@suse.de>
24180         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24181         version set GLIBC_2.19.
24183 2015-08-16  Zack Weinberg  <zackw@panix.com>
24185         [BZ #18681]
24186         * misc/regexp.h: This interface is no longer supported.
24187         Remove all contents, leaving only an #error directive.
24188         * misc/regexp.c (loc1, loc2, locs, step, advance):
24189         Demote to compatibility symbols.
24191 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
24193         [BZ #18084]
24194         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
24195         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
24196         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24197         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
24198         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
24199         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
24200         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24201         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
24202         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24204 2015-08-15  Zack Weinberg  <zackw@panix.com>
24206         [BZ #18795]
24207         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
24208         buffer length is known to be too large, not if it's known to be
24209         small enough.
24210         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
24211         overflow at runtime, involving a length parameter, twice: once
24212         with a compile-time constant length parameter, once without.
24214 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
24216         [BZ #18824]
24217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
24218         scaling x * y up instead of down.
24219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24221         * math/auto-libm-test-in: Add more tests of fma.
24222         * math/auto-libm-test-out: Regenerated.
24224 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24226         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24228 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24230         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
24231         unnecessary movq.
24232         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
24233         Likewise.
24235 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24237         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24238         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
24239         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
24240         and tgamma.
24241         * math/auto-libm-test-out: Regenerated.
24242         * sysdeps/i386/fpu/libm-test-ulps: Update.
24243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24245         [BZ #16520]
24246         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
24247         (__tanh): Force underflow exception for arguments with small
24248         absolute value.
24249         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
24250         (__tanhf): Force underflow exception for arguments with small
24251         absolute value.
24252         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
24253         (__tanhl): Force underflow exception for arguments with small
24254         absolute value.
24255         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
24256         (__tanhl): Force underflow exception for arguments with small
24257         absolute value.
24258         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
24259         (__tanhl): Force underflow exception for arguments with small
24260         absolute value.
24261         * math/auto-libm-test-in: Add more tests of tanh.
24262         * math/auto-libm-test-out: Regenerated.
24263         * sysdeps/i386/fpu/libm-test-ulps: Update.
24265 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24267         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24268         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24270 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24272         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24273         <cpuid.h>.
24275 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24277         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24278         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24280 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24282         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24283         Remove $(objpfx)init-arch.o.
24284         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24285         init-arch.
24286         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24287         (INIT_ARCH_EXT): Defined as empty.
24288         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24289         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24290         __init_cpu_features call.  Replace HAS_XXX with
24291         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24292         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24296         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24297         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24298         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24299         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24300         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24301         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24302         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24303         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24304         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24305         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24306         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24309         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24310         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24312         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24313         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24314         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24315         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24316         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24317         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24319         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24320         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24321         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24322         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24323         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24324         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24325         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24326         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24328 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24330         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24331         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24332         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24333         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24334         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24335         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24336         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24337         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24338         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24339         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24340         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24341         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24342         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24343         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24344         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24345         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24346         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24347         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24348         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24349         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24350         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24351         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24352         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24353         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24354         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24355         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24356         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24357         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24358         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24359         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24360         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24361         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24362         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24363         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24364         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24365         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24366         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24367         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24368         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24369         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24370         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24371         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24372         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24374 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24376         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24377         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24378         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24379         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24380         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24381         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24382         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24383         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24384         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24385         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24386         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24387         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24388         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24389         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24390         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24391         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24392         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24393         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24394         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24395         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24397         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24398         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24399         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24400         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24401         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24402         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24403         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24404         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24405         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24406         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24407         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24408         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24409         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24410         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24411         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24412         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24413         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24414         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24415         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24416         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24417         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24418         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24420 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24422         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24423         (dl_platform_init): Call init_cpu_features.
24424         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24425         * sysdeps/i386/i686/cacheinfo.c
24426         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24427         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24428         * sysdeps/i386/i686/multiarch/Versions: Removed.
24429         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24430         Removed.
24431         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24432         * sysdeps/unix/sysv/linux/x86/Makefile
24433         (libpthread-sysdep_routines): Remove init-arch.
24434         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24435         <sysdeps/x86_64/dl-procinfo.c> instead of
24436         sysdeps/generic/dl-procinfo.c>.
24437         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24438         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24439         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24440         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24441         [$(subdir) == elf] (tests-static): Add
24442         tst-get-cpu-features-static.
24443         * sysdeps/x86/Versions: New file.
24444         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24445         * sysdeps/x86/cpu-features.c: Likewise.
24446         * sysdeps/x86/cpu-features.h: Likewise.
24447         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24448         * sysdeps/x86/libc-start.c: Likewise.
24449         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24450         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24451         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24452         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24453         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24454         Assume USE_MULTIARCH is defined and don't check it.
24455         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24456         (is_amd): Likewise.
24457         (max_cpuid): Likewise.
24458         (intel_check_word): Likewise.
24459         (__cache_sysconf): Don't call __init_cpu_features.
24460         (__x86_preferred_memory_instruction): Removed.
24461         (init_cacheinfo): Don't call __init_cpu_features. Replace
24462         __cpu_features with GLRO(dl_x86_cpu_features).
24463         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24464         (dl_platform_init): Call init_cpu_features.
24465         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24466         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24467         * sysdeps/x86_64/multiarch/Versions: Removed.
24468         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24469         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24470         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24471         Removed.
24472         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24474 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24476         [BZ #18820]
24477         * libio/Makefile (test-fmemopen-mem): New test.
24478         * libio/test-fmemopen.c (do_bz18820): New test.
24479         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24480         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24482 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24484         [BZ #16734]
24485         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24486         (FREE_BUF): Delete.
24487         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24488         * libio/genops.c (_IO_setb): Use malloc and free directly.
24489         (_IO_default_doallocate, _IO_default_finish): Likewise.
24490         ( _IO_unbuffer_all): Likewise.
24491         ( libc_freeres_fn): Likewise.
24492         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24493         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24494         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24495         (_IO_wdefault_doallocate): Likewise.
24497 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24499         [BZ #18086]
24500         * sysdeps/posix/nice.c (nice): Restore old errno.
24501         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24503 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24505         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24507 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24509         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24510         __bcopy and add a weak_alias to bcopy.
24511         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24512         for static build.
24514         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24515         cleanup macro usage.
24516         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24517         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24518         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24519         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24520         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24521         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24522         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24523         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24524         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24525         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24526         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24527         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24528         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24529         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24530         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24531         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24532         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24533         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24534         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24536         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24537         libc_hidden_def.
24538         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24540         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24541         (sysdep_routines): Add strstr-ppc64.
24542         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24544 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24546         [BZ #18778]
24547         * elf/Makefile (tests): Add Add tst-nodelete2.
24548         (modules-names): Add tst-nodelete2mod.
24549         (tst-nodelete2mod.so-no-z-defs): New.
24550         ($(objpfx)tst-nodelete2): Likewise.
24551         ($(objpfx)tst-nodelete2.out): Likewise.
24552         (LDFLAGS-tst-nodelete2): Likewise.
24553         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24554         out of loop through all loaded libraries.
24555         * elf/tst-nodelete2.c: New file.
24556         * elf/tst-nodelete2mod.c: Likewise.
24557         * elf/tst-znodelete-zlib.cc: Delete.
24559 2015-08-11  Andreas Schwab  <schwab@suse.de>
24561         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24562         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24563         (__openat64_nocancel): Likewise.
24565 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24567         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24568         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24569         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24570         * math/auto-libm-test-out: Regenerated.
24571         * sysdeps/i386/fpu/libm-test-ulps: Update.
24572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24574 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24576         [BZ #18790]
24577         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24578         threshold for returning +/- 1.
24579         * math/auto-libm-test-in: Add more tests of tanh.
24580         * math/auto-libm-test-out: Regenerated.
24581         * sysdeps/i386/fpu/libm-test-ulps: Update.
24583 2015-08-10  Andreas Schwab  <schwab@suse.de>
24585         [BZ #18781]
24586         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24587         MORE_OFLAGS to oflag.
24588         * io/test-lfs.c (do_test): Test openat64.
24590 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24592         [BZ #18789]
24593         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24594         smaller threshold for returning the argument.
24595         * math/auto-libm-test-in: Add more tests of sinh.
24596         * math/auto-libm-test-out: Regenerated.
24597         * sysdeps/i386/fpu/libm-test-ulps: Update.
24599 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24601         [BZ #18674]
24602         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24603         break.
24605 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24607         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24608         (generated): Don't add $(addprefix z.,$(tzfiles)).
24610 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24612         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24613         * scripts/sysd-rules.awk: Likewise.
24615 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24617         * iconvdata/tst-tables.sh: Change echo -n to printf.
24618         * nss/db-Makefile: Likewise.
24619         * posix/tst-getconf.sh: Likewise.
24620         * stdio-common/tst-unbputc.sh: Likewise.
24622 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24624         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24625         MADV_*_PAGES defines behind this feature check.
24627 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24629         [BZ #18480]
24630         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24631         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24632         Define.
24633         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24634         LOAD_REGS_5, LOAD_REGS_6): Update.
24635         (INTERNAL_SYSCALL): Update using new LOAD defines.
24636         (INTERNAL_SYSCALL_NCS): Likewise.
24637         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24639 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24641         [BZ #16734]
24642         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24644 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24646         [BZ #17905]
24647         * catgets/Makefile (tst-catgets-mem): New test.
24648         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24649         * catgets/open_catalog.c (__open_catalog): Likewise.
24650         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24652 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24654         [BZ #18787]
24655         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24656         clobber registers.
24657         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24658         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24659         Cast return to __typeof (oldval).
24661 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24663         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24664         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24665         and delete sys/syscall.h include.
24667 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24669         [BZ #16517]
24670         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24671         (tan): Force underflow exception for arguments with small absolute
24672         value.
24673         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24674         (__kernel_tanf): Force underflow exception for arguments with
24675         small absolute value.
24676         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24677         (__kernel_tanl): Force underflow exception for arguments with
24678         small absolute value.
24679         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24680         (__kernel_tanl): Force underflow exception for arguments with
24681         small absolute value.
24682         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24683         (__kernel_tanl): Force underflow exception for arguments with
24684         small absolute value.
24685         * math/auto-libm-test-in: Add more tests of tan.
24686         * math/auto-libm-test-out: Regenerated.
24688 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24690         Fix sysdeps/i386/fpu/s_scalbn.S build
24692         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24694 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24696         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24698 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24700         Fix gcrt0.o compilation
24702         When static-start-installed-name is different from
24703         start-installed-name, we must not use the shared objects.
24705         * csu/Makefile
24706         (extra-objs): Add gmon-start.o when building shared library and
24707         $(static-start-installed-name) is different from
24708         $(start-installed-name).
24709         $(objpfx)g$(static-start-installed-name): When building shared
24710         library and $(static-start-installed-name) is different from
24711         $(static-start-installed-name), revert to non-shared rule,
24712         i.e. using $(objpfx)% and gmon-start.o.
24714 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24716         [BZ #16519]
24717         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24718         (__ieee754_sinh): Force underflow exception for arguments with
24719         small absolute value.
24720         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24721         (__ieee754_sinhf): Force underflow exception for arguments with
24722         small absolute value.
24723         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24724         (__ieee754_sinhl): Force underflow exception for arguments with
24725         small absolute value.
24726         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24727         (__ieee754_sinhl): Force underflow exception for arguments with
24728         small absolute value.
24729         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24730         (__ieee754_sinhl): Force underflow exception for arguments with
24731         small absolute value.
24732         * math/auto-libm-test-in: Add more tests of sinh.
24733         * math/auto-libm-test-out: Regenerated.
24734         * sysdeps/i386/fpu/libm-test-ulps: Update.
24736 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24738         * libio/oldfileops.c: Include unistd.h.
24740 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24742         * stdlib/isomac.c: Include ctype.h.
24744 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24746         * dirent/tst-seekdir.c (main): Converted to ...
24747         (do_test): ... this.
24748         (TEST_FUNCTION): New macro.
24749         Include test-skeleton.c.
24750         * elf/tst-dlmodcount.c (main): Converted to ...
24751         (do_test): ... this.
24752         (TEST_FUNCTION): New macro.
24753         Include test-skeleton.c.
24754         * elf/tst-order-main.c (main): Converted to ...
24755         (do_test): ... this.
24756         (TEST_FUNCTION): New macro.
24757         Include test-skeleton.c.
24758         * elf/tst-pie2.c (main): Converted to ...
24759         (do_test): ... this.
24760         (TEST_FUNCTION): New macro.
24761         Include test-skeleton.c.
24762         * inet/tst-ether_aton.c (main): Converted to ...
24763         (do_test): ... this.
24764         (TEST_FUNCTION): New macro.
24765         Include test-skeleton.c.
24766         * misc/tst-mntent.c (main): Converted to ...
24767         (do_test): ... this.
24768         (TEST_FUNCTION): New macro.
24769         Include test-skeleton.c.
24770         * misc/tst-tsearch.c (main): Converted to ...
24771         (do_test): ... this.
24772         (TEST_FUNCTION): New macro.
24773         Include test-skeleton.c.
24774         * posix/tst-regexloc.c (main): Converted to ...
24775         (do_test): ... this.
24776         (TEST_FUNCTION): New macro.
24777         Include test-skeleton.c.
24778         * resolv/tst-aton.c (main): Converted to ...
24779         (do_test): ... this.
24780         (TEST_FUNCTION): New macro.
24781         Include test-skeleton.c.
24782         * stdio-common/test-fwrite.c (main): Converted to ...
24783         (do_test): ... this.
24784         (TEST_FUNCTION): New macro.
24785         Include test-skeleton.c.
24786         * stdio-common/tst-ferror.c (main): Converted to ...
24787         (do_test): ... this.
24788         (TEST_FUNCTION): New macro.
24789         Include test-skeleton.c.
24790         * stdio-common/tst-printf.c (main): Converted to ...
24791         (do_test): ... this.
24792         (TEST_FUNCTION): New macro.
24793         Include test-skeleton.c.
24794         * stdio-common/tst-printfsz.c (main): Converted to ...
24795         (do_test): ... this.
24796         (TEST_FUNCTION): New macro.
24797         Include test-skeleton.c.
24798         * stdlib/tst-strtod.c (main): Converted to ...
24799         (do_test): ... this.
24800         (TEST_FUNCTION): New macro.
24801         Include test-skeleton.c.
24802         * string/tst-strlen.c (main): Converted to ...
24803         (do_test): ... this.
24804         (TEST_FUNCTION): New macro.
24805         Include test-skeleton.c.
24806         * string/tst-svc.c (main): Converted to ...
24807         (do_test): ... this.
24808         (TEST_FUNCTION): New macro.
24809         Include test-skeleton.c.
24810         * time/tst-strptime.c (main): Converted to ...
24811         (do_test): ... this.
24812         (TEST_FUNCTION): New macro.
24813         Include test-skeleton.c.
24814         * timezone/tst-timezone.c (main): Converted to ...
24815         (do_test): ... this.
24816         (TEST_FUNCTION): New macro.
24817         Include test-skeleton.c.
24819 2015-08-05  Zack Weinberg  <zackw@panix.com>
24821         * misc/regexp.h: Update comments.
24823 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24825         [BZ #18635]
24826         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24827         before return label.
24829 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24831         [BZ #18661]
24832         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24833         when calling __errno_location.
24834         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24835         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24837 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24839         [BZ #18661]
24840         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24841         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24842         __gettimeofday.
24844 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24846         [BZ #18661]
24847         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24848         (__start_context): Don't use pop to restore %rdi so that stack
24849         is aligned to 16 bytes when calling __setcontext.
24851 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24853         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24854         only for libc.
24855         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24857 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24859         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24860         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
24861         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24863 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24865         * string/memccpy.c (memccpy):
24866         Improve performance by using memchr/memcpy/__mempcpy.
24868 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24870         * string/strncpy.c (strncpy):
24871         Improve performance by using __strnlen/memcpy.
24873 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24875         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24876         Optimize to avoid an unnecessary FPCR read.
24878 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24880         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24881         Optimize to reduce FPCR/FPSR accesses.
24883 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24885         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
24886         dead->data[category] != NULL.
24888 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
24890         [BZ #18647]
24891         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
24892         and |x| close to 1, use absolute value of x when computing log.
24893         * math/auto-libm-test-in: Add more tests of pow.
24894         * math/auto-libm-test-out: Regenerated.
24896 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24898         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
24899         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
24900         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
24902 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
24904         [BZ #18525]
24905         * locales/km_KH: Remove timezone definition.
24906         * locales/lo_LA: Likewise.
24907         * locales/my_MM: Likewise.
24908         * locales/nan_TW@latin: Likewise.
24909         * locales/th_TH: Likewise.
24910         * locales/uk_UA: Likewise.
24912 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24914         [BZ #18265]
24915         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
24916         (wcsncat): Likewise.
24917         (wcscmp): Likewise.
24918         (wcsncmp): Likewise.
24920 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24922         * test-skeleton.c (usage): New function.
24923         (main): Call usage when opt is '?'.
24925 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24927         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
24928         before first use.
24930 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24932         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
24933         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
24934         in there too.
24936 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
24938         * version.h (RELEASE): Set to "development".
24939         (VERSION): Set to "2.22.90"
24941         * version.h (RELEASE): Set to "stable".
24942         (VERSION): Set to "2.22"
24943         * include/features.h (__GLIBC_MINOR__): Set to 22.
24945 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
24947         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
24948         Restructure macro to avoid "value computed is not used" warning.
24949         (atomic_compare_and_exchange_val_acq): Likewise.
24951 2015-08-04  Andreas Schwab  <schwab@suse.de>
24953         [BZ #18635]
24954         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
24955         ret.
24956         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
24958 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
24960         * po/pl.po: Updated translation.
24961         * po/uk.po: Likewise.
24962         * po/fi.po: Likewise.
24963         * po/ko.po: Likewise.
24964         * po/ru.po: Likewise.
24965         * po/vi.po: Likewise.
24967 2015-07-31  Zack Weinberg  <zackw@panix.com>
24969         [BZ #18681]
24970         * regexp.h: Add unconditional #warning stating that this header
24971         will be removed soon.  Revise banner comment to match.
24972         (compile): Consistently use ERROR instead of RETURN to report
24973         errors (partial fix for bz#18681).
24974         * regexp.c: Don't include regexp.h. Remove some unnecessary
24975         declarations.
24977 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
24979         * po/libc.pot: Regenerated.
24981 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24983         [BZ #18740]
24984         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
24985         float-vlen4-arch-ext-cflags): Removed.
24986         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
24987         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
24989 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24991         [BZ #14113]
24992         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
24993         aligned to __aligned__.
24994         (pthread_cond_t, pthread_rwlock_t): Likewise.
24996 2015-07-30  Torvald Riegel  <triegel@redhat.com>
24998         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25000 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25002         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25003         (struct sigaction): Change sa_flags from a long to an int, and add
25004         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25006 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25008         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25009         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25010         sysdeps/generic/sysdep.h include.
25011         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25012         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25013         sysdeps/hppa/sysdep.h.
25014         (ENTRY, PSEUDO): Undefine before defining.
25016 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25018         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25019         from scratch to use INTERNAL_SYSCALL.
25021 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25023         [BZ #18078]
25024         * scripts/check-localplt.awk: Support alternate relocations.
25025         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25026         sections.
25027         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25028         malloc entries with + REL R_386_GLOB_DAT.
25029         * sysdeps/x86_64/localplt.data: New file.
25031 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25033         [BZ #18731]
25034         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25035         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25036         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25038 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25040         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25042 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25044         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25045         directly in terms of __sync_fetch_and_add and delete (int) cast.
25047 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25049         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25050         the -D_ASM_IA64_CURRENT_H flag.
25052 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25054         [BZ #18641]
25055         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25057 2015-07-27  Andreas Schwab  <schwab@suse.de>
25059         * conform/conformtest.pl (checknamespace): Filter out string
25060         literals while tokenizing.
25062 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25064         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25065         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25066         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25068 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25070         * nptl/tst-join7mod.c: Add #include <string.h>.
25072 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25074         * sysdeps/nios2/libm-test-ulps: Update.
25076 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25078         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25079         Fix order of arguments to the rt_sigprocmask syscall.
25080         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25081         Likewise.
25083 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25085         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25087 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25089         [BZ #18457]
25090         * nptl/Makefile (tests): New test case tst-join7.
25091         (modules-names): New test case module tst-join7mod.
25092         * nptl/tst-join7.c: New file.
25093         * nptl/tst-join7mod.c: New file.
25094         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25095         all translation units in libc.so, libpthread.so and rtld.
25097 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25101 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25103         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25104         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25105         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25108         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25109         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25110         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25111         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25112         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25113         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25115         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25116         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25117         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25118         implementation.
25120 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25122         [BZ #17711]
25123         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25124         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25125         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25126         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25127         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25128         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25130 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25132         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25133         instead of just saying load lock in the comments.
25135 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25137         * sysdeps/unix/Subdirs: Moved ...
25138         * sysdeps/posix/Subdirs: ... here.
25139         * login/pty.h (struct termios, struct winsize): Add forward decls.
25140         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25141         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25142         * sysdeps/arm/nacl/libc.abilist: Updated.
25143         * sysdeps/nacl/libutil.abilist: New file.
25145         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25146         (SIGWINCH): New macro.
25148         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25149         * sysdeps/arm/nacl/libc.abilist: Add it.
25151 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25153         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25155 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25157         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25158         Swap __glibc_reserved0 and sa_flags order.
25160 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25162         [BZ #18657]
25163         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25164         are pending TLS destructor calls.
25165         * include/link.h (struct link_map): Add concurrency note for
25166         L_TLS_DTOR_COUNT.
25167         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25168         Don't touch the link map flag.  Atomically increment
25169         l_tls_dtor_count.
25170         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25171         Avoid taking the load lock and don't touch the link map flag.
25172         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25173         * stdlib/Makefile (tests): Use it.
25174         * stdlib/tst-tls-atexit.c (do_test): dlopen
25175         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25176         to allow tst-tls-atexit-nodelete test case to use it.
25178 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25180         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25181         to bits/types.h.
25182         (msgqnum_t): New typedef.
25183         (msglen_t): Likewise.
25184         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
25185         and msg_qbytes type to msglen_t.
25187 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25189         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
25190         pad0 to __glibc_reserved0.
25191         (struct stat64): Likewise.
25193 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25195         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25196         Change sa_flags from a long to an int and add __glibc_reserved0 before
25197         it for padding.
25199 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25201         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25202         anonymous by deleting "siginfo" name.
25204 2015-07-21  Roland McGrath  <roland@hack.frob.com>
25206         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
25207         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
25208         rather than __nacl_irt_filename.
25209         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25211         * NEWS: New item for arm-nacl port.
25212         * sysdeps/arm/nacl/libc.abilist: New file.
25213         * sysdeps/nacl/ld.abilist: New file.
25214         * sysdeps/nacl/libBrokenLocale.abilist: New file.
25215         * sysdeps/nacl/libanl.abilist: New file.
25216         * sysdeps/nacl/libcrypt.abilist: New file.
25217         * sysdeps/nacl/libdl.abilist: New file.
25218         * sysdeps/nacl/libm.abilist: New file.
25219         * sysdeps/nacl/libpthread.abilist: New file.
25220         * sysdeps/nacl/libresolv.abilist: New file.
25221         * sysdeps/nacl/librt.abilist: New file.
25223 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
25225         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
25226         __startcontext to initialize the new context.
25227         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
25228         up CFI directive to forbid further backtracing.
25230 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
25232         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
25233         reference.
25234         * charmaps/ANSI_X3.4-1968: Likewise.
25235         * charmaps/BS_4730: Likewise.
25236         * charmaps/BS_VIEWDATA: Likewise.
25237         * charmaps/CP1250: Likewise.
25238         * charmaps/CP1251: Likewise.
25239         * charmaps/CP1252: Likewise.
25240         * charmaps/CP1253: Likewise.
25241         * charmaps/CP1254: Likewise.
25242         * charmaps/CP1255: Likewise.
25243         * charmaps/CP1256: Likewise.
25244         * charmaps/CSN_369103: Likewise.
25245         * charmaps/EBCDIC-DK-NO: Likewise.
25246         * charmaps/GB_1988-80: Likewise.
25247         * charmaps/GREEK-CCITT: Likewise.
25248         * charmaps/GREEK7: Likewise.
25249         * charmaps/INIS-8: Likewise.
25250         * charmaps/ISIRI-3342: Likewise.
25251         * charmaps/ISO_2033-1983: Likewise.
25252         * charmaps/ISO_5427-EXT: Likewise.
25253         * locales/POSIX: Likewise.
25254         * locales/ar_SA: Likewise.
25255         * locales/be_BY: Likewise.
25256         * locales/be_BY@latin: Likewise.
25257         * locales/ca_ES: Likewise.
25258         * locales/cs_CZ: Likewise.
25259         * locales/da_DK: Likewise.
25260         * locales/de_BE: Likewise.
25261         * locales/de_CH: Likewise.
25262         * locales/de_LU: Likewise.
25263         * locales/en_AU: Likewise.
25264         * locales/en_BW: Likewise.
25265         * locales/en_CA: Likewise.
25266         * locales/en_DK: Likewise.
25267         * locales/en_GB: Likewise.
25268         * locales/en_IE: Likewise.
25269         * locales/en_NZ: Likewise.
25270         * locales/en_ZA: Likewise.
25271         * locales/en_ZW: Likewise.
25272         * locales/es_AR: Likewise.
25273         * locales/es_BO: Likewise.
25274         * locales/es_CL: Likewise.
25275         * locales/es_CO: Likewise.
25276         * locales/es_DO: Likewise.
25277         * locales/es_EC: Likewise.
25278         * locales/es_ES: Likewise.
25279         * locales/es_HN: Likewise.
25280         * locales/es_MX: Likewise.
25281         * locales/es_PA: Likewise.
25282         * locales/es_PE: Likewise.
25283         * locales/es_PY: Likewise.
25284         * locales/es_SV: Likewise.
25285         * locales/es_US: Likewise.
25286         * locales/es_UY: Likewise.
25287         * locales/es_VE: Likewise.
25288         * locales/et_EE: Likewise.
25289         * locales/fa_IR: Likewise.
25290         * locales/fo_FO: Likewise.
25291         * locales/fr_CA: Likewise.
25292         * locales/fr_CH: Likewise.
25293         * locales/gv_GB: Likewise.
25294         * locales/he_IL: Likewise.
25295         * locales/hr_HR: Likewise.
25296         * locales/id_ID: Likewise.
25297         * locales/is_IS: Likewise.
25298         * locales/it_CH: Likewise.
25299         * locales/iw_IL: Likewise.
25300         * locales/kl_GL: Likewise.
25301         * locales/ko_KR: Likewise.
25302         * locales/kw_GB: Likewise.
25303         * locales/lg_UG: Likewise.
25304         * locales/lt_LT: Likewise.
25305         * locales/lv_LV: Likewise.
25306         * locales/mi_NZ: Likewise.
25307         * locales/nhn_MX: Likewise.
25308         * locales/nl_BE: Likewise.
25309         * locales/pl_PL: Likewise.
25310         * locales/sk_SK: Likewise.
25311         * locales/sl_SI: Likewise.
25312         * locales/sv_FI: Likewise.
25313         * locales/tl_PH: Likewise.
25314         * locales/tr_TR: Likewise.
25315         * locales/vi_VN: Likewise.
25317 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25319         [BZ #17475]
25320         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25321         of tu_IN and bh_IN.
25323 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25325         [BZ #18694]
25326         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25327         bits/wordsize.h.
25328         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25330 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25332         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25333         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25334         (spawn_thread): New function.
25335         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25336         (do_test): ... here.  Use IS_LOADED to test for its
25337         availability.
25339 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25341         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25343 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25345         [BZ #18696]
25346         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25347         si_addr_bnd.
25348         (si_lower): New.
25349         (si_upper): Likewise.
25351 2015-07-16  David S. Miller  <davem@davemloft.net>
25353         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25355 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25357         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25358         buffer.
25359         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25360         fail output information.
25362 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25365         and strstr-ppc64..
25366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25367         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25368         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25369         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25370         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25372 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25374         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25375         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25376         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25377         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25379 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25381         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25382         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25383         rtld_hidden_proto.
25384         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25386 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25388         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25389         the test can fail.
25391         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25393         [BZ #18676]
25394         * elf/tst-nodelete-opened.c: New test case.
25395         * elf/tst-nodelete-opened-lib.c: New test case module.
25396         * elf/Makefile (tests, modules-names): Use them.
25397         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25398         early.
25400 2015-07-15  David S. Miller  <davem@davemloft.net>
25402         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25403         futex-intenal.h
25404         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25405         * sysdeps/sparc/sparc64/Makefile: Likewise.
25406         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25407         Remove space from macro define.
25408         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25410 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25412         [BZ #17475]
25413         * locale/iso-639.def: Update Bhili and Tulu language codes as
25414         per iso639-3.
25416 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25418         * elf/tst-leaks1.c (main): Converted to ...
25419         (do_test): ... this.
25420         (TEST_FUNCTION): New macro.
25421         Include test-skeleton.c.
25422         * localedata/tst-langinfo.c (main): Converted to ...
25423         (do_test): ... this.
25424         (TEST_FUNCTION): New macro.
25425         Include test-skeleton.c.
25426         * math/test-fpucw.c (main): Converted to ...
25427         (do_test): ... this.
25428         (TEST_FUNCTION): New macro.
25429         Include test-skeleton.c.
25430         * math/test-tgmath.c (main): Converted to ...
25431         (do_test): ... this.
25432         (TEST_FUNCTION): New macro.
25433         Include test-skeleton.c.
25434         * math/test-tgmath2.c (main): Converted to ...
25435         (do_test): ... this.
25436         (TEST_FUNCTION): New macro.
25437         Include test-skeleton.c.
25438         * setjmp/tst-setjmp.c (main): Converted to ...
25439         (do_test): ... this.
25440         (TEST_FUNCTION): New macro.
25441         Include test-skeleton.c.
25442         * stdio-common/tst-sscanf.c (main): Converted to ...
25443         (do_test): ... this.
25444         (TEST_FUNCTION): New macro.
25445         Include test-skeleton.c.
25446         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25447         (do_test): ... this.
25448         (TEST_FUNCTION): New macro.
25449         Include test-skeleton.c.
25451         * elf/tst-audit9.c (main): Converted to ...
25452         (do_test): ... this.
25453         (TEST_FUNCTION): New macro.
25454         Include test-skeleton.c.
25456 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25458         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25460 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25462         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25463         New variable.
25465 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25467         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25469 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25471         * sysdeps/generic/dl-fileid.h: New file.
25472         * sysdeps/posix/dl-fileid.h: New file.
25473         * sysdeps/nacl/dl-fileid.h: New file.
25474         * include/link.h: Include <dl-fileid.h>.
25475         (struct link_map): Replace l_dev and l_ino with l_file_id.
25476         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25477         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25478         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25480 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25484 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25486         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25487         Add iff $CXX is set.
25488         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25489         Likewise.
25490         (tst-nodelete-zmodiff): Likewise.
25491         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25493 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25495         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25497 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25499         * sysdeps/aarch64/fpu/math_private.h
25500         (define math_opt_barrier): Add AArch64 version.
25501         (math_force_eval): Likewise.
25503 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25505         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25507 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25509         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25510         %ld with %jd and cast to intmax_t.
25511         (do_test_length_zero): Likewise.
25513 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25515         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25517 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25519         * sysdeps/tile/libm-test-ulps: Regenerated.
25521         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25522         Comment out the whole function, not just its body.
25524 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25526         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25527         locks.
25529         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25531 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25533         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25534         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25536 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25538         * sysdeps/nptl/futex-internal.h: New file.
25539         * sysdeps/nacl/futex-internal.h: New file.
25540         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25541         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25542         error checking.
25543         (setxid_unmark_thread): Likewise.
25544         (__nptl_setxid): Likewise.
25545         (__wait_lookup_done): Likewise.
25546         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25547         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25548         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25549         * nptl/pthread_once.c (clear_once_control): Likewise.
25550         (__pthread_once_slow): Likewise.
25551         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25552         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25553         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25554         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25555         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25556         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25557         Likewise.
25558         (__pthread_rwlock_rdlock): Likewise.
25559         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25560         Likewise.
25561         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25562         Likewise.
25563         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25564         Likewise.
25565         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25566         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25567         Likewise.
25568         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25569         __ASSUME_PRIVATE_FUTEX check.
25570         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25571         Check that shared futexes are supported.
25572         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25573         wrappers with error checking.
25574         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25575         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25576         * nptl/pthread_barrierattr_setpshared.c
25577         (pthread_barrierattr_setpshared): Check that shared futexes are
25578         supported.
25579         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25580         Likewise.
25581         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25582         Likewise.
25583         * nptl/sem_init.c (futex_private_if_supported): Remove.
25584         (__new_sem_init): Adapt and check that shared futexes are supported.
25585         * nptl/sem_open.c (sem_open): Likewise.
25586         * nptl/sem_post.c (futex_wake): Remove.
25587         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25588         (do_futex_wait): Use futex wrappers with error checking.
25589         * nptl/sem_wait.c: Include lowlevellock.h.
25590         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25591         Use futex_supports_pshared.
25592         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25593         Use futex wrappers with error checking.
25594         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25595         Likewise.
25596         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25597         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25598         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25599         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25600         (futex_wake): Likewise.
25601         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25602         (do_futex_wait): Use futex wrappers with error checking.
25603         (__new_sem_wait_slow): Update EINTR handling.
25604         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25606 2015-07-09  Martin Sebor  <msebor@redhat.com>
25608         [BZ #18435]
25609         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25610         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25611         * nptl/Makefile (test-xfail-tst-once5): Define.
25613 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25615         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25616         * elf/dl-minimal.c: For readability, reorder some definitions and
25617         introduce more page breaks.  Include <stdio.h>.
25618         (__libc_fatal): New function.
25620         * include/unistd.h: Add rtld_hidden_proto for _exit.
25621         * posix/_exit.c: Add rtld_hidden_def.
25622         * sysdeps/mach/hurd/_exit.c: Likewise.
25623         * sysdeps/nacl/_exit.c: Likewise.
25624         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25625         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25627 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25629         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25630         bndmov encoding with zero displacement.
25632 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25633             H.J. Lu  <hongjiu.lu@intel.com>
25635         [BZ #18134]
25636         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25637         * sysdeps/i386/configure: Regenerated.
25638         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25639         (_dl_runtime_profile): Save and restore Intel MPX return bound
25640         registers when calling _dl_call_pltexit.  Add
25641         PRESERVE_BND_REGS_PREFIX before return.
25642         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25643         (LRV_BND1_OFFSET): Likewise.
25644         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25645         lrv_bnd1.
25646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25647         typo in bndmov encoding.
25648         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25649         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25650         branch instructions to preserve bounds.
25652 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25655         [GLIBC_2.22]: Add fmemopen.
25657 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25659         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25660         returns an error, also try to use host port from __mach_host_self for
25661         the __vm_wire call.
25662         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25664 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25666         [BZ #18400]
25667         [BZ #18648]
25668         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25669         Fix pr_uid and pr_gid members.
25670         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25671         definition to elf_greg_t.
25673 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25675         [BZ #18383]
25676         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25677         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25678         * sysdeps/arm/configure: Regenerated.
25679         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25680         (test-xfail-tst-tlsalign-static): Variable removed.
25682         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25683         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25684         rather than explicit 'ln -s'.
25686         * resolv/rpc/netdb.h: New file.
25687         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25689 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25691         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25692         length buffers.
25693         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25694         test-skeleton.c.
25696         [BZ #6544]
25697         [BZ #11216]
25698         [BZ #12836]
25699         [BZ #13151]
25700         [BZ #13152]
25701         [BZ #14292]
25702         * include/stdio.h (fmemopen): Remove hidden prototype.
25703         (__fmemopen): Add new hidden prototype.
25704         * libio/Makefile: Add oldfmemopen object.
25705         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25706         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25707         compliance.
25708         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25709         symbol compatibility.
25710         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25711         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25712         fmemopen.
25713         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25714         on append and read mode.
25715         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25716         fmemopen.
25717         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25718         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25719         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25720         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25721         Likewise.
25722         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25723         [GLIBC_2.22]: Likewise.
25724         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25725         Likewise.
25726         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25727         Likewise.
25728         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25729         [GLIBC_2.22]: Likewise.
25730         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25731         [GLIBC_2.22]: Likewise.
25732         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25733         [GLIBC_2.22]: Likewise.
25734         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25735         [GLIBC_2.22]: Likewise.
25736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25737         [GLIBC_2.22]: Likewise.
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25739         [GLIBC_2.22]: Likewise.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25741         [GLIBC_2.22]: Likewise.
25742         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25743         Likewise.
25744         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25745         Likewise.
25746         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25747         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25748         [GLIBC_2.22]: Likewise.
25749         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25750         [GLIBC_2.22]: Likewise.
25751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25752         [GLIBC_2.22]: Likewise.
25753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25754         [GLIBC_2.22]: Likewise.
25755         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25756         Likewise.
25757         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25758         Likewise.
25759         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25760         Likewise.
25761         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25762         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25764 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25766         [BZ #18643]
25767         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25768         IPV6_PATHMTU, and IPV6_DONTFRAG.
25770 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25772         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25773         and _IO_UNBUFFERED.
25774         * libio/oldfileops.c: Likewise.
25775         * libio/wfileops.c: Likewise.
25777 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25779         * nscd/selinux.c: Delete selinux/flask.h include.
25781 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25783         [BZ #18641]
25784         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25785         (putpwent): Likewise.
25786         (getpwnam): Likewise.
25787         (getpwent_r): Likewise.
25788         (getpwuid_r): Likewise.
25789         (getpwnam_r): Likewise.
25790         (fgetpwent_r): Likewise.
25792 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25794         [BZ #18557]
25795         * inet/rcmd.c (__validuser2_sa): Check user first to
25796         short-circuit host check.
25798 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25799             Mikhail Ilin  <m.ilin@samsung.com>
25801         [BZ #17833]
25802         * elf/Makefile (tests): Add tst-nodelete.
25803         (modules-names): Add tst-nodelete-uniquemod.
25804         (tst-nodelete-uniquemod.so-no-z-defs): New.
25805         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25806         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25807         ($(objpfx)tst-nodelete): Likewise.
25808         ($(objpfx)tst-nodelete.out): Likewise.
25809         (LDFLAGS-tst-nodelete): Likewise.
25810         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25811         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25812         implement forced object deletion.
25813         (_dl_close): Pass false to _dl_close_worker.
25814         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25815         * elf/tst-nodelete.cc: New file.
25816         * elf/tst-nodeletelib.cc: Likewise.
25817         * elf/tst-znodeletelib.cc: Likewise.
25818         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25820 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25822         [BZ #18508]
25823         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25824         Depend on $(libdl).
25825         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25826         is not called infinitely times.
25827         (backtrace_helper): New function.
25828         (trace_arg): New struct.
25829         (st1): Enlarge stack size.
25830         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25831         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25832         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25833         Likewise.
25835 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25837         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25839 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25841         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25842         Include sys/types.h instead of bits/types.h.
25843         Remove inclusion of bits/wordsize.h.
25845 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25847         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25848         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25849         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25850         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25851         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25852         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25854 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25856         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25857         link-defines.sym.
25858         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25859         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25860         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25861         and LR_SIZE.
25862         * sysdeps/i386/link-defines.sym: New file.
25864 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25866         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25867         (modules-names): Add tst-auditmod3a tst-auditmod3b.
25868         ($(objpfx)tst-audit3): New rule.
25869         ($(objpfx)tst-audit3.out): Likewise.
25870         * sysdeps/i386/tst-audit3.c: New file.
25871         * sysdeps/i386/tst-audit3.h: Likewise.
25872         * sysdeps/i386/tst-auditmod3a.c: Likewise.
25873         * sysdeps/i386/tst-auditmod3b.c: Likewise.
25875 2015-07-07  Torvald Riegel  <triegel@redhat.com>
25877         [BZ #18633]
25878         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
25879         pointer in C code.
25880         (__strcat_c): Likewise.
25881         (__strcat_g): Likewise.
25883 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
25885         [BZ #18592]
25886         * misc/sbrk.c: Set errno to ENOMEM on overflow.
25888 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25890         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
25891         New function.  (__ieee754_sqrtf): New function.
25892         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
25893         New function.
25894         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
25895         New function.
25897 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25899         * sysdeps/ieee754/support.c: Remove unused file.
25901 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25903         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
25904         registers instead of d ones so the layout is kernel abi compatible.
25905         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
25906         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
25907         Likewise.
25909 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25911         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25913 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25915         [BZ #18619]
25916         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
25917         and return argument in case of subnormal argument.
25919 2015-07-01  Martin Sebor  <msebor@redhat.com>
25921         [BZ #18435]
25922         * nptl/Makefile: Add tst-once5.cc.
25923         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25924         Remove macro redefinitions.
25925         * nptl/tst-once5.cc: New test.
25927 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25929         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25931         * sysdeps/arm/libm-test-ulps: Regenerated.
25933         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25934         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25936 2015-06-30  Torvald Riegel  <triegel@redhat.com>
25938         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
25939         lll_lock_wait_private and lll_futex_wake probes.
25941         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25942         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
25943         Likewise.
25944         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
25945         atomic_spin_nop.
25946         * sysdeps/x86_64/bits/atomic.h: Likewise.
25947         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
25948         to atomic_spin_nop and move ...
25949         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25950         ... here and ...
25951         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
25952         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
25953         atomic_spin_nop instead of BUSY_WAIT_NOP.
25954         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
25955         Likewise.
25956         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
25957         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25958         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
25959         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
25960         instead of atomic_delay.
25962 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
25964         [BZ #18613]
25965         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
25966         X_ADJ not X when adjusting exponent.
25967         (__ieee754_gamma_r): Do intermediate computations in
25968         round-to-nearest then adjust overflowing and underflowing results
25969         as needed.
25970         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
25971         of X_ADJ not X when adjusting exponent.
25972         (__ieee754_gammaf_r): Do intermediate computations in
25973         round-to-nearest then adjust overflowing and underflowing results
25974         as needed.
25975         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
25976         log of X_ADJ not X when adjusting exponent.
25977         (__ieee754_gammal_r): Do intermediate computations in
25978         round-to-nearest then adjust overflowing and underflowing results
25979         as needed.  Use 1.0L not 1.0f as numerator of division.
25980         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
25981         log of X_ADJ not X when adjusting exponent.
25982         (__ieee754_gammal_r): Do intermediate computations in
25983         round-to-nearest then adjust overflowing and underflowing results
25984         as needed.  Use 1.0L not 1.0f as numerator of division.
25985         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
25986         of X_ADJ not X when adjusting exponent.
25987         (__ieee754_gammal_r): Do intermediate computations in
25988         round-to-nearest then adjust overflowing and underflowing results
25989         as needed.  Use 1.0L not 1.0f as numerator of division.
25990         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
25991         to auto-libm-test-in.
25992         (tgamma_test): Use ALL_RM_TEST.
25993         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
25994         tests of tgamma with spurious-overflow.
25995         * math/auto-libm-test-out: Regenerated.
25996         * math/gen-libm-have-vector-test.sh: Do not check for START.
25997         * sysdeps/i386/fpu/libm-test-ulps: Update.
25998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26000         [BZ #18612]
26001         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26002         arguments, just return 0.5 times the argument, with underflow
26003         forced as needed.
26004         * math/auto-libm-test-in: Add more tests of j1.
26005         * math/auto-libm-test-out: Regenerated.
26007         [BZ #16559]
26008         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26009         (__ieee754_j1): Force underflow exception for small results.
26010         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26011         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26012         (__ieee754_j1f): Force underflow exception for small results.
26013         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26014         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26016         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26017         (__ieee754_j1l): Force underflow exception for small results.
26018         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26019         * math/auto-libm-test-in: Add more tests of j1 and jn.
26020         * math/auto-libm-test-out: Regenerated.
26022         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26023         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26024         (PF_MPLS): Likewise.
26025         (AF_IB): Likewise.
26026         (AF_MPLS): Likewise.
26027         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26028         value and macro.
26029         (MS_RMT_MASK): Include MS_LAZYTIME.
26031 2015-06-26  Mel Gorman  <mgorman@suse.de>
26033         [BZ #18502]
26034         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26035         already minimal.
26037 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26039         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26040         (DT_MIPS_NUM): Update.
26041         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26042         DT_MIPS_RLD_MAP_REL.
26044 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26046         [BZ #16559]
26047         [BZ #18602]
26048         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26049         round-to-nearest internally then recompute results that
26050         underflowed to zero in the original rounding mode.
26051         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26052         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26053         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26054         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26055         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26056         * sysdeps/i386/fpu/libm-test-ulps: Update.
26057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26059 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26061         * NEWS: Fixed description of link with vector math library.
26063 2015-06-25  Andreas Schwab  <schwab@suse.de>
26065         [BZ #18549]
26066         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26067         * libio/test-fmemopen.c (do_test): Add test for it.
26069 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26071         [BZ #17841]
26072         * Makeconfig (no-pie-ldflag): New.
26073         (+link): Set to $(+link-pie) if default to PIE.
26074         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26075         * config.make.in (build-pie-default): New.
26076         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26077         is default.  AC_SUBST.
26078         * configure: Regenerated.
26079         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26081 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26083         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26084         to 'unsigned int'.
26086         * resolv/gai_misc.h (struct waitlist): Change type of field
26087         counterp to 'volatile unsigned int *'.
26088         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26089         FUTEXADDR and OLDVAL.
26090         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26091         Give local variable TOTAL type 'volatile unsigned int'.
26092         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26093         * resolv/gai_suspend.c (gai_suspend):
26094         Give local variable CNTR type 'unsigned int'.
26096         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26097         counterp to 'volatile unsigned int *'.
26098         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26099         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26100         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26101         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26102         Give local variable TOTAL type 'volatile unsigned int'.
26103         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26105 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26107         [BZ #18383]
26108         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26109         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26110         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26111         comment for i386/x86-64.
26112         (test-xfail-tst-tlsalign-extern-static): Removed.
26114 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26116         * math/test-double.h: New file.
26117         * math/test-float.h: Likewise.
26118         * math/test-ldouble.h: Likewise.
26119         * math/test-math-inline.h: Likewise.
26120         * math/test-math-no-inline.h: Likewise.
26121         * math/test-math-scalar.h: Likewise.
26122         * math/test-math-vector.h: Likewise.
26123         * math/test-vec-loop.h: Remove file.  Contents moved into
26124         test-math-vector.h.
26125         * math/libm-test.inc (MATHCONST): Do not document macro.
26126         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26127         and test-math-scalar.h.
26128         (FUNC): Remove macro.
26129         (FUNC_TEST): Likewise.
26130         (FLOAT): Likewise.
26131         (MATHCONST): Likewise.
26132         (PRINTF_EXPR): Likewise.
26133         (PRINTF_XEXPR): Likewise.
26134         (PRINTF_NEXPR): Likewise.
26135         (TEST_DOUBLE): Likewise.
26136         (TEST_MATHVEC): Likewise.
26137         (__NO_MATH_INLINES): Likewise.
26138         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26139         and test-math-scalar.h.
26140         (FUNC): Remove macro.
26141         (FUNC_TEST): Likewise.
26142         (FLOAT): Likewise.
26143         (MATHCONST): Likewise.
26144         (PRINTF_EXPR): Likewise.
26145         (PRINTF_XEXPR): Likewise.
26146         (PRINTF_NEXPR): Likewise.
26147         (TEST_FLOAT): Likewise.
26148         (TEST_MATHVEC): Likewise.
26149         (__NO_MATH_INLINES): Likewise.
26150         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26151         and test-math-scalar.h.
26152         (FUNC): Remove macro.
26153         (FUNC_TEST): Likewise.
26154         (FLOAT): Likewise.
26155         (MATHCONST): Likewise.
26156         (PRINTF_EXPR): Likewise.
26157         (PRINTF_XEXPR): Likewise.
26158         (PRINTF_NEXPR): Likewise.
26159         (TEST_DOUBLE): Likewise.
26160         (TEST_MATHVEC): Likewise.
26161         (TEST_INLINE): Likewise.
26162         (__NO_MATH_INLINES): Likewise.
26163         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26164         test-math-scalar.h.
26165         (FUNC): Remove macro.
26166         (FUNC_TEST): Likewise.
26167         (FLOAT): 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         (TEST_INLINE): Likewise.
26175         (__NO_MATH_INLINES): Likewise.
26176         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
26177         and test-math-scalar.h.
26178         (FUNC): Remove macro.
26179         (FUNC_TEST): Likewise.
26180         (FLOAT): Likewise.
26181         (MATHCONST): Likewise.
26182         (PRINTF_EXPR): Likewise.
26183         (PRINTF_XEXPR): Likewise.
26184         (PRINTF_NEXPR): Likewise.
26185         (TEST_LDOUBLE): Likewise.
26186         (TEST_MATHVEC): Likewise.
26187         (TEST_INLINE): Likewise.
26188         (__NO_MATH_INLINES): Likewise.
26189         * math/test-ldouble.c: Include test-ldouble.h,
26190         test-math-no-inline.h and test-math-scalar.h.
26191         (FUNC): Remove macro.
26192         (FUNC_TEST): Likewise.
26193         (FLOAT): Likewise.
26194         (MATHCONST): Likewise.
26195         (PRINTF_EXPR): Likewise.
26196         (PRINTF_XEXPR): Likewise.
26197         (PRINTF_NEXPR): Likewise.
26198         (TEST_LDOUBLE): Likewise.
26199         (TEST_MATHVEC): Likewise.
26200         (__NO_MATH_INLINES): Likewise.
26201         * math/test-double-vlen2.h: Include test-double.h,
26202         test-math-no-inline.h and test-math-vector.h.
26203         (FLOAT): Remove macro.
26204         (FUNC): Likewise.
26205         (MATHCONST): Likewise.
26206         (PRINTF_EXPR): Likewise.
26207         (PRINTF_XEXPR): Likewise.
26208         (PRINTF_NEXPR): Likewise.
26209         (TEST_DOUBLE): Likewise.
26210         (TEST_MATHVEC): Likewise.
26211         (__NO_MATH_INLINES): Likewise.
26212         (CNCT): Likewise.
26213         (CONCAT): Likewise.
26214         (WRAPPER_NAME): Likewise.
26215         (WRAPPER_DECL): Likewise.
26216         (WRAPPER_DECL_ff): Likewise.
26217         (WRAPPER_DECL_fFF): Likewise.
26218         (VECTOR_WRAPPER): Likewise.
26219         (VECTOR_WRAPPER_ff): Likewise.
26220         (VECTOR_WRAPPER_fFF): Likewise.
26221         (VEC_LEN): New macro.
26222         * math/test-double-vlen4.h: Include test-double.h,
26223         test-math-no-inline.h and test-math-vector.h.
26224         (FLOAT): Remove macro.
26225         (FUNC): Likewise.
26226         (MATHCONST): Likewise.
26227         (PRINTF_EXPR): Likewise.
26228         (PRINTF_XEXPR): Likewise.
26229         (PRINTF_NEXPR): Likewise.
26230         (TEST_DOUBLE): Likewise.
26231         (TEST_MATHVEC): Likewise.
26232         (__NO_MATH_INLINES): Likewise.
26233         (CNCT): Likewise.
26234         (CONCAT): Likewise.
26235         (WRAPPER_NAME): Likewise.
26236         (WRAPPER_DECL): Likewise.
26237         (WRAPPER_DECL_ff): Likewise.
26238         (WRAPPER_DECL_fFF): Likewise.
26239         (VECTOR_WRAPPER): Likewise.
26240         (VECTOR_WRAPPER_ff): Likewise.
26241         (VECTOR_WRAPPER_fFF): Likewise.
26242         (VEC_LEN): New macro.
26243         * math/test-double-vlen8.h: Include test-double.h,
26244         test-math-no-inline.h and test-math-vector.h.
26245         (FLOAT): Remove macro.
26246         (FUNC): Likewise.
26247         (MATHCONST): Likewise.
26248         (PRINTF_EXPR): Likewise.
26249         (PRINTF_XEXPR): Likewise.
26250         (PRINTF_NEXPR): Likewise.
26251         (TEST_DOUBLE): Likewise.
26252         (TEST_MATHVEC): Likewise.
26253         (__NO_MATH_INLINES): Likewise.
26254         (CNCT): Likewise.
26255         (CONCAT): Likewise.
26256         (WRAPPER_NAME): Likewise.
26257         (WRAPPER_DECL): Likewise.
26258         (WRAPPER_DECL_ff): Likewise.
26259         (WRAPPER_DECL_fFF): Likewise.
26260         (VECTOR_WRAPPER): Likewise.
26261         (VECTOR_WRAPPER_ff): Likewise.
26262         (VECTOR_WRAPPER_fFF): Likewise.
26263         (VEC_LEN): New macro.
26264         * math/test-float-vlen4.h: Include test-float.h,
26265         test-math-no-inline.h and test-math-vector.h.
26266         (FLOAT): Remove macro.
26267         (FUNC): Likewise.
26268         (MATHCONST): Likewise.
26269         (PRINTF_EXPR): Likewise.
26270         (PRINTF_XEXPR): Likewise.
26271         (PRINTF_NEXPR): Likewise.
26272         (TEST_FLOAT): Likewise.
26273         (TEST_MATHVEC): Likewise.
26274         (__NO_MATH_INLINES): Likewise.
26275         (CNCT): Likewise.
26276         (CONCAT): Likewise.
26277         (WRAPPER_NAME): Likewise.
26278         (WRAPPER_DECL): Likewise.
26279         (WRAPPER_DECL_ff): Likewise.
26280         (WRAPPER_DECL_fFF): Likewise.
26281         (VECTOR_WRAPPER): Likewise.
26282         (VECTOR_WRAPPER_ff): Likewise.
26283         (VECTOR_WRAPPER_fFF): Likewise.
26284         (VEC_LEN): New macro.
26285         * math/test-float-vlen8.h: Include test-float.h,
26286         test-math-no-inline.h and test-math-vector.h.
26287         (FLOAT): Remove macro.
26288         (FUNC): Likewise.
26289         (MATHCONST): Likewise.
26290         (PRINTF_EXPR): Likewise.
26291         (PRINTF_XEXPR): Likewise.
26292         (PRINTF_NEXPR): Likewise.
26293         (TEST_FLOAT): Likewise.
26294         (TEST_MATHVEC): Likewise.
26295         (__NO_MATH_INLINES): Likewise.
26296         (CNCT): Likewise.
26297         (CONCAT): Likewise.
26298         (WRAPPER_NAME): Likewise.
26299         (WRAPPER_DECL): Likewise.
26300         (WRAPPER_DECL_ff): Likewise.
26301         (WRAPPER_DECL_fFF): Likewise.
26302         (VECTOR_WRAPPER): Likewise.
26303         (VECTOR_WRAPPER_ff): Likewise.
26304         (VECTOR_WRAPPER_fFF): Likewise.
26305         (VEC_LEN): New macro.
26306         * math/test-float-vlen16.h: Include test-float.h,
26307         test-math-no-inline.h and test-math-vector.h.
26308         (FLOAT): Remove macro.
26309         (FUNC): Likewise.
26310         (MATHCONST): Likewise.
26311         (PRINTF_EXPR): Likewise.
26312         (PRINTF_XEXPR): Likewise.
26313         (PRINTF_NEXPR): Likewise.
26314         (TEST_FLOAT): Likewise.
26315         (TEST_MATHVEC): Likewise.
26316         (__NO_MATH_INLINES): Likewise.
26317         (CNCT): Likewise.
26318         (CONCAT): Likewise.
26319         (WRAPPER_NAME): Likewise.
26320         (WRAPPER_DECL): Likewise.
26321         (WRAPPER_DECL_ff): Likewise.
26322         (WRAPPER_DECL_fFF): Likewise.
26323         (VECTOR_WRAPPER): Likewise.
26324         (VECTOR_WRAPPER_ff): Likewise.
26325         (VECTOR_WRAPPER_fFF): Likewise.
26326         (VEC_LEN): New macro.
26327         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26328         test-vec-loop.h.
26329         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26330         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26331         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26332         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26333         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26334         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26335         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26337 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26339         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26340         (__getlogin_r): ... this.
26342 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26344         [BZ #18594]
26345         * math/s_ccosh.c (__ccosh): Compare with least normal value
26346         instead of comparing class with FP_SUBNORMAL.
26347         * math/s_ccoshf.c (__ccoshf): Likewise.
26348         * math/s_ccoshl.c (__ccoshl): Likewise.
26349         * math/s_cexp.c (__cexp): Likewise.
26350         * math/s_cexpf.c (__cexpf): Likewise.
26351         * math/s_cexpl.c (__cexpl): Likewise.
26352         * math/s_csin.c (__csin): Likewise.
26353         * math/s_csinf.c (__csinf): Likewise.
26354         * math/s_csinh.c (__csinh): Likewise.
26355         * math/s_csinhf.c (__csinhf): Likewise.
26356         * math/s_csinhl.c (__csinhl): Likewise.
26357         * math/s_csinl.c (__csinl): Likewise.
26358         * math/s_ctan.c (__ctan): Likewise.
26359         * math/s_ctanf.c (__ctanf): Likewise.
26360         * math/s_ctanh.c (__ctanh): Likewise.
26361         * math/s_ctanhf.c (__ctanhf): Likewise.
26362         * math/s_ctanhl.c (__ctanhl): Likewise.
26363         * math/s_ctanl.c (__ctanl): Likewise.
26364         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26365         csin, csinh, ctan and ctanh.
26366         * math/auto-libm-test-out: Regenerated.
26367         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26368         * sysdeps/i386/fpu/libm-test-ulps: Update.
26369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26371 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26373         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26374         return value is wrong, print the expected value too.
26376 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26378         [BZ #18585]
26379         * elf/readlib.c (is_gdb_python_file): New.
26380         (process_file): Don't issue errors on filenames with -gdb.py
26381         suffix.
26383 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26385         * math/auto-libm-test-in: Add more tests of csin and csinh.
26386         * math/auto-libm-test-out: Regenerated.
26387         * math/libm-test.inc (csin_test_data): Remove tests moved to
26388         auto-libm-test-in.
26389         (csinh_test_data): Likewise.
26391         [BZ #18593]
26392         * math/s_csin.c (__csin): Negate before rather than after possibly
26393         overflowing multiplication.
26394         * math/s_csinf.c (__csinf): Likewise.
26395         * math/s_csinh.c (__csinh): Likewise.
26396         * math/s_csinhf.c (__csinhf): Likewise.
26397         * math/s_csinhl.c (__csinhl): Likewise.
26398         * math/s_csinl.c (__csinl): Likewise.
26399         * math/auto-libm-test-in: Add some tests of csin and csinh.
26400         * math/auto-libm-test-out: Regenerated.
26401         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26402         (csinh_test_data): Likewise.
26403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26405         [BZ #18586]
26406         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26407         underflow exception for small results.
26409 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26411         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26412         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26413         variable and included header.
26414         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26416         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26418         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26420         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26421         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26422         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26423         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26424         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26425         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26426         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26427         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26428         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26429         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26431 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26433         [BZ #16526]
26434         [BZ #16538]
26435         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26436         (__sin): Force underflow exception for arguments with small
26437         absolute value.
26438         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26439         (__kernel_sinf): Force underflow exception for arguments with
26440         small absolute value.
26441         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26442         (__kernel_sincosl): Force underflow exception for arguments with
26443         small absolute value.
26444         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26445         (__kernel_sinl): Force underflow exception for arguments with
26446         small absolute value.
26447         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26448         (__kernel_sincosl): Force underflow exception for arguments with
26449         small absolute value.
26450         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26451         (__kernel_sinl): Force underflow exception for arguments with
26452         small absolute value.
26453         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26454         (__kernel_sinl): Force underflow exception for arguments with
26455         small absolute value.
26456         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26457         (__kernel_sinf): Force underflow exception for arguments with
26458         small absolute value.
26459         * math/auto-libm-test-in: Add more tests of sin and sincos.
26460         * math/auto-libm-test-out: Regenerated.
26462         [BZ #18245]
26463         [BZ #18583]
26464         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26465         (__kernel_standard_l): Use feholdexcept and fesetenv around
26466         conversion to double instead of special-casing overflow and
26467         underflow.
26468         * math/libm-test.inc (fmod_test_data): Add more tests.
26469         (remainder_test_data): Likewise.
26470         (sqrt_test_data): Likewise.
26472 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26474         [BZ #17403]
26475         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26476         atomic_read_barrier, atomic_write_barrier): Define.
26477         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26478         atomic_read_barrier, atomic_write_barrier): Define.
26480 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26482         * math/Makefile [$(PERL) != no]
26483         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26484         dependency on libm-test.stmp below the inclusion of Rules.
26486 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26489         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26490         and included header.
26491         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26492         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26493         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26499         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26500         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26501         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26502         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26503         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26504         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26505         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26506         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26507         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26508         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26509         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26511 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26513         [BZ #18371]
26514         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26515         intermediate but not final result might underflow.
26516         * math/s_csqrtf.c (__csqrtf): Likewise.
26517         * math/s_csqrtl.c (__csqrtl): Likewise.
26518         * math/auto-libm-test-in: Add more tests of csqrt.
26519         * math/auto-libm-test-out: Regenerated.
26520         * sysdeps/i386/fpu/libm-test-ulps: Update.
26522         [BZ #18219]
26523         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26524         threshold on absolute value of exponent for which scaling is used.
26525         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26526         * math/auto-libm-test-in: Add more tests of exp2.
26527         * math/auto-libm-test-out: Regenerated.
26529 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26531         [BZ #17977]
26532         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26533         when initializing interface list, based on the bug analysis
26534         and the patch proposed by Eric Newton.
26535         * resolv/tst-res_hconf_reorder.c: New test.
26536         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26537         tst-res_hconf_reorder.
26538         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26539         and $(shared-thread-library).
26540         (tst-res_hconf_reorder-ENV): New variable.
26542         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26543         in comment.
26545 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26547         [BZ #16353]
26548         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26549         (__expm1): Force underflow exception for arguments with small
26550         absolute value.
26551         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26552         (__expm1f): Force underflow exception for arguments with small
26553         absolute value.
26554         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26555         (__expm1): Force underflow exception for arguments with small
26556         absolute value.
26557         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26558         (__expm1f): Force underflow exception for arguments with small
26559         absolute value.
26560         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26561         Check for small arguments before calling __expm1.
26562         * math/auto-libm-test-in: Do not mark underflow exceptions as
26563         possibly missing for bug 16353.
26564         * math/auto-libm-test-out: Regenerated.
26566 2015-06-22  Andreas Schwab  <schwab@suse.de>
26568         [BZ #18513]
26569         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26570         PTR queries.
26572 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26574         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26576         * string/strcoll_l.c: Remove unused struct element idxnow.
26578 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26580         [BZ #18569]
26581         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26582         underflow and return argument in case of subnormal argument.
26583         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26584         Likewise.
26585         * math/auto-libm-test-in: Add more tests of expm1.
26586         * math/auto-libm-test-out: Regenerated.
26588         [BZ #16361]
26589         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26590         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26591         tiny results.
26592         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26593         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26594         tiny results.
26595         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26596         mark underflow exceptions as possibly missing for bug 16361.
26597         * math/auto-libm-test-out: Regenerated.
26599 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26601         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26602         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26603         Remove variable.
26604         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26605         (test-xfail-XOPEN2K8/utmpx.h/conform).
26607         * conform/conformtest.pl ($xerrors): New variable.
26608         (note_error): New function.
26609         (compiletest): New argument $xfail.  Use not_error.
26610         (runtest): Likewise.
26611         (top level): Handle xfail- lines.  Update calls to compiletest and
26612         runtest.  Handle xfail- and optional- in headers listed with
26613         allow-header.
26614         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26615         (O_EXEC): Likewise.
26616         (O_SEARCH): Likewise.
26617         * conform/data/stropts.h-data (ioctl): Likewise.
26618         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26619         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26620         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26621         (msghdr.msg_controllen): Likewise.
26622         (cmsghdr.cmsg_len): Likewise.
26623         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26624         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26625         variable.
26626         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26627         (test-xfail-XPG4/stropts.h/conform): Likewise.
26628         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26629         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26630         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26631         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26632         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26633         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26634         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26635         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26636         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26637         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26638         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26639         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26640         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26641         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26642         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26643         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26644         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26645         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26646         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26648 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26650         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26651         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26652         definitions for proper unfolding of __MATHDECL_VEC.
26654 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26656         * benchtests/bench-strcoll.c:
26657         Include string.h.
26658         (main): Remove unused variable res.
26660 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26662         * timezone/Makefile (%/UTC %/Universal):
26663         Generate test-result files for UTC and Universal.
26665 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26667         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26669 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26671         [BZ #16350]
26672         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26673         for arguments with small absolute value.
26674         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26675         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26676         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26677         (__asinh): Force underflow exception for arguments with small
26678         absolute value.
26679         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26680         (__asinhf): Force underflow exception for arguments with small
26681         absolute value.
26682         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26683         (__asinhl): Force underflow exception for arguments with small
26684         absolute value.
26685         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26686         (__asinhl): Force underflow exception for arguments with small
26687         absolute value.
26688         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26689         (__asinhl): Force underflow exception for arguments with small
26690         absolute value.
26691         * math/auto-libm-test-in: Do not mark underflow exceptions as
26692         possibly missing for bug 16350.
26693         * math/auto-libm-test-out: Regenerated.
26695         * include/bits/ipc.h: Remove file.
26696         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26697         variable.
26698         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26699         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26700         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26701         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26702         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26703         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26704         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26705         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26706         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26708         * math/auto-libm-test-in: Remove spurious underflow allowance for
26709         tests of cexp.
26710         * math/auto-libm-test-out: Regenerated.
26712         [BZ #18558]
26713         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26714         unconditional definition.
26715         (MCAST_BLOCK_SOURCE): Likewise.
26716         (MCAST_UNBLOCK_SOURCE): Likewise.
26717         (MCAST_LEAVE_GROUP): Likewise.
26718         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26719         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26720         (MCAST_MSFILTER): Likewise.
26721         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26722         Remove variable.
26723         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26724         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26725         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26726         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26727         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26729 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26731         * NEWS: Mention addition of x86_64 vector sincosf.
26732         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26733         * math/test-float-vlen4.h: Likewise.
26734         * math/test-float-vlen8.h: Likewise.
26735         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26736         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26737         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26738         * sysdeps/x86_64/fpu/Versions: New versions added.
26739         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26740         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26741         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26742         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26743         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26744         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26748         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26749         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26750         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26751         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26752         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26753         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26754         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26755         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26756         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26757         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26758         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26759         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26760         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26761         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26762         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26764         * NEWS: Mention addition of x86_64 vector sincos.
26765         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26766         * math/math.h (__MATHDECL_VEC): New macro.
26767         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26768         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26769         declaration under condition.
26770         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26771         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26772         TEST_VEC_LOOP change.
26773         * math/test-double-vlen4.h: Likewise.
26774         * math/test-double-vlen8.h: Likewise.
26775         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26776         * math/test-float-vlen4.h: Likewise.
26777         * math/test-float-vlen8.h: Likewise.
26778         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26779         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26781         * sysdeps/x86_64/fpu/Versions: New versions added.
26782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26783         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26784         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26785         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26786         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26787         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26788         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26789         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26791         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26792         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26793         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26794         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26795         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26796         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26797         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26798         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26799         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26800         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26801         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26802         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26803         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26804         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26805         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26807         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26808         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26809         redirections for powf.
26810         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26811         * sysdeps/x86_64/fpu/Versions: New versions added.
26812         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26813         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26814         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26815         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26816         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26817         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26818         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26819         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26820         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26821         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26822         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26823         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26824         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26825         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26826         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26827         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26828         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26829         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26830         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26831         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26832         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26834         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26835         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26836         * math/test-float-vlen16.h: Fixed 2 argument macro.
26837         * math/test-float-vlen4.h: Likewise.
26838         * math/test-float-vlen8.h: Likewise.
26839         * NEWS: Mention addition of x86_64 vector powf.
26841 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26843         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26844         and redefine.
26845         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26846         and redefine.
26847         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26848         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26849         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26851         [BZ #18553]
26852         * resource/getpriority.c (getpriority): Rename to __getpriority
26853         and define as weak alias of __getpriority.
26854         * resource/setpriority.c (setpriority): Rename to __setpriority
26855         and define as weak alias of __setpriority.
26856         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26857         __getpriority and define as weak alias of __getpriority.
26858         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26859         __setpriority and define as weak alias of __setpriority.
26860         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26861         strong name.
26862         (setpriority): Use __setpriority as strong name.
26863         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26864         __getpriority and define as weak alias of __getpriority.
26865         * include/sys/resource.h (__getpriority): Declare.  Use
26866         libc_hidden_proto.
26867         (__setpriority): Likewise.
26868         (getpriority): Don't use libc_hidden_proto.
26869         (setpriority): Likewise.
26870         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26871         getpriority.  Call __setpriority instead of setpriority.
26872         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
26873         Remove variable.
26875         [BZ #18547]
26876         * misc/getttyent.c (getttynam): Rename to __getttynam and define
26877         as weak alias of __getttynam.  Use prototype function definition.
26878         Call __setttyent, __getttyent and __endttyent instead of
26879         setttyent, getttyent and endttyent.
26880         (getttyent): Rename to __getttyent and define as weak alias of
26881         __getttyent.  Call __setttyent instead of setttyent.  Call
26882         __fgets_unlocked instead of fgets_unlocked.
26883         (setttyent): Rename to __setttyent and define as weak alias of
26884         __setttyent.
26885         (endttyent): Rename to __endttyent and define as weak alias of
26886         __endttyent.
26887         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
26888         (__setttyent): Likewise.
26889         (__endttyent): Likewise.
26890         (getttyent): Don't use libc_hidden_proto.
26891         (setttyent): Likewise.
26892         (endttyent): Likewise.
26893         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
26894         __endttyent instead of setttyent, getttyent and endttyent.
26895         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
26896         Remove variable.
26898         [BZ #18546]
26899         * socket/recv.c (__recv): Use libc_hidden_def.
26900         * socket/socket.c (__socket): Likewise.
26901         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26902         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26903         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
26904         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
26905         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
26906         libc_hidden_def.
26907         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
26908         libc_hidden_weak.
26909         * include/sys/socket.h (__socket): Do not use attribute_hidden.
26910         Use libc_hidden_proto.
26911         (__recv): Likewise.
26912         * socket/Versions (libc): Export __recv and __socket at version
26913         GLIBC_PRIVATE.
26914         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
26915         instead of recv.
26916         (init_mq_netlink): Call __socket instead of socket.
26917         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
26918         Remove variable.
26920         [BZ #18545]
26921         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
26922         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
26923         hidden_weak.
26924         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
26925         define as alias of __mq_timedsend.  Use hidden_weak.
26926         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
26927         __mq_timedsend as strong name.
26928         (mq_timedreceive): Use __mq_timedreceive as strong name.
26929         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
26930         (__mq_timedreceive): Likewise.
26931         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
26932         __mq_timedreceive instead of mq_timedreceive.
26933         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
26934         instead of mq_timedsend.
26935         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
26936         Remove variable.
26938         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
26939         hidden_def and hidden_weak instead of libc_hidden_def and
26940         libc_hidden_weak.
26941         (top level): Refer to hidden_def in comment.
26942         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
26943         macro.  Use it instead of libc_hidden_def.
26944         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
26945         specify __GI_* name explicitly.
26946         (mq_timedreceive): Likewise.
26947         (mq_setattr): Likewise.
26949         [BZ #18544]
26950         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
26951         __pthread_barrier_init and define as weak alias of
26952         __pthread_barrier_init.
26953         * sysdeps/sparc/nptl/pthread_barrier_init.c
26954         (pthread_barrier_init): Likewise.
26955         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
26956         __pthread_barrier_wait and define as weak alias of
26957         __pthread_barrier_wait.
26958         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26959         (pthread_barrier_wait): Likewise.
26960         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26961         (pthread_barrier_wait): Likewise.
26962         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
26963         (pthread_barrier_wait): Likewise.
26964         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
26965         (pthread_barrier_wait): Likewise.
26966         * nptl/Versions (libpthread): Export __pthread_barrier_init and
26967         __pthread_barrier_wait at version GLIBC_PRIVATE.
26968         * include/pthread.h (__pthread_barrier_init): Declare.
26969         (__pthread_barrier_wait): Likewise.
26970         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
26971         Call __pthread_barrier_wait instead of pthread_barrier_wait.
26972         (helper_thread): Likewise.
26973         (init_mq_netlink): Call __pthread_barrier_init instead of
26974         pthread_barrier_init.
26976         [BZ #18542]
26977         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
26978         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
26979         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
26980         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
26981         vswscanf.
26982         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
26983         Remove variable.
26985         [BZ #18540]
26986         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
26987         strong alias of _IO_fflush.  Use libc_hidden_def.
26988         * libio/iofflush_u.c (fflush_unlocked): Rename to
26989         __fflush_unlocked and define as weak alias of __fflush_unlocked.
26990         Use libc_hidden_weak.
26991         * include/stdio.h (__fflush_unlocked): Declare.  Use
26992         libc_hidden_proto.
26993         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
26994         fflush_unlocked.
26995         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
26996         Remove variable.
26998         [BZ #18539]
26999         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27000         define as weak alias of __addseverity.
27001         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27002         Remove variable.
27003         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27004         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27005         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27007         [BZ #18536]
27008         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27009         (__tfind): Likewise.
27010         (__tdelete): Likewise.
27011         (__twalk): Likewise.
27012         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27013         __twalk to GLIBC_PRIVATE.
27014         * include/search.h (__tsearch): Use libc_hidden_proto.
27015         (__tfind): Likewise.
27016         (__tdelete): Likewise.
27017         (__twalk): Likewise.
27018         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27019         Call __tdelete instead of tdelete.
27020         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27021         tfind.  Call __tsearch instead of tsearch.
27022         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27023         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27024         Remove variable.
27025         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27027         [BZ #18534]
27028         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27029         (dprintf): Define as a weak alias of __dprintf, not a strong
27030         alias.
27031         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27032         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27033         dprintf.
27034         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27035         Remove variable.
27036         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27037         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27039         [BZ #18533]
27040         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27041         not a strong alias.
27042         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27043         Remove variable.
27045         [BZ #18532]
27046         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27047         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27048         (in6addr_loopback): Rename to __in6addr_loopback and define as
27049         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27050         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27051         libc_hidden_proto.
27052         (__in6addr_any): Likewise.
27053         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27054         in6addr_any.
27055         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27056         variable.
27057         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27059 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27061         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27062         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27063         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27064         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27065         redirections for pow.
27066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27067         * sysdeps/x86_64/fpu/Versions: New versions added.
27068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27070         build of SSE, AVX2 and AVX512 IFUNC versions.
27071         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27072         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27073         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27074         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27075         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27076         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27077         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27078         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27079         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27080         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27081         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27082         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27083         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27084         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27085         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27086         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27087         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27088         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27089         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27090         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27091         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27092         * NEWS: Mention addition of x86_64 vector pow.
27094         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27095         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27096         redirections for expf.
27097         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27098         * sysdeps/x86_64/fpu/Versions: New versions added.
27099         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27100         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27101         build of SSE, AVX2 and AVX512 IFUNC versions.
27102         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27103         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27104         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27105         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27106         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27107         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27108         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27109         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27110         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27111         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27112         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27113         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27114         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27115         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27116         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27117         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27118         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27119         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27120         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27121         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27122         * NEWS: Mention addition of x86_64 vector expf.
27124         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27125         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27127         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27128         redirections for exp.
27129         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27130         * sysdeps/x86_64/fpu/Versions: New versions added.
27131         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27132         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27133         build of SSE, AVX2 and AVX512 IFUNC versions.
27134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27137         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27138         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27139         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27140         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27141         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27142         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27143         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27144         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27145         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27146         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27147         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27148         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27149         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27150         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27151         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27152         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27153         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27154         * NEWS: Mention addition of x86_64 vector exp.
27156         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27157         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27158         redirections for logf.
27159         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27160         * sysdeps/x86_64/fpu/Versions: New versions added.
27161         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27162         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27163         build of SSE, AVX2 and AVX512 IFUNC versions.
27164         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27168         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27169         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27170         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27171         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27172         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27173         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27174         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27175         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27176         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27177         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27178         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27179         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27180         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27182         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27183         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27184         * NEWS: Mention addition of x86_64 vector logf.
27186         * bits/libm-simd-decl-stubs.h: Added stubs for log.
27187         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
27188         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27189         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27190         redirections for log.
27191         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27192         * sysdeps/x86_64/fpu/Versions: New versions added.
27193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27194         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27195         build of SSE, AVX2 and AVX512 IFUNC versions.
27196         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
27197         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
27198         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
27199         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
27200         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
27201         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
27202         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
27203         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
27204         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
27205         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
27206         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
27207         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
27208         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
27209         test.
27210         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27211         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27212         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27213         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27214         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27215         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27216         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27217         * NEWS: Mention addition of x86_64 vector log.
27219 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27221         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
27222         cfi_adjust_cfa_offset argument.
27223         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
27224         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
27226         [BZ #18034]
27227         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
27228         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
27229         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
27230         ordering using ldar.
27231         (_dl_tlsdesc_dynamic): Likewise.
27232         (_dl_tlsdesc_return_lazy): Likewise.
27233         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
27234         relaxed atomics instead of volatile and synchronize with release store.
27235         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
27236         volatile.
27237         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27239 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
27241         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27242         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
27243         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27244         * sysdeps/x86_64/fpu/Versions: New versions added.
27245         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27246         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27247         build of SSE, AVX2 and AVX512 IFUNC versions.
27248         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
27249         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
27250         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
27251         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
27252         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
27253         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
27254         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
27255         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
27256         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
27257         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
27258         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
27259         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
27260         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27261         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27262         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27263         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27264         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27265         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27266         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27267         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27268         * NEWS: Mention addition of x86_64 vector sinf.
27270 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27272         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27273         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27274         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27275         Remove variable.
27276         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27277         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27279 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27281         [BZ #18530]
27282         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27283         strong alias of _IO_fputs.  Use libc_hidden_def.
27284         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27285         and define as weak alias of __fputs_unlocked.  Use
27286         libc_hidden_weak.
27287         * include/stdio.h (__fputs_unlocked): Declare.  Use
27288         libc_hidden_proto.
27289         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27290         fputs_unlocked.
27292         [BZ #18529]
27293         * resolv/netdb.h [__USE_POSIX]: Change condition to
27294         [__USE_XOPEN2K].
27295         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27296         not expect.
27297         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27298         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27299         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27300         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27301         [XPG4 || UNIX98] (AI_ALL): Likewise.
27302         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27303         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27304         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27305         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27306         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27307         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27308         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27309         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27310         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27311         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27312         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27313         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27314         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27315         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27316         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27317         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27318         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27319         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27320         [XPG4 || UNIX98] (gai_strerror): Likewise.
27321         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27322         [XPG4 || UNIX98] (getnameinfo): Likewise.
27324         [BZ #18528]
27325         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27326         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27327         __USE_XOPEN2K8].
27328         (getgrent): Likewise.
27329         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27330         expect.
27331         [XPG3 || POSIX2008] (endgrent): Likewise.
27332         [XPG3] (setgrent): Likewise.
27333         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27334         variable.
27335         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27337         [BZ #18527]
27338         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27339         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27340         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27341         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27342         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27343         * include/unistd.h (__getlogin_r): Declare.  Use
27344         libc_hidden_proto.
27345         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27346         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27347         variable.
27348         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27349         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27350         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27352 2015-06-12  Martin Sebor  <msebor@redhat.com>
27354         [BZ #18512]
27355         * Makerules (check-install-supported): New target.
27356         (install): Add check-install-supported as a dependency.
27357         * manual/install.texi (Installing the C Library): Document
27358         that overriding prefix and exec_prefix is not supported.
27359         Mention DESTDIR.
27360         * INSTALL: Regenerate from the above.
27362 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27364         [BZ #18519]
27365         * posix/Versions (libc): Export __libc_pread at version
27366         GLIBC_PRIVATE.
27367         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27368         instead of pread.
27369         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27370         variable.
27372         [BZ #18522]
27373         * misc/efgcvt_r.c
27374         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27375         (cvt_symbol): Use weak_alias instead of strong_alias.
27376         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27377         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27378         Remove variable.
27379         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27380         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27382         [BZ #18520]
27383         * inet/herrno.c (h_errno): Rename to __h_errno.
27384         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27385         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27386         to __h_errno instead of h_errno.
27387         * nptl/herrno.c (h_errno): Rename to __h_errno.
27388         (__h_errno_location): Refer to __h_errno not h_errno.
27389         * resolv/Versions (h_errno): Rename to __h_errno.
27390         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27391         Remove variable.
27392         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27394 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27396         * configure.ac: More strict check for AVX512 assembler support.
27397         * configure: Regenerated.
27399         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27400         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27401         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27402         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27404         * sysdeps/x86_64/fpu/Versions: New versions added.
27405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27406         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27407         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27408         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27409         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27412         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27414         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27415         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27416         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27417         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27418         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27419         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27420         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27421         test.
27422         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27423         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27424         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27425         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27426         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27427         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27428         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27429         * NEWS: Mention addition of x86_64 vector sin.
27431 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27433         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27434         comment.
27436 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27438         [BZ #18479]
27439         * nptl/pt-interp.c: New file.
27440         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27441         Add pt-interp.
27442         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27443         $(common-objpfx)runtime-linker.h.
27445 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27447         * Makeconfig (+interp): Remove unused variable.
27448         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27449         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27450         $(elf-objpfx)runtime-linker.h.
27451         ($(elf-objpfx)runtime-linker.h): Rename to
27452         $(common-objpfx)runtime-linker.h and move ...
27453         * Makerules [$(build-shared) = yes]: ... here.
27454         * elf/interp.c: Include <runtime-linker.h> instead of
27455         <elf/runtime-linker.h>.
27457 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27459         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27460         (__gettimeofday_syscall): Remove vsyscall fallback.
27461         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27462         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27463         Add syscall fallback function.
27464         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27465         if vDSO is not present.
27466         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27467         fallback function.
27468         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27469         present.
27470         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27471         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27473 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27475         [BZ #18497]
27476         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27477         of wcscmp.
27478         (wcscmp): Define as weak alias of WCSCMP.
27479         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27480         wcscoll.
27481         (USE_HIDDEN_DEF): Define.
27482         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27483         __wcscoll.  Don't use libc_hidden_weak.
27484         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27485         wcscmp.
27486         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27487         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27488         __GI_wcscmp.
27489         (weak_alias): Undefine and redefine.
27490         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27491         __wcscmp and define as weak alias of __wcscmp.
27492         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27493         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27494         (__wcscoll): Likewise.
27495         (wcscmp): Don't use libc_hidden_proto.
27496         (wcscoll): Likewise.
27497         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27498         wcscoll.
27499         * posix/regexec.c (check_node_accept_bytes): Likewise.
27500         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27501         variable.
27502         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27503         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27505         [BZ #18507]
27506         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27507         __fstatvfs and define as weak alias of __fstatvfs.  Use
27508         libc_hidden_weak.
27509         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27510         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27511         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27512         Define as alias of __fstatvfs, not fstatvfs.
27513         (fstatvfs64): Likewise.
27514         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27515         Define as alias of __statvfs, not statvfs.
27516         (statvfs64): Likewise.
27517         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27518         Remove variable.
27520 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27523         (HAVE_GETCPU_VSYSCALL): Define.
27524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27525         (HAVE_GETCPU_VSYSCALL): Likewise.
27526         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27527         * sysdeps/unix/sysv/linux/sched_getcpu.c
27528         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27529         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27530         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27531         prototype.
27532         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27533         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27534         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27536         Define.
27537         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27538         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27539         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27540         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27542 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27544         * sysdeps/x86_64/fpu/Makefile: New file.
27545         * sysdeps/x86_64/fpu/Versions: New file.
27546         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27547         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27548         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27549         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27550         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27551         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27552         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27553         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27554         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27555         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27556         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27557         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27558         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27559         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27560         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27561         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27562         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27563         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27564         * sysdeps/x86_64/configure: Regenerated.
27565         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27566         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27567         * manual/install.texi (Configuring and compiling): Document
27568         --disable-mathvec.
27569         * INSTALL: Regenerated.
27570         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27572         * math/Makefile: Added rules for vector tests.
27573         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27574         declaration under condition.
27575         * math/test-double-vlen2.h: New file.
27576         * math/test-double-vlen4.h: New file.
27577         * math/test-double-vlen8.h: New file.
27578         * math/test-vec-loop.h: Added initialization macro.
27579         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27581         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27582         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27583         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27584         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27586         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27587         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27588         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27589         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27591         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27592         * sysdeps/x86_64/fpu/Versions: New versions added.
27593         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27594         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27595         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27596         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27597         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27598         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27599         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27600         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27601         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27602         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27603         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27604         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27605         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27607         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27608         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27609         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27610         * NEWS: Mention addition of x86_64 vector cosf.
27612         * math/Makefile: Added CFLAGS for new tests.
27613         * math/test-float-vlen16.h: New file.
27614         * math/test-float-vlen4.h: New file.
27615         * math/test-float-vlen8.h: New file.
27616         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27617         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27618         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27619         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27620         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27621         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27622         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27623         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27624         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27625         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27626         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27628 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27630         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27631         * locale/programs/ld-ctype.c: Likewise.
27633 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27635         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27636         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27637         bit_ZMM16_31_state): New macro.
27638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27639         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27641 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27643         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27645 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27647         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27649 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27651         [BZ #18498]
27652         * libio/memstream.c (open_memstream): Rename to __open_memstream
27653         and define as weak alias of __open_memstream.
27654         * include/stdio.h (__open_memstream): Declare.  Use
27655         libc_hidden_proto.
27656         (open_memstream): Don't use libc_hidden_proto.
27657         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27658         open_memstream.
27659         * posix/getopt.c (_getopt_internal_r): Likewise.
27660         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27661         variable.
27662         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27663         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27664         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27666         [BZ #18496]
27667         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27668         instead of wcrtomb.
27670         [BZ #18483]
27671         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27672         [__USE_XOPEN2K8].  Remove redundant #endif.
27673         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27674         Remove redundant #if.
27675         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27676         Remove variable.
27677         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27678         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27680         [BZ #18495]
27681         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27682         (__iswlower): Likewise.
27683         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27684         (__iswlower): Likewise.
27685         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27686         instead of towlower.
27687         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27688         instead of iswlower.  Call __towupper instead of towupper.
27689         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27690         instead of iswalnum.
27692 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27694         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27695         errors to stderr.
27697 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27699         [BZ #15661]
27700         [BZ #17322]
27701         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27702         Check for overflow properly.  Check for O_APPEND.  Ignore large
27703         file system block sizes.  Add comments about problems.
27704         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27705         * manual/filesys.texi (Storage Allocation): New node.
27707 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27709         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27710         cancellable syscalls.
27711         (SYS_ify): Add guard to no redefine it.
27712         (INLINE_SYSCALL): Likewise.
27713         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27714         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27715         SYSCALL_CANCEL instead.
27716         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27717         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27718         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27719         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27720         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27721         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27722         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27723         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27724         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27725         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27726         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27727         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27728         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27729         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27730         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27732         Likewise.
27733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27734         (__libc_pread64): Likewise.
27735         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27736         (__libc_preadv): Likewise.
27737         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27738         (__libc_readv64): Likewise.
27739         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27740         (__libc_pwrite): Likewise.
27741         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27742         (__libc_pwrite64): Likewise.
27743         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27744         (__libc_pwritev): Likewise.
27745         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27746         (__libc_pwritev64): Likewise.
27747         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27748         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27749         (sync_file_range): Likewise.
27750         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27751         Likewise.
27752         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27753         Likewise.
27754         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27755         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27756         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27757         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27758         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27759         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27760         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27761         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27763         Likewise.
27764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27765         (__libc_read64): Likewise.
27766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27767         Likewise.
27768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27769         Likewise.
27770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27771         Likewise.
27772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27773         Likewise.
27774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27775         (__libc_pread64): Likewise.
27776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27777         Likewise.
27778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27779         (__libc_pwrite64): Likewise.
27780         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27781         (sync_file_range): Likewise.
27782         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27783         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27784         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27785         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27786         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27787         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27788         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27789         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27790         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27791         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27792         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27793         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27794         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27795         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27796         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27797         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27798         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27799         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27800         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27801         Likewise.
27802         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27803         Likewise.
27804         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27805         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27806         Likewise.
27807         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27808         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27809         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27810         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27811         Likewise.
27812         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27813         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27814         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27815         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27816         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27818 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27820         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27821         Include dl-vdso.
27822         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27823         Use VDSO routines for gettimeofday, clock_gettime if
27824         available.
27825         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27826         Declare VDSO symbols.
27827         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27828         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27829         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27830         * sysdeps/unix/sysv/linux/arm/Versions: Add
27831         __vdso_clock_gettime.
27833 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27835         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27836         be an inline implementation regardless of library is built within.
27837         (open_not_cancel_2): Likewise.
27838         (__read_nocancel): Likewise.
27839         (__write_nocancel): Likewise.
27840         (openat_not_cancel): Likewise.
27841         (openat_not_cancel_3): Likewise.
27842         (openat64_not_cancel): Likewise.
27843         (openat64_not_cancel_3): Likewise.
27844         (__close_nocancel): Likewise.
27845         (pause_not_cancel): Likewise.
27846         (nanosleep_not_cancel): Likewise.
27847         (sigsuspend_not_cancel): Likewise.
27849 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27851         [BZ #14958]
27852         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27853         wake-up.
27854         (__pthread_rwlock_rdlock_slow): Likewise.
27855         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27856         Likewise.
27857         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27858         Likewise.
27859         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27860         * nptl/tst-rwlock16.c: New file.
27861         * nptl/Makefile (tests): Add new test.
27863 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27865         [BZ #18324]
27866         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27867         missing wake-up of readers.
27868         * nptl/tst-rwlock15.c: New file.
27869         * nptl/Makefile (tests): Add new test.
27871 2015-06-03  Roland McGrath  <roland@hack.frob.com>
27873         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
27874         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
27875         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
27876         and __nacl_supply_interface_rtld.
27877         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
27878         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
27879         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
27880         Add __nacl_supply_interface_rtld.
27881         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
27883 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27885         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
27886         isfinite.
27887         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27888         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
27890 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27892         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
27893         __signbit* with standard C99 macros.
27894         * math/e_exp10l.c: Likewise.
27895         * math/e_exp2l.c: Likewise.
27896         * math/e_scalb.c: Likewise.
27897         * math/e_scalbf.c: Likewise.
27898         * math/e_scalbl.c: Likewise.
27899         * math/s_ldexp.c: Likewise.
27900         * math/s_ldexpf.c: Likewise.
27901         * math/s_ldexpl.c: Likewise.
27902         * math/w_atan2.c: Likewise.
27903         * math/w_atan2f.c: Likewise.
27904         * math/w_atan2l.c: Likewise.
27905         * math/w_cosh.c: Likewise.
27906         * math/w_coshf.c: Likewise.
27907         * math/w_coshl.c: Likewise.
27908         * math/w_exp10.c: Likewise.
27909         * math/w_exp10f.c: Likewise.
27910         * math/w_exp10l.c: Likewise.
27911         * math/w_exp2.c: Likewise.
27912         * math/w_exp2f.c: Likewise.
27913         * math/w_exp2l.c: Likewise.
27914         * math/w_fmod.c: Likewise.
27915         * math/w_fmodf.c: Likewise.
27916         * math/w_fmodl.c: Likewise.
27917         * math/w_hypot.c: Likewise.
27918         * math/w_hypotf.c: Likewise.
27919         * math/w_hypotl.c: Likewise.
27920         * math/w_jnl.c: Likewise.
27921         * math/w_lgamma.c: Likewise.
27922         * math/w_lgamma_r.c: Likewise.
27923         * math/w_lgammaf.c: Likewise.
27924         * math/w_lgammaf_r.c: Likewise.
27925         * math/w_lgammal.c: Likewise.
27926         * math/w_lgammal_r.c: Likewise.
27927         * math/w_pow.c: Likewise.
27928         * math/w_powf.c: Likewise.
27929         * math/w_powl.c: Likewise.
27930         * math/w_remainder.c: Likewise.
27931         * math/w_remainderf.c: Likewise.
27932         * math/w_remainderl.c: Likewise.
27933         * math/w_scalb.c: Likewise.
27934         * math/w_scalbf.c: Likewise.
27935         * math/w_scalbl.c: Likewise.
27936         * math/w_scalbln.c: Likewise.
27937         * math/w_scalblnf.c: Likewise.
27938         * math/w_scalblnl.c: Likewise.
27939         * math/w_sinh.c: Likewise.
27940         * math/w_sinhf.c: Likewise.
27941         * math/w_sinhl.c: Likewise.
27942         * math/w_tgamma.c: Likewise.
27943         * math/w_tgammaf.c: Likewise.
27944         * math/w_tgammal.c: Likewise.
27945         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27946         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
27947         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27948         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27949         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27950         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27951         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27952         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27953         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27954         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27955         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27956         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27957         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27958         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27959         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27960         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27961         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27962         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27963         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27966         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27967         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27971         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
27972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27973         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27974         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27975         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
27976         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
27977         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
27978         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
27979         * stdio-common/printf_fp.c: Likewise.
27980         * stdio-common/printf_fphex.c: Likewise.
27981         * stdio-common/printf_size.c: Likewise.
27983 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
27985         [BZ #18470]
27986         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
27987         strnlen.
27988         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
27989         Remove variable.
27990         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27991         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27992         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27993         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27994         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27995         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27996         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27997         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27998         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27999         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28001         [BZ #18468]
28002         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28003         weak alias of __wmemchr.  Use libc_hidden_weak.
28004         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28005         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28006         instead of wmemchr.
28008 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28010         [BZ #18383]
28011         * elf/tst-tlsalign-extern.c: New file.
28012         * elf/tst-tlsalign-extern-static.c: New file.
28013         * elf/tst-tlsalign-vars.c: New file.
28014         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28015         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28016         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28017         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28018         (test-xfail-tst-tlsalign-extern-static): New variable.
28020 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28022         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28023         Use variable name _sc_err instead of err.
28024         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28025         instead of ret.
28026         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28027         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28028         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28029         (INLINE_SYSCALL): Likewise.
28031         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28032         * include/string.h (__strnlen): Use libc_hidden_proto.
28033         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28034         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28035         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28036         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28037         (libc_hidden_def): Undefine and redefine.
28038         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28039         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28040         __GI_strnlen.
28041         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28042         libc_hidden_def.
28043         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28045         [BZ #18469]
28046         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28047         weak alias of __towlower.  Use libc_hidden_weak.
28048         (towupper): Rename to __towupper and define as weak alias of
28049         __towupper.  Use libc_hidden_weak.
28050         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28051         (__towupper): Likewise.
28052         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28053         __towlower instead of towlower.
28055 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28057         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28058         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28060 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28062         * sysdeps/aarch64/libm-test-ulps: Update.
28064 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28066         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28067         Define.
28068         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28070         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28071         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28072         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28073         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28074         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28076 2015-06-01  Martin Sebor  <msebor@redhat.com>
28078         [BZ #18116]
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28080         (__setcontext): Use extended four-operand version of mtsf whenever
28081         possible.
28082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28083         (__novec_swapcontext): Likewise.
28085 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28087         * benchtests/scripts/compare_bench.py: New file.
28088         * benchtests/scripts/import_bench.py (mean): New function.
28089         (split_list): Likewise.
28090         (do_for_all_timings): Likewise.
28091         (compress_timings): Likewise.
28093         * benchtests/scripts/import_bench.py: New file.
28094         * benchtests/scripts/validate_benchout.py: Import import_bench
28095         instead of jsonschema.
28096         (validate_bench): Remove function.
28097         (main): Use import_bench.
28099 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28101         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28102         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28104 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28108 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28110         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28111         set THREAD_SELF->tid to a magic value and futex-wake it.
28112         Pass its address to the thread_exit system call.
28113         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28114         bit is clear.
28115         * sysdeps/nacl/lowlevellock.h: New file.
28116         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28118         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28119         Add TIMEOUT to current time, don't subtract it.
28121 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28123         [BZ #2981]
28124         [BZ #18422]
28125         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28126         ($(objpfx)tst-audit2.out): Also depend on
28127         $(objpfx)tst-auditmod9b.so.
28128         * elf/tst-audit2.c: Include <dlfcn.h>.
28129         (calloc_called): New.
28130         (calloc): Allow to be called more than once.
28131         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28133 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28135         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28136         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28138 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28140         * stdlib/monetary.h: Fix comment.
28142 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28144         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28145         Avoid using variables in #defines that might cause shadowing.
28146         (INTERNAL_VSYSCALL_CALL): Likewise.
28148 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28150         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28152         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28153         * nptl/lll_timedlock_wait.c: ... to this new file.
28154         * nptl/Makefile (libpthread-routines): Add it.
28155         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28156         * nptl/lll_timedwait_tid.c: ... to this new file.
28157         * nptl/Makefile (libpthread-routines): Add it.
28158         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28159         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28160         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28161         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28162         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28163         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28164         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28165         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28166         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28167         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28169 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28171         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28172         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28173         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28175         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28176         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28177         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28178         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28179         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28180         * sysdeps/unix/sysv/linux/tile/sysdep.h
28181         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28182         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28183         using vDSO syscall macro.
28185 2015-05-26  Andriy Rysin  <arysin@gmail.com>
28187         [BZ #17293]
28188         * uk_UA: Fix sorting order for Ukrainian locale
28190 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
28192         * stdlib/monetary.h: Fix comment.
28194 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28196         [BZ #18234]
28197         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
28198         st_mtim and st_ctim members.
28199         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
28200         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
28201         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
28202         (struct stat64): Likewise.
28203         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
28204         (struct stat64): Likewise.
28205         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
28206         (struct stat64): Likewise.
28208 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28210         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
28211         Define and include sysdep-vdso.h.
28212         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
28213         Likewise.
28214         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
28215         Likewise.
28216         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
28217         Define with VDSO_SYMBOL and use PTR_MANGLE.
28218         (__vdso_clock_gettime): Likewise.
28219         (__vdso_clock_getres): Likewise.
28220         (_libc_vdso_platform_setup): Likewise.
28221         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28222         Likewise.
28223         (_libc_vdso_platform_setup): Likewise.
28224         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
28225         Likewise.
28226         (__vdso_clock_gettime): Likewise.
28227         (__vdso_clock_getres): Likewise.
28228         (__vdso_get_tbfreq): Likewise.
28229         (__vdso_getcpu): Likewise.
28230         (__vdso_time): Likewise.
28231         (__vdso_sigtramp_rt64): Likewise.
28232         (__vdso_signtramp32): Likewise.
28233         (__vdso_sigtramp_rt32): Likewise.
28234         (_libc_vdso_platform_setup): Likewise.
28235         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
28236         Likewise.
28237         (__vdso_clock_gettime): Likewise.
28238         (__vdso_clock_getres): Likewise.
28239         (_libc_vdso_platform_setup): Likewise.
28240         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
28241         Likewise.
28242         (__vdso_clock_gettime): Likewise.
28243         (_libc_vdso_platform_setup): Likewise.
28244         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28245         Likewise.
28246         (__vdso_getcpu): Likewise.
28247         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
28248         Use VDSO_SYMBOL macro to define.
28249         (__vdso_clock_gettime): Likewise.
28250         (__vdso_clock_getres): Likewise.
28251         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
28252         Likewise.
28253         (__vdso_clock_gettime): Likewise.
28254         (__vdso_clock_getres): Likewise.
28255         (__vdso_get_tbfreq): Likewise.
28256         (__vdso_getcpu): Likewise.
28257         (__vdso_time): Likewise.
28258         (__vdso_sigtramp_rt64): Likewise.
28259         (__vdso_signtramp32): Likewise.
28260         (__vdso_sigtramp_rt32): Likewise.
28261         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28262         Likewise.
28263         (__vdso_clock_gettime): Likewise.
28264         (__vdso_clock_getres): Likewise.
28265         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28266         Likewise.
28267         (__vdso_clock_gettime): Likewise.
28268         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28269         Likewise.
28270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28271         macro.
28272         (INTERNAL_VSYSCALL): Likewise.
28273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28274         Remove macro.
28275         (INTERNAL_VSYSCALL): Likewise.
28276         (INTERNAL_VSYSCALL_NCS): Likewise.
28277         (INTERNAL_VSYSCALL_CALL): New macro.
28278         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28280         Likewise.
28281         (INTERNAL_VSYSCALL): Likewise.
28282         (INTERNAL_VSYSCALL_NCS): Likewise.
28283         (INTERNAL_VSYSCALL_CALL): New macro.
28284         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28286         (INLINE_VSYSCALL): Remove macro.
28287         (INTERNAL_VSYSCALL): Remove macro.
28288         (INTERNAL_VSYSCALL_NCS): Remove macro.
28289         (INTERNAL_VSYSCALL_CALL): New macro.
28290         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28291         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28292         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28293         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28294         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28296         (INLINE_VSYSCALL): Remove macro.
28297         (INTERNAL_VSYSCALL): Likewise.
28298         (INTERNAL_VSYSCALL_NCS): Likewise.
28299         (INTERNAL_VSYSCALL_CALL): New macro.
28300         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28301         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28302         PTR_DEMANGLE on vDSO pointer.
28303         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28304         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28305         macro.
28306         (INTERNAL_SYSCALL): Likewise.
28307         (INTERNAL_VSYSCALL_NCS): Remove macro.
28308         (INTERNAL_VSYSCALL_CALL): New macro.
28309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28310         Remove macro.
28311         (INTERNAL_VSYSCALL): Likewise.
28312         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28313         sysdep-vdso.h instead of libc-vdso.h.
28314         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28315         definition.
28316         (INLINE_VSYSCALL): Likewise.
28317         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28318         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28319         definition.
28320         (INLINE_VSYSCALL): Likewise.
28321         (INTERNAL_VSYSCALL): Likewise.
28322         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28323         * sysdeps/unix/sysv/linux/timespec_get.c
28324         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28325         (timespec_get): Use ANSI prototype.
28326         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28327         and definition for Linux.
28329 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28331         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28332         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28334 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28336         [BZ #2981]
28337         [BZ #18410]
28338         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28339         for missing DT_PLTRELSZ.
28341 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28343         Remove obsolete aliases that broke 'locale -a'
28344         [BZ #18412]
28345         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28346         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28347         breaking some applications that use 'locale -a' output.
28348         Change the encoding of this file from Latin-1 to ASCII to avoid
28349         other potential problems with people grepping this file.
28351 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28353         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28354         -fasynchronous-unwind-tables.
28355         (CFLAGS-sendto.c): Likewise.
28356         (CFLAGS-sendmsg.c): Likewise.
28357         (CFLAGS-connect.c): Likewise.
28358         (CFLAGS-recvmsg.c): Likewise.
28359         (CFLAGS-recvfrom.c): Likewise.
28360         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28361         (SOCKETCALL): New macro: non-cancellable socketcall.
28362         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28363         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28364         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28365         * sysdeps/unix/sysv/linux/accept.c: New file.
28366         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28367         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28368         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28369         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28370         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28371         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28372         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28373         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28374         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28375         * sysdeps/unix/sysv/linux/send.c: Likewise.
28376         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28377         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28378         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28379         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28380         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28381         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28382         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28383         prototype.
28384         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28385         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28386         instead of __internal_xxx function.
28387         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28388         prototype.
28389         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28390         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28391         instead of __internal_xxx function.
28392         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28393         prototype.
28394         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28395         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28396         instead of __internal_xxx function.
28397         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28398         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28399         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28400         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28401         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28402         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28403         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28404         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28405         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28406         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28407         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28408         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28409         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28410         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28411         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28412         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28413         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28414         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28415         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28416         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28419         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28420         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28421         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28422         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28423         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28424         * sysdeps/unix/sysv/linux/send.S: Likewise.
28425         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28426         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28427         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28428         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28429         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28430         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28431         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28432         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28433         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28434         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28435         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28436         socketcall is implemented in GLIBC.
28438 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28440         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28441         (__fma): Ignore uninitialized warnings around packing.
28442         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28443         (__fmaf): Ignore uninitialized warnings around packing.
28444         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28445         (__fmal): Ignore uninitialized warnings around packing.
28447         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28448         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28449         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28450         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28452         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28453         switch statement into default case.
28454         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28456         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28457         a conditional in forcing "inexact".
28458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28459         Likewise.
28461 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28463         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28464         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28465         for each INTERNAL_SYSCALL use.
28467 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28469         [BZ #438]
28470         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28471         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28472         variable.
28474         [BZ #18444]
28475         * string/basename.c (basename): Rename to __basename and define as
28476         weak alias of __basename.  Use libc_hidden_weak.
28477         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28478         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28479         __basename instead of basename.
28480         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28481         Remove variable.
28482         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28484 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28486         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28487         (_IO_JUMPS_FILE_plus): New.
28488         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28489         _IO_CAST_FIELD_ACCESS.
28490         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28491         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28492         * libio/freopen.c (freopen): Likewise.
28493         * libio/freopen64.c (freopen64): Likewise.
28494         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28495         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28496         * libio/iofwide.c (_IO_fwide): Likewise.
28497         * libio/memstream.c (open_memstream): Likewise.
28498         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28499         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28500         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28502 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28504         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28505         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28506         NADJ.
28507         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28508         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28509         NADJ.
28510         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28511         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28512         NADJ.
28514         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28515         (p == 4) case.
28517         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28518         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28519         Remove variable.
28520         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28521         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28522         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28524 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28526         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28527         Adjust jump table label generation macros.
28529 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28531         * stdio-common/vfprintf.c (vfprintf): Move local variables
28532         args_malloced, specs, specs_malloced, and the code after
28533         do_positional to the printf_positional function.
28534         (printf_positional): New function.
28536 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28538         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28539         function.
28540         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28541         STEP4_TABLE, process_arg): Move macro definitions
28542         out of the vfprintf function.  (Cosmetic change only.)
28544 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28546         * benchtests/Makefile (stdio-common-bench): Define.
28547         (benchset): Add stdio-common-bench.
28548         * sprintf-inputs: New file.
28549         * sprintf-source.c: New file.
28551 2015-05-21  Andreas Schwab  <schwab@suse.de>
28553         [BZ #13028]
28554         [BZ #17053]
28555         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28556         of struct __res_state.
28557         * resolv/res_send.c (__libc_res_nsend): Likewise.
28558         (get_nsaddr): New function.
28559         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28560         statp directly.
28562 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28564         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28565         -D_POSIX_C_SOURCE=199506L.
28567         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28569         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28570         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28571         Do not mention otherwise.
28572         [POSIX] (_XOPEN_VERSION): Do not expect.
28573         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28574         [POSIX] (_POSIX2_C_BIND): Likewise.
28575         [POSIX] (_POSIX2_VERSION): Likewise.
28576         [POSIX] (_XOPEN_XPG2): Likewise.
28577         [POSIX] (_XOPEN_XPG3): Likewise.
28578         [POSIX] (_XOPEN_XPG4): Likewise.
28579         [POSIX] (_XOPEN_UNIX): Likewise.
28580         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28581         [POSIX] (_POSIX_BARRIERS): Likewise.
28582         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28583         [POSIX] (_POSIX_CPUTIME): Likewise.
28584         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28585         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28586         [POSIX] (_POSIX_SHELL): Likewise.
28587         [POSIX] (_POSIX_SPAWN): Likewise.
28588         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28589         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28590         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28591         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28592         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28593         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28594         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28595         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28596         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28597         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28598         [POSIX] (_POSIX2_PBS): Likewise.
28599         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28600         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28601         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28602         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28603         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28604         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28605         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28606         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28607         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28608         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28609         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28610         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28611         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28612         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28613         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28614         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28615         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28616         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28617         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28618         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28619         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28620         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28621         [POSIX] (_SC_2_C_BIND): Likewise.
28622         [POSIX] (_SC_2_C_VERSION): Likewise.
28623         [POSIX] (_SC_2_PBS): Likewise.
28624         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28625         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28626         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28627         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28628         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28629         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28630         [POSIX] (_SC_BARRIERS): Likewise.
28631         [POSIX] (_SC_BASE): Likewise.
28632         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28633         [POSIX] (_SC_DEVICE_IO): Likewise.
28634         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28635         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28636         [POSIX] (_SC_FD_MGMT): Likewise.
28637         [POSIX] (_SC_FIFO): Likewise.
28638         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28639         [POSIX] (_SC_FILE_LOCKING): Likewise.
28640         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28641         [POSIX] (_SC_IOV_MAX): Likewise.
28642         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28643         [POSIX] (_SC_NETWORKING): Likewise.
28644         [POSIX] (_SC_PAGE_SIZE): Likewise.
28645         [POSIX] (_SC_PASS_MAX): Likewise.
28646         [POSIX] (_SC_PIPE): Likewise.
28647         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28648         [POSIX] (_SC_REGEXP): Likewise.
28649         [POSIX] (_SC_SHELL): Likewise.
28650         [POSIX] (_SC_SIGNALS): Likewise.
28651         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28652         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28653         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28654         [POSIX] (_SC_USER_GROUPS): Likewise.
28655         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28656         [POSIX] (_SC_STREAMS): Likewise.
28657         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28658         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28659         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28660         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28661         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28662         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28663         [POSIX] (_PC_FILESIZEBITS): Likewise.
28664         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28665         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28666         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28667         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28668         [POSIX] (uid_t): Likewise.
28669         [POSIX] (gid_t): Likewise.
28670         [POSIX] (off_t): Likewise.
28671         [POSIX] (pid_t): Likewise.
28672         [POSIX] (cuserid): Allow.
28673         (_SC_2_CHAR_TERM): Require constant.
28674         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28675         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28676         variable.
28678 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28680         * sysdeps/nacl/pthread-pids.h: New file.
28681         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28682         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28684         * nptl/pthread-pids.h: New file.
28685         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28686         * nptl/nptl-init.c: Include <pthread-pids.h>.
28687         (__pthread_initialize_minimal_internal):
28688         Call __pthread_initialize_pids instead of set_tid_address syscall.
28690         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28691         * sysdeps/posix/usleep.c: ... here.
28693 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28695         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28696         call_pselect6 object.
28697         [$(subdir) = io]: Remove call_sync_file_range object.
28698         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28699         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28700         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28701         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28703 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28705         * math/s_cproj.c: Add include "math_private.h".
28706         * math/s_cprojf.c: Likewise.
28707         * math/s_cprojl.c: Likewise.
28709 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28711         [BZ #18244]
28712         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28713         high mantissa bit when testing whether P is a NaN.
28714         * math/libm-test.inc (remainder_test_data): Add more tests.
28715         (remquo_test_data): Likewise.
28717         [BZ #18049]
28718         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28719         below -32, return the argument, with underflow if subnormal.
28720         * math/auto-libm-test-in: Add more tests of atanh.
28721         * math/auto-libm-test-out: Regenerated.
28723 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28725         [BZ #18434]
28726         * nptl/tst-sem15.c: New file.
28727         * nptl/Makefile (tests): Add it.
28728         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28729         s/<</>>/ to fix typo in EOVERFLOW check.
28730         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28732 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28734         * manual/strings.texi (envz_remove): Fix typo in safety
28735         annotations.
28737 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28738             Steve Ellcey  <sellcey@imgtec.com>
28740         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28741         in order to avoid strict alias warnings.
28742         (iruserok_af): Ditto for ra.
28744 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28746         [BZ #17581]
28747         * malloc/hooks.c
28748         (magicbyte): Convert to a function and avoid returning 0x01.
28749         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28750         (mem2chunk_check): Fix unsigned comparisons to zero.
28751         Hoist defs of sz and magic.
28753 2015-05-19  Richard Henderson  <rth@redhat.com>
28755         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28757         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28759 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28761         [BZ #16159]
28762         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28763         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28764         (reused_arena): Find a non-corrupt arena.
28765         (heap_trim): Pass arena to unlink.
28766         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28767         malloc_printerr.
28768         (top_check): Likewise.
28769         (free_check): Likewise.
28770         (realloc_check): Likewise.
28771         * malloc/malloc.c (malloc_printerr): Add arena argument.
28772         (unlink): Likewise.
28773         (munmap_chunk): Adjust.
28774         (ARENA_CORRUPTION_BIT): New macro.
28775         (arena_is_corrupt): Likewise.
28776         (set_arena_corrupt): Likewise.
28777         (sysmalloc): Use mmap if there are no usable arenas.
28778         (_int_malloc): Likewise.
28779         (__libc_malloc): Don't fail if arena_get returns NULL.
28780         (_mid_memalign): Likewise.
28781         (__libc_calloc): Likewise.
28782         (__libc_realloc): Adjust for additional argument to
28783         malloc_printerr.
28784         (_int_free): Likewise.
28785         (malloc_consolidate): Likewise.
28786         (_int_realloc): Likewise.
28787         (_int_memalign): Don't touch corrupt arenas.
28788         * malloc/tst-malloc-backtrace.c: New test case.
28790         * Makefile (summarize-tests): Fix return value on success.
28792         * manual/string.texi (Envz Functions): Add envz_remove.
28794 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28796         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28797         (invalid_name): New function, broken out of ...
28798         (__opendirat): ... here.  Call it.
28799         (need_isdir_precheck): New function, broken out of ...
28800         (__opendirat): ... here.  Call it.
28801         Use __fxstatat64, not __xstatat64.
28802         (opendir_oflags): New function, broken out of ...
28803         (__opendirat): ... here.  Call it.
28804         (opendir_tail): New function, broken out of ...
28805         (__opendirat): ... here.  Call it.
28806         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28807         opendir_tail, rather than punting to __opendirat.
28808         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28810 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28812         * .gitignore: Ignore generated *.pyc.
28814 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28816         * include/stdio.h: Define __need_wint_t.
28817         * test-skeleton.c: Avoid `for' loop initial declaration.
28818         * nptl/tst-initializers1.c: Use test-skeleton.c.
28820 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28822         [BZ #18418]
28823         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28825 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28827         [BZ #16352]
28828         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28829         (__ieee754_atanh): Force underflow exception for results with
28830         small absolute value.
28831         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28832         (__ieee754_atanhf): Force underflow exception for results with
28833         small absolute value.
28834         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28835         (__ieee754_atanh): Force underflow exception for results with
28836         small absolute value.
28837         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28838         (__ieee754_atanhf): Force underflow exception for results with
28839         small absolute value.
28840         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28841         (__ieee754_atanhl): Force underflow exception for results with
28842         small absolute value.
28843         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28844         (__ieee754_atanhl): Force underflow exception for results with
28845         small absolute value.
28846         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28847         (__ieee754_atanhl): Force underflow exception for results with
28848         small absolute value.
28849         * math/auto-libm-test-in: Do not allow missing underflow
28850         exceptions from atanh.
28851         * math/auto-libm-test-out: Regenerated.
28853         [BZ #18221]
28854         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28855         2**-28 as threshold for returning x or +/- 1/x.
28856         * math/auto-libm-test-in: Add more tests of tan.
28857         * math/auto-libm-test-out: Regenerated.
28859         [BZ #18220]
28860         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28861         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28862         * math/auto-libm-test-in: Add another test of lgamma.
28863         * math/auto-libm-test-out: Regenerated.
28865 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
28867         * stdio-common/printf_fp.c (___printf_fp): Use abs.
28868         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
28869         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28870         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28871         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
28872         (ADD2A): Use fabs.  (SUB2A): Use fabs.
28873         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
28874         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
28875         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
28876         (log1): Use fabs.  (my_log2): Use fabs.
28877         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
28878         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
28879         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
28880         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
28881         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
28882         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
28883         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
28884         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
28885         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
28886         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
28887         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
28889 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28891         [BZ #18217]
28892         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
28893         as threshold for returning 1 - x.
28894         * math/auto-libm-test-in: Add more tests of erfc.
28895         * math/auto-libm-test-out: Regenerated.
28897 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
28899         [BZ #18196]
28900         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
28901         threshold for large arguments.
28902         * math/auto-libm-test-in: Add another test of atan.
28903         * math/auto-libm-test-out: Regenerated.
28905         [BZ #16339]
28906         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
28907         (__log1p): Force underflow exception for results with small
28908         absolute value.
28909         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
28910         (__log1pf): Force underflow exception for results with small
28911         absolute value.
28912         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
28913         (__log1p): Force underflow exception for results with small
28914         absolute value.
28915         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
28916         (__log1pf): Force underflow exception for results with small
28917         absolute value.
28918         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
28919         (__log1pl): Force underflow exception for results with small
28920         absolute value.
28921         * math/auto-libm-test-in: Do not allow missing underflow
28922         exceptions from log1p.
28923         * math/auto-libm-test-out: Regenerated.
28925 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
28926             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28928         [BZ #16704]
28929         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
28931 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
28933         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
28934         (libmvec): New variable.
28935         * configure.ac: Added option for mathvec build.
28936         * configure: Regenerated.
28937         * mathvec/Depend: New file.
28938         * mathvec/Makefile: New file.
28939         * shlib-versions: Added libmvec.
28940         * math/Makefile: Added rule for libm.so installation.
28942         * bits/math-vector.h: New file.
28943         * bits/libm-simd-decl-stubs.h: New header.
28944         * math/Makefile (headers): Added new header
28945         libm-simd-decl-stubs.h.
28946         * math/math.h (__MATHCALL_VEC): New macro.
28948         * math/gen-libm-have-vector-test.sh: Script generates series of macros
28949         for conditions in testing functions.
28950         * math/Makefile: Added call of libm-have-vector-test.sh.
28951         * math/libm-test.inc (HAVE_VECTOR): New macros.
28953         * math/libm-test.inc: START refactored.
28954         * math/test-double.c (TEST_MATHVEC): Add define.
28955         * math/test-float.c: Likewise.
28956         * math/test-idouble.c: Likewise.
28957         * math/test-ifloat.c: Likewise.
28958         * math/test-ildoubl.c: Likewise.
28959         * math/test-ldouble.c: Likewise.
28960         * sysdeps/generic/math-tests-arch.h
28961         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
28962         architecture check.
28964         * math/test-double.c (FUNC_TEST): New macro.
28965         * math/test-float.c: Likewise.
28966         * math/test-idouble.c: Likewise.
28967         * math/test-ifloat.c: Likewise.
28968         * math/test-ildoubl.c: Likewise.
28969         * math/test-ldouble.c: Likewise.
28970         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
28972 2015-05-13  Roland McGrath  <roland@hack.frob.com>
28974         * sysdeps/nacl/fdopendir.c: New file.
28976         * dirent/scandir-tail.c: New file.
28977         * dirent/scandir64-tail.c: New file.
28978         * dirent/Makefile (routines): Add them.
28979         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
28980         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
28981         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
28982         [!SCANDIR] (SCANDIR_TAIL): New macro.
28983         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
28984         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
28985         (SCANDIRAT): Macro removed.
28986         (SCANDIR_TAIL): New macro.
28987         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
28988         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
28989         (SCANDIRAT): Just call __opendirat and __scandir_tail.
28990         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
28991         (READDIR): Macro removed.
28992         (SCANDIR_TAIL): New macro.
28993         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
28994         (SCANDIR_TAIL): New macro.
28996         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
28997         * dirent/scandir-cancel.c: ... to this new file.
28998         * dirent/Makefile (routines): Add it.
28999         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29000         * sysdeps/unix/sysv/linux/i386/scandir64.c
29001         (SKIP_SCANDIR_CANCEL): Macro removed.
29002         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29004         * dirent/tst-scandir.c: New file.
29005         * dirent/tst-scandir64.c: New file.
29006         * dirent/Makefile (tests): Add them.
29008 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29010         [BZ #18409]
29011         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29013 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29015         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29016         list.
29018 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29020         * benchtests/bench-strcoll.c: New benchmark.
29021         * benchtests/Makefile: Generate locales and run benchmark.
29022         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29023         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29024         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29025         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29026         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29027         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29028         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29029         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29030         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29031         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29032         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29033         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29034         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29035         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29036         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29037         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29038         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29039         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29040         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29041         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29042         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29043         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29044         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29045         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29047 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29049         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29050         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29052 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29054         * posix/uname-values.h: New file.
29055         * posix/uname.c: Include that instead of <config-name.h>.
29056         * sysdeps/nacl/uname-values.h: New file.
29057         * sysdeps/arm/nacl/uname-values.h: New file.
29059 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29061         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29062         splitting into fields.
29064 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29066         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29067         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29068         * locale/localeinfo.h: Add enum collation_encoding_type.
29069         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29070         * programs/ld-collate.c (collate_output): Add encoding type info.
29071         * string/strcoll_l.c (STRDIFF): New function.
29072         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29073         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29075 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29077         [BZ #18397]
29078         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29079         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29080         <fpu_control.h> instead of <math/fpu_control.c>.
29081         * sysdeps/mips/mips32/fpu/Makefile: New file.
29083 2015-05-11  Andreas Schwab  <schwab@suse.de>
29085         [BZ #18007]
29086         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29087         nss_endgrent.
29088         (_nss_compat_endgrent): Call nss_endgrent.
29089         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29090         nss_endpwent.
29091         (_nss_compat_endpwent): Call nss_endpwent.
29092         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29093         needent, call nss_setspent only if non-zero.
29094         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29095         (internal_endspent): Don't call nss_endspent.
29096         (_nss_compat_endspent): Call nss_endspent.
29097         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29098         Remove.  All uses removed.
29099         (internal_setent): Remove parameter stayopen, add parameter
29100         stream.  Use it instead of global variable.
29101         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29102         (internal_endent, internal_getent): Add parameter stream.  Use it
29103         instead of global variable.
29104         (CONCAT(_nss_files_end,ENTNAME))
29105         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29106         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29107         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29108         uses removed.
29109         (internal_setent, internal_endent): Add parameter stream.  Use it
29110         instead of global variable.
29111         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29112         stream.
29113         (get_next_alias): Add parameter stream.
29114         (_nss_files_getaliasent_r): Pass global stream.
29115         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29116         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29117         (_nss_files_gethostbyname4_r): Pass local stream to
29118         internal_setent, internal_getent and internal_endent.  Remove
29119         locking.
29121 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29123         * tst-strfmon1.c (tests): Update expected currency symbol.
29125 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29127         * sysdeps/nacl/gethostname.c: New file.
29129 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29131         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29132         and sinh.
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-08  Carlos O'Donell  <carlos@redhat.com>
29139         [BZ #18125]
29140         * stdlib/tst-setcontext3.c: New file.
29141         * stdlib/tst-setcontext3.sh: New file.
29142         * stdlib/Makefile (tests): Add tst-setcontext3.
29143         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29144         to verify test program created output file.
29145         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29146         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29147         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29148         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29150 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29152         [BZ #18383]
29153         * elf/tst-tlsalign.c: New file.
29154         * elf/tst-tlsalign-static.c: New file.
29155         * elf/tst-tlsalign-lib.c: New file.
29156         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29157         (tests-static): Add tst-tlsalign-static.
29158         (modules-names): Add tst-tlsalign-lib.
29159         (test-xfail-tst-tlsalign): New variable.
29160         (test-xfail-tst-tlsalign-static): New variable.
29162         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29163         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29165 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29167         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29168         csqrt, erfc, sin and sincos.
29169         * math/auto-libm-test-out: Regenerated.
29170         * sysdeps/i386/fpu/libm-test-ulps: Update.
29171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29173 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29175         * sysdeps/aarch64/libm-test-ulps: Update.
29177 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29179         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29180         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29181         * math/auto-libm-test-out: Regenerated.
29182         * sysdeps/i386/fpu/libm-test-ulps: Update.
29183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29185 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29187         [BZ #18265]
29188         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
29189         (wcsncpy): Likewise.
29191 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29193         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29194         Assume __ASSUME_FALLOCATE is always true.
29195         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29196         (__posix_fallocate64_l64): Likewise.
29197         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
29198         (posix_fallocate): Likewise.
29199         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
29200         (__posix_fallocate64_l64): Likewise.
29201         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29202         [!__ASSUME_FALLOCATE]: Add comment.
29204 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29206         * sysdeps/unix/sysv/linux/i386/Makefile
29207         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
29208         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
29209         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
29210         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29211         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29212         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29213         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
29215 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
29217         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
29218         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
29219         tgamma.
29220         * math/auto-libm-test-out: Regenerated.
29221         * sysdeps/i386/fpu/libm-test-ulps: Update.
29222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29224 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29226         * math/auto-libm-test-in: Add more tests of tgamma.
29227         * math/auto-libm-test-out: Regenerated.
29228         * sysdeps/i386/fpu/libm-test-ulps: Update.
29229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29231         * math/auto-libm-test-in: Add more tests of tanh.
29232         * math/auto-libm-test-out: Regenerated.
29233         * sysdeps/i386/fpu/libm-test-ulps: Update.
29234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29236         * math/auto-libm-test-in: Add more tests of tan.
29237         * math/auto-libm-test-out: Regenerated.
29238         * sysdeps/i386/fpu/libm-test-ulps: Update.
29239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29241         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
29242         * math/auto-libm-test-out: Regenerated.
29243         * sysdeps/i386/fpu/libm-test-ulps: Update.
29244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29246         * math/auto-libm-test-in: Add another test of pow.
29247         * math/auto-libm-test-out: Regenerated.
29248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29250         * math/auto-libm-test-in: Add more tests of lgamma.
29251         * math/auto-libm-test-out: Regenerated.
29252         * sysdeps/i386/fpu/libm-test-ulps: Update.
29253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29255         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
29256         log1p.
29257         * math/auto-libm-test-out: Regenerated.
29258         * sysdeps/i386/fpu/libm-test-ulps: Update.
29259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29261 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29263         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29264         Elf64_Chdr structs and ELFCOMPRESS constants.
29266 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29268         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29269         expm1.
29270         * math/auto-libm-test-out: Regenerated.
29271         * sysdeps/i386/fpu/libm-test-ulps: Update.
29272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29274         * math/auto-libm-test-in: Add more tests of erf and erfc.
29275         * math/auto-libm-test-out: Regenerated.
29276         * sysdeps/i386/fpu/libm-test-ulps: Update.
29277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29279 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29281         * config.h.in (HAVE_AARCH64_BE): Add.
29283 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29285         * math/auto-libm-test-in: Add more tests of csqrt.
29286         * math/auto-libm-test-out: Regenerated.
29287         * sysdeps/i386/fpu/libm-test-ulps: Update.
29288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29290         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29291         * math/auto-libm-test-out: Regenerated.
29292         * sysdeps/i386/fpu/libm-test-ulps: Update.
29293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29295         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29297 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29299         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29300         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29302         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29303         (euidaccess, eaccess): Define as weak aliases.
29305         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29306         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29307         but __suseconds_t is often 'long int' so some sources assume that
29308         type is being used (e.g. they use %ld to print tv_usec).
29310 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29312         [BZ #18007]
29313         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29314         (CVE-2014-8121)
29315         * nss/tst-nss-getpwent.c: New file.
29316         * nss/Makefile (tests): Add new test.
29318 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29320         [BZ #18346]
29321         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29322         exponents less than 48 as cases where high part of mantissa needs
29323         examining to determine whether argument is integral.
29324         * math/libm-test.inc (round_test_data): Add more tests.
29326 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29328         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29330 2015-04-27  David S. Miller  <davem@davemloft.net>
29332         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29333         __tls_get_addr.
29334         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29336 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29338         [BZ#18333]
29339         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29341 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29343         [BZ#18333]
29344         * time/tzset.c (parse_tzname): Return error on memory allocation
29345         failure.
29346         * test-skeleton.c (struct temp_name_list): Change type of name
29347         member to non-const.
29348         (add_temp_file): Create a copy of the file name.
29349         (delete_temp_files): Deallocate memory.
29350         (create_temp_file): Add comment.
29352 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29354         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29355         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29357 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29359         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29360         * sysdeps/arm/configure: Regenerated.
29362 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29364         [BZ #17715]
29365         * time/tzfile.c (__tzfile_read): Check for large values of
29366         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29367         * time/tzset.c (__tzstring_len): New function, based on the old
29368         __tzstring function.
29369         (__tzstring): Call __tzstring_len.
29370         (parse_tzname): New helper function extracted from
29371         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29372         the input string.
29373         (parse_offset): New helper function extracted from
29374         __tzset_parse_tz.  Replace switch with fallthrough with
29375         initialization before sscanf.
29376         (parse_rule): Likewise.
29377         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29378         new-style function definition.
29379         * timezone/Makefile (tests): Add tst-tzset.
29380         (tst-tzset.out): Dependencies on time zone files.
29381         (tst-tzset-ENV): Set TZDIR.
29382         (testdata/XT%): Copy crafted time zone files.
29383         * timezone/README: Mention crafted time zone files.
29384         * timezone/testdata/XT1, timezone/testdata/XT2,
29385         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29386         files.
29387         * timezone/tst-tzset.c: New test.
29389 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29391         * Makeconfig (+gccwarn): Remove -Winline.
29393 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29395         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29397 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29399         * NEWS: Mention sysconf() cache information support for s390.
29400         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29402 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29404         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29405         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29406         (__nearbyint): Likewise.
29407         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29408         (copysignl): Likewise.
29410 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29412         [BZ #18287]
29413         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29414         based on padding.  (CVE-2015-1781)
29416 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29418         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29419         libc-vdso.h.
29420         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29421         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29422         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29423         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29424         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29425         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29426         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29427         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29428         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29429         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29430         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29431         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29432         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29433         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29434         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29435         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29436         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29437         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29438         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29439         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29440         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29441         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29442         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29444 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29446         * stdlib/setenv.c (__add_to_environ):
29447         Dump core quickly if setenv (..., NULL, ...) is called.
29448         This time, do it the right way, and pacify GCC with a pragma.
29450 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29452         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29453         IMAP->l_prev cannot be null, and #if out the code for the contrary
29454         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29455         believe that NS (&_dl_ns[NSID]) could point outside the array.
29457         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29458         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29459         before using NSID as an index.
29461 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29463         [BZ #17825]
29464         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29465         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29466         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29468 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29470         Add preliminary port to Google Native Client on ARM.
29471         * abi-tags (.*-.*-nacl.*): New entry.
29472         * sysdeps/arm/nacl: New directory.
29473         * sysdeps/nacl: New directory.
29475 2015-04-16  David S. Miller  <davem@davemloft.net>
29477         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29478         lowlevellock-futex.h
29480 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29482         * sysdeps/tile/configure.ac: New file.
29483         * sysdeps/tile/configure: Regenerated.
29485 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29487         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29488         conditionals for weak_alias and libc_hidden_weak.
29489         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29490         libc_hidden_weak and weak_alias.
29491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29492         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29493         and weak_alias for static one.
29495 2015-04-15  David S. Miller  <davem@davemloft.net>
29497         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29499 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29501         [BZ #18206]
29502         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29503           Use signed comparision instead of substraction to avoid
29504           overflow bug.
29505         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29506           Take the sign of ret.
29507         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29508           Do not expect precise return values. Only the sign matters.
29509         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29510         * wcsmbs/test-wcsncmp.c: New File.
29511         * string/test-strncmp.c: Add wcsncmp support.
29513 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29515         [BZ #6792]
29516         * math/w_log1p.c: New file.
29517         * math/w_log1pf.c: Likewise.
29518         * math/w_log1pl.c: Likewise.
29519         * math/Makefile (libm-calls): Add w_log1p.
29520         * math/s_log1pl.c (log1pl): Remove weak_alias.
29521         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29522         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29523         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29524         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29525         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29526         [NO_LONG_DOUBLE] (log1pl): Likewise.
29527         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29528         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29529         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29530         (log1p): Remove long_double_symbol.
29531         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29532         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29533         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29534         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29535         remove weak_alias for corresponding log1p function.
29536         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29537         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29538         * sysdeps/ia64/fpu/w_log1p.c: New file.
29539         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29540         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29541         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29543 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29545         [BZ #18247]
29546         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29547         decimal exponent by 1.
29548         * stdlib/tst-strtod-round-data: Add more tests.
29549         * stdlib/tst-strtod-round.c (tests): Regenerated.
29551 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29553         * math/auto-libm-test-in: Add more tests of clog and clog10.
29554         * math/auto-libm-test-out: Regenerated.
29555         * sysdeps/i386/fpu/libm-test-ulps: Update.
29556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29558 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29560         * Makeconfig (module-cppflags): Exclude all .v.i files.
29561         (skip-module-cppflags): Variable removed.
29563         * configure.ac (libc_config_ok): Initialize before reading
29564         preconfigure scripts, not after.
29565         * configure: Regenerated.
29567         * test-skeleton.c (TIMEOUT): Move #define to top level.
29568         (main): Grok environment variable TEST_DIRECT.  If set, print
29569         test expectation details into that file and then behave as if
29570         given --direct.
29572 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29574         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29575         warning on 32-bit.
29577 2015-04-08  David S. Miller  <davem@davemloft.net>
29579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29581 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29583         * math/auto-libm-test-in: Add more tests of atanh.
29584         * math/auto-libm-test-out: Regenerated.
29585         * sysdeps/i386/fpu/libm-test-ulps: Update.
29586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29588         * math/auto-libm-test-in: Add more tests of atan.
29589         * math/auto-libm-test-out: Regenerated.
29590         * sysdeps/i386/fpu/libm-test-ulps: Update.
29591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29593 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29595         * elf/pldd.c (main): Rewrite to use struct
29596         scratch_buffer instead of extend_alloca.
29597         * elf/pldd-xx.c (find_maps): Likewise.
29598         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29599         <alloca.h>.
29600         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29601         scratch_buffer instead of extend_alloca.
29602         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29603         grp/compat-initgroups.c.
29604         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29605         Rewrite to use struct scratch_buffer instead of extend_alloca.
29606         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29607         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29609 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29611         * math/auto-libm-test-in: Add more tests of cbrt.
29612         * math/auto-libm-test-out: Regenerated.
29613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29615         * math/auto-libm-test-in: Add more tests of cabs.
29616         * math/auto-libm-test-out: Regenerated.
29617         * sysdeps/i386/fpu/libm-test-ulps: Update.
29618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29620         [BZ #18210]
29621         [BZ #18211]
29622         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29623         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29624         computations.
29625         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29626         clog10.
29627         * math/auto-libm-test-out: Regenerated.
29628         * sysdeps/i386/fpu/libm-test-ulps: Update.
29629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29631         [BZ #18197]
29632         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29633         (atan): Set FE_TONEAREST mode for internal computations.
29634         * math/auto-libm-test-in: Add more tests of atan.
29635         * math/auto-libm-test-out: Regenerated.
29637 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29639         [BZ #17930]
29640         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29642 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29644         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29646 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29648         * include/scratch_buffer.h: New file.
29649         * malloc/scratch_buffer_grow.c: Likewise.
29650         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29651         * malloc/scratch_buffer_set_array_size.c: Likewise.
29652         * malloc/tst-scratch_buffer.c: Likewise.
29653         * malloc/Makefile (routines): Add scratch_buffer_grow.
29654         (tests): Add test case.
29655         * malloc/Versions (GLIBC_PRIVATE): Export
29656         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29657         __libc_scratch_buffer_set_array_size.
29659 2015-04-06  Richard Henderson  <rth@redhat.com>
29661         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29662         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29664         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29665         unsigned int before printing.
29667 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29669         [BZ #17596]
29670         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29671         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29673 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29675         * include/libc-internal.h (libc_max_align_t): Define.
29677 2015-04-02  Andreas Schwab  <schwab@suse.de>
29679         [BZ #16850]
29680         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29682 2015-04-02  Mel Gorman  <mgorman@suse.de>
29684         [BZ #17195]
29685         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29686         as well as the main arena.
29688 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29690         [BZ #18185]
29691         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29692         sharing L2 cache to 2 for Silvermont/Knights Landing.
29694 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29696         [BZ #17711]
29697         * config.make.in (have-protected-data): New.
29698         * configure.ac: Check linker support for protected data symbol.
29699         * configure: Regenerated.
29700         * elf/Makefile (modules-names): Add tst-protected1moda and
29701         tst-protected1modb if $(have-protected-data) is yes.
29702         (tests): Add tst-protected1a and tst-protected1b if
29703         $(have-protected-data) is yes.
29704         ($(objpfx)tst-protected1a): New.
29705         ($(objpfx)tst-protected1b): Likewise.
29706         (tst-protected1modb.so-no-z-defs): Likewise.
29707         * elf/tst-protected1a.c: New file.
29708         * elf/tst-protected1b.c: Likewise.
29709         * elf/tst-protected1mod.h: Likewise.
29710         * elf/tst-protected1moda.c: Likewise.
29711         * elf/tst-protected1modb.c: Likewise.
29713 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29715         [BZ #17711]
29716         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29717         indicates it is called from do_lookup_x on relocation against
29718         protected data, skip the data definion in the executable from
29719         copy reloc.
29720         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29721         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29722         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29723         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29724         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29725         otherwise to 0.
29726         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29727         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29728         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29729         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29730         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29731         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29733 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29735         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29736         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29738 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29740         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29741         THREAD_SETMEM_NC.
29742         * sysdeps/x86_64/nptl/tls.h: Ditto.
29744 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29746         * dlfcn/tststatic.c (main): Converted to ...
29747         (do_test): ... this.
29748         (TEST_FUNCTION): New macro.
29749         Include test-skeleton.c.
29751 2015-03-26  Alan Modra  <amodra@gmail.com>
29753         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29754         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29755         zero for undefined weak.
29756         (elf_machine_plt_conflict): Similarly.
29758 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29760         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29761         atanh.
29762         * math/auto-libm-test-out: Regenerated.
29763         * sysdeps/i386/fpu/libm-test-ulps: Update.
29764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29766         * math/auto-libm-test-in: Add another test of asin.
29767         * math/auto-libm-test-out: Regenerated.
29768         * sysdeps/i386/fpu/libm-test-ulps: Update.
29769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29771         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29772         Remove macro.
29773         (LLL_EBX_REG): Likewise.
29774         (LLL_ENTER_KERNEL): Likewise.
29776         * math/auto-libm-test-in: Add more tests of asin.
29777         * math/auto-libm-test-out: Regenerated.
29778         * sysdeps/i386/fpu/libm-test-ulps: Update.
29779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29781         [BZ #18138]
29782         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29783         libc_do_syscall_args): New structure.
29784         (INTERNAL_SYSCALL_MAIN_0): New macro.
29785         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29786         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29787         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29788         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29789         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29790         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29791         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29792         Replace conditional definitions by conditional definitions of ....
29793         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29794         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29795         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29796         (libpthread-sysdep_routines): Add libc-do-syscall.
29797         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29798         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29799         to __NR_futex not 240.
29801 2015-03-25  Alan Modra  <amodra@gmail.com>
29803         * NEWS: Advertise TLS optimization.
29804         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29805         (DT_PPC_NUM): Increment.
29806         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29807         (CHECK_STATIC_TLS): Use here.
29808         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29809         TLS descriptors.
29810         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29811         * sysdeps/powerpc/dl-tls.c: New file.
29812         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29813         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29814         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29815         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29820 2015-03-25  Alan Modra  <amodra@gmail.com>
29822         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29823         for overlapping .opd entries" to "support...".
29824         * sysdeps/powerpc/powerpc64/configure: Regenerate
29826 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29828         * math/auto-libm-test-in: Add more tests of acos.
29829         * math/auto-libm-test-out: Regenerated.
29830         * sysdeps/i386/fpu/libm-test-ulps: Update.
29831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29833         * math/auto-libm-test-in: Add more tests of expm1.
29834         * math/auto-libm-test-out: Regenerated.
29835         * sysdeps/i386/fpu/libm-test-ulps: Update.
29836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29838 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29840         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29841         * math/auto-libm-test-out: Regenerated.
29842         * sysdeps/i386/fpu/libm-test-ulps: Update.
29843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29845         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29848         * math/auto-libm-test-in: Add more tests of log2.
29849         * math/auto-libm-test-out: Regenerated.
29850         * sysdeps/i386/fpu/libm-test-ulps: Update.
29851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29853 2015-03-23  Roland McGrath  <roland@hack.frob.com>
29855         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29856         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
29857         _IO_IS_APPENDING bit in READ_WRITE instead.
29859 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29861         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29862         (__determine_cpumask_size): Replace extend_alloca with a
29863         variable-length array.  Do not treat res == 0 as an error.
29865 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29867         [BZ #18100]
29868         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29869         and integer overflow.
29870         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29871         (main): Add integer overflow tests.
29872         * manual/pattern.texi (Calling Wordexp): Document additional use
29873         for WRDE_SYNTAX.
29875 2015-03-23  Alan Modra  <amodra@gmail.com>
29877         * config.h.in: Remove HAVE_ASM_PPC_REL16.
29878         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
29879         and false branch of conditional.
29880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29881         Likewise.
29883 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
29885         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
29886         libc-modules.h
29887         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
29888         unused declaration of _hurd_intr_rpc_msg_in_trap.
29889         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
29890         defined instead of whether it is non-zero.
29891         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
29892         input constraint instead of both input and output constraint.  Use ecx
29893         clobber instead of %ecx.
29894         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
29895         mutex_unlock): Use a statement expression instead of an expression list.
29896         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
29897         type to vm_size_t instead of vm_address_t.
29898         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
29899         defined instead of whether it is non-zero.
29900         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
29901         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
29902         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
29903         comparisons with mapaddr.
29904         * nscd/nscd-client.h: Include <time.h>.
29905         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
29906         9th parameter to __vm_region instead of int.
29907         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
29908         * scripts/check-local-headers.sh (exclude): Add device/,
29909         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
29910         cthreads.h.
29912 2015-03-19  Roland McGrath  <roland@hack.frob.com>
29914         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
29915         to account for alignment padding.
29916         * sysdeps/arm/memmove.S: Likewise.
29918 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
29920         * sysdeps/unix/sysv/linux/generic/README: New file.
29922 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
29924         [BZ #18138]
29925         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
29926         (futex_abstimed_wait)
29927         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
29928         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
29929         of lll_futex_timed_wait.
29931 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
29933         [BZ #17542]
29934         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
29936 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
29938         [BZ #17090]
29939         [BZ #17620]
29940         [BZ #17621]
29941         [BZ #17628]
29942         * NEWS: Update.
29943         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
29944         entries with Static TLS too.  Skip entries past the end of the
29945         allocated DTV, from Alan Modra.
29946         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
29947         Static TLS DTV entry set up from...
29948         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
29949         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
29950         * nptl/allocatestack.c (init_one_static_tls): ... and here...
29951         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
29952         for Static TLS.
29953         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
29954         that the slot we find is associated with the given map before
29955         using its generation count.
29956         * nptl_db/db_info.c: Include ldsodefs.h.
29957         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
29958         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
29959         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
29960         (link_map::l_tls_offset): New struct field.
29961         (dtv_t::counter): Likewise.
29962         (rtld_global): New struct.
29963         (_rtld_global): New rtld variable.
29964         (dl_tls_dtv_slotinfo_list): New rtld global field.
29965         (dtv_slotinfo_list): New struct.
29966         (dtv_slotinfo): Likewise.
29967         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
29968         (td_lookup): Rename to...
29969         (td_mod_lookup): ... this.  Use new mod parameter instead of
29970         LIBPTHREAD_SO.
29971         * nptl_db/td_thr_tlsbase.c: Include link.h.
29972         (dtv_slotinfo_list, dtv_slotinfo): New functions.
29973         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
29974         addresses even if the DTV is out of date or missing them.
29975         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
29976         index zero-length arrays.
29977         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
29978         (td_lookup): Make it a macro implemented in terms of...
29979         (td_mod_lookup): ... this declaration.
29980         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
29981         (DB_MAIN_VARIABLE): Likewise.
29983 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29985         [BZ #18134]
29986         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29988 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
29990         * stdlib/setenv.c (__add_to_environ): Revert previous change.
29992 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
29994         [BZ #18128]
29995         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
29996         (atomic_add, atomic_increment_and_test)
29997         (atomic_decrement_and_test): Fix 64-bit arithmetic.
29999 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30001         * stdlib/setenv.c (__add_to_environ):
30002         Dump core quickly if setenv (..., NULL, ...) is called.
30004 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30006         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30007         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30008         all the necessary asm magic in one place.
30009         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30010         using those.
30012 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30014         [BZ #14906]
30015         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30016         traced file mtime. Use consistent log message.
30017         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30018         (register_traced_file): Call install_watches. Always set mtime.
30019         (invalidate_cache): Iterate over all trace files. Call install_watches.
30020         (inotify_check_files): Don't inline. Handle watching parent
30021         directories and configuration file movement in and out.
30022         (handle_inotify_events): New function.
30023         (main_loop_poll): Call handle_inotify_events.
30024         (main_loop_epoll): Likewise.
30025         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30026         (struct traced_file): Use array of inotify fds. Add parent directory,
30027         and basename.
30028         (struct database_dyn): Remove unused file_mtime.
30029         (init_traced_file): New inline function.
30030         (define_traced_file): New macro.
30031         * nss/nss_db/db-init.c: Use define_traced_file.
30032         (_nss_db_init): Use init_traced_file.
30033         * nss/nss_files/files-init.c: Use define_traced_file.
30034         (_nss_files_init): Use init_traced_file.
30036 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30038         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30039         [_LIBC]: Do not include <stdlib.h>.
30040         [!_LIBC] (abort): Remove declaration.
30041         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30042         _FP_STATIC_ASSERT instead of conditionally calling abort.
30043         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30044         (_FP_EXTEND_CNAN): Likewise.
30045         (FP_TRUNC): Likewise.
30046         (__FP_CLZ): Likewise.
30047         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30049 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30051         * manual/string.texi (XPG basename): Fix prototype.
30053 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30055         [BZ #18080]
30056         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30057         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30058         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30059         (__setcontext): Likewise.
30060         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30061         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30062         Call rt_sigprocmask syscall one time to set new signal mask
30063         and retrieve the current signal mask instead of two calls.
30064         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30065         (__swapcontext): Likewise.
30066         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30067         * stdlib/tst-setcontext2.c: New file.
30069 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30071         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30073 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30075         [BZ #18093]
30076         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30077         the wrong size.
30079 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30081         [BZ #18043]
30082         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30084 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30086         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30087         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30088         Remove define.
30089         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30090         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30091         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30092         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30093         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30094         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30095         define.
30096         * nptl_db/td_symbol_list.c (td_lookup): Remove
30097         HAVE_ASM_GLOBAL_DOT_NAME code.
30098         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30099         HAVE_ASM_GLOBAL_DOT_NAME check.
30100         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30101         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30102         (DOT_LABEL): Remove define.
30103         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30104         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30105         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30106         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30107         (__TLS_GET_ADDR): Likewise.
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30109         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30111 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30113         [BZ #18111]
30114         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30115         (_FPU_SETCW): Initialize cw from fpsr before storing.
30116         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30117         (fesetexceptflag): Rewrite using fpu_control.h.
30118         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30120 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30122         [BZ #18110]
30123         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30124         asms.
30125         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30127 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30129         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30130         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30131         abort.
30132         (_FP_FMA): Likewise.
30133         (_FP_DIV): Likewise.
30135 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30137         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30138         with 0 in that case.
30139         * Makefile (summarize-tests): New canned sequence, factored out of
30140         commands for targets tests and xtests.  Display summary lines that
30141         don't start with PASS: or XFAIL: rather than ones that do start with
30142         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30143         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30144         do start with ERROR: or FAIL:.
30145         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30146         (except for [$(build-shared) = yes]).
30147         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30148         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30149         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30150         * nptl/Makefile: Revert 2015-03-04 changes.
30151         [$(CXX) empty] (tests-unsupported): New variable.
30152         * debug/Makefile: Likewise.
30154         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30155         gnulib file.  Replace __attribute with __attribute__ throughout.
30157 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30159         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30161 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30163         [BZ #18104]
30164         * math/auto-libm-test-in: Add another test of pow.
30165         * math/auto-libm-test-out: Regenerated.
30167 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30169         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30170         $(config-cflags-nofma).
30172 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30174         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30175         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30176         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30177         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30178         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30179         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30180         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30181         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30182         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30183         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
30184         Add comment on closing #endif.
30186 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30188         * posix/wordexp.c (CHAR_IN_SET): New macro.
30189         (parse_param): Use it.
30191 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30193         * sysdeps/powerpc/fpu/libm-test-ulps: update.
30195 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30197         [BZ #18043]
30198         * posix/wordexp.c (parse_param): Fix buffer overflow.
30199         * posix/wordexp-test.c (test_case): Add test case.
30201 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30203         [BZ #18042]
30204         * posix/wordexp.c (parse_backtick): Fix off-by-one.
30205         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
30207 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30209         [BZ #18043]
30210         * posix/wordexp-test.c (test_case): Add test for BZ #18043
30211         (do_bz18043): Delete.
30212         (at_page_end): New.
30213         (testit): Refactor to have words at the edge of unreadable page.
30215 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30217         [BZ #16734]
30218         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
30219         Cleanup read-only streams as well.
30220         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
30222 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30224         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
30225         <bits/libc-lockP.h>
30227 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
30229         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
30230         on [__KERNEL__].
30231         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
30232         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
30233         * soft-fp/op-common.h (_FP_DECL): Likewise.
30235 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
30237         * elf/ifuncdep2.c (global): Replace
30238         __attribute__((visibility("protected"))) with
30239         asm (".protected global").
30240         * elf/ifuncmod1.c (global): Likewise.
30241         * elf/ifuncmod5.c (global): Likewise.
30243 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
30245         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
30246         <asm/sfp-machine.h> instead of <sfp-machine.h>.
30248 2015-03-06  Roland McGrath  <roland@hack.frob.com>
30250         * manual/install.texi (Configuring and compiling):
30251         Document test-wrapper-env-only.
30252         * INSTALL: Regenerated.
30254 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30256         [BZ #18043]
30257         * posix/wordexp.c (parse_param): Fix buffer overflow.
30258         * posix/wordexp-test.c (do_bz18043): Add test case.
30260 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30262         * time/tst-strptime2.c (do_test): Ensure failing tests are
30263         reported correctly.
30264         * time/tst-strptime3.c (do_test): Likewise.
30266 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30268         Fix aio_error thread-safety.
30269         * sysdeps/pthread/aio_error.c: New file
30270         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30271         synchronization.
30273 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30275         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30276         (group_number, vfprintf): Use it.
30277         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30278         (JUMP, REF): Use it.
30279         (WORK_BUFFER_SIZE): New enum constant.
30280         (process_arg, vfprintf): Use it.
30282 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30284         * manual/errno.texi (Error Messages): Complete example function
30285         by adding missing #define.
30286         (program_invocation_name): Add statement indicating GNU
30287         extension and reference which header file declares the variable.
30288         (program_invocation_short_name): Likewise.
30290 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30292         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30293         compatibility note.
30295 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30297         * Makeconfig (test-wrapper-env-only): New variable.
30298         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30299         then use that with $(test-wrapper-env-only) rather than using
30300         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30302 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30304         [BZ #18082]
30305         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30306         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30307         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30308         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30309         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30310         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30311         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30312         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30313         Likewise.
30314         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30315         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30316         Likewise.
30317         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30318         Likewise.
30319         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30320         Likewise.
30321         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30322         Likewise.
30323         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30324         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30325         Likewise.
30326         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30327         Likewise.
30328         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30329         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30331 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30333         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30334         (ETH_ALEN): New macro.
30335         (struct ether_addr): Use it for length of ether_addr_octet.
30337         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30338         (setdb): Don't call __nss_configure_lookup for "rpc".
30339         (do_test): Don't call test_rpc.
30340         (output_rpcent, test_rpc): Functions moved ...
30341         * sunrpc/test-rpcent.c: ... to this new file.
30342         * sunrpc/Makefile (tests): Add it.
30344         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30345         __xpg_sigpause.
30346         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30347         * nptl/tst-signal6.c: Likewise.
30348         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30349         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30351         * configure.ac (libc_cv_cxx_link_ok): New check.
30352         Reset CXX to empty if it fails to link.
30353         * configure: Regenerated.
30354         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30355         bug-atexit3-lib only if $(CXX) is nonempty.
30356         * nptl/Makefile (tests): Likewise for tst-cancel24.
30357         (tests, tests-static): Likewise for tst-cancel24-static.
30358         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30359         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30360         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30361         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30363 2015-03-04  Andreas Schwab  <schwab@suse.de>
30365         [BZ #17631]
30366         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30367         for non-GCC compilers.
30368         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30369         Likewise.
30371 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30373         [BZ #17776]
30374         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30375         integer before bitwise and assembly operations.
30376         (feclearexcept): Likewise.
30377         * math/test-fenvinline.c: New file.
30378         * math/Makefile: Add test-fenvinline test.
30380 2015-03-03  Alan Modra  <amodra@gmail.com>
30382         [BZ #16512]
30383         * scripts/localplt.awk: Strip off symbol version.
30384         * NEWS: Mention bug fix.
30386 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30388         * sysdeps/pthread/timer_routines.c
30389         (timer_free_list, thread_free_list, thread_active_list): Make static.
30391 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30393         [BZ #17779]
30394         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30395         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30396         Undefine.
30397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30398         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30399         Likewise.
30400         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30401         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30402         Likewise.
30404 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30406         [BZ #18036]
30407         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30408         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30410 2015-03-02  Andreas Schwab  <schwab@suse.de>
30412         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30413         variable name.
30415 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30417         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30418         Return error status.
30420 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30422         [BZ #15969]
30423         * locale/findlocale.c (_nl_find_locale): Introduce const
30424         version of loc_name and drop unsafe type casts.
30426 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30428         * dlfcn/tststatic2.c (main): Converted to ...
30429         (do_test): ... this.
30430         (TEST_FUNCTION): New macro.
30431         Include test-skeleton.c.
30433 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30435         [BZ #17711]
30436         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30437         (tests-pie): Add vismain.
30438         (CFLAGS-vismain.c): New.
30439         * elf/vismain.c: Add comments for PIE requirement.
30441 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30443         [BZ #18046]
30444         [BZ #18047]
30445         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30446         0x1p-56L as threshold for just returning the argument.
30447         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30448         0x1p-32L as threshold for just returning the argument.
30449         * math/auto-libm-test-in: Add more tests of atanh.
30450         * math/auto-libm-test-out: Regenerated.
30451         * sysdeps/i386/fpu/libm-test-ulps: Update.
30452         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30454 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30456         * string/bcopy.c (bcopy): Call memmove for performance.
30458 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30460         * string/bzero.c (__bzero): Call memset for performance.
30462 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30464         [BZ #18068]
30465         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30466         to 00100000.
30468 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30470         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30472 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30474         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30475         (__kernel_standard): Use CSTR macro when setting exc.name.
30476         * sysdeps/ieee754/Makefile [$(subdir) = math]
30477         (CFLAGS-k_standard.c): Remove variable.
30479         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30480         setting p and q from "else if" to "else".
30481         (qzero): Likewise.
30482         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30483         (qone): Likewise.
30484         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30485         (qzerof): Likewise.
30486         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30487         (qonef): Likewise.
30488         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30489         (qzero): Likewise.
30490         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30491         (qone): Likewise.
30493         [BZ #18038]
30494         [BZ #18039]
30495         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30496         return pi/2 for arguments below 0x1p-113L.
30497         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30498         return pi/2 for arguments below 0x1p-106L.
30499         * math/auto-libm-test-in: Add more tests of acos.
30500         * math/auto-libm-test-out: Regenerated.
30502         [BZ #16351]
30503         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30504         (MO): New macro.
30505         (__ieee754_asin): Force underflow exception for results with small
30506         absolute value.
30507         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30508         (MO): New macro.
30509         (__ieee754_asinf): Force underflow exception for results with
30510         small absolute value.
30511         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30512         (__ieee754_asin): Force underflow exception for results with small
30513         absolute value.
30514         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30515         (__ieee754_asinf): Force underflow exception for results with
30516         small absolute value.
30517         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30518         (__ieee754_asinl): Force underflow exception for results with
30519         small absolute value.
30520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30521         (__ieee754_asinl): Force underflow exception for results with
30522         small absolute value.
30523         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30524         (__ieee754_asinl): Force underflow exception for results with
30525         small absolute value.
30526         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30527         Include <math.h>.
30528         * math/auto-libm-test-in: Do not mark underflow exceptions as
30529         possibly missing for bug 16351.
30530         * math/auto-libm-test-out: Regenerated.
30532         [BZ #18030]
30533         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30534         of power of 2 down when low part has opposite sign.
30535         * math/libm-test.inc (logb_test_data): Add more tests.
30537 2015-02-26  Andreas Schwab  <schwab@suse.de>
30539         [BZ #18032]
30540         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30541         over collating symbol inside a bracket expression.  Minor cleanup.
30542         * posix/tst-fnmatch3.c (do_test): Add test case.
30544 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30546         [BZ #18029]
30547         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30548         Adjust exponent of power of 2 down when low part has opposite
30549         sign.
30550         * math/libm-test.inc (ilogb_test_data): Add more tests.
30552 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30554         [BZ #15969]
30555         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30556         the previous change.
30558         [BZ #15969]
30559         * locale/findlocale.c (_nl_find_locale): Retry archive search
30560         after alias expansion.
30562 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30564         * iconv/tst-iconv3.c (main): Converted to ...
30565         (do_test): ... this.
30566         (TEST_FUNCTION): New macro.
30567         Include test-skeleton.c.
30569         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30570         (convert): Make function static.
30571         (test_unalign): Likewise.  Add const to argument pointee types.
30572         (main): Replace with static function do_test.
30573         Print "Succeeded." only if RET is zero.
30574         (TEST_FUNCTION): New macro.
30575         Include test-skeleton.c.
30577         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30578         returns a null pointer.
30580 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30582         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30583         to __memcpy_ppc only for static builds.
30585 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30587         [BZ #18020]
30588         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30589         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30590         * math/auto-libm-test-in: Add more tests of asinh.
30591         * math/auto-libm-test-out: Regenerated.
30592         * sysdeps/i386/fpu/libm-test-ulps: Update.
30593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30595 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30597         [BZ #15850]
30598         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30599         and ip6_mtuinfo definitions here.
30600         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30601         in this define too.  Update comment.
30603 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30605         * elf/sprof.c (load_shobj): Tweak error message to match others.
30607 2015-02-24  Kevin Easton  <kevin@guarana.org>
30609         [BZ #16145] (partial fix)
30610         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30611         to reduce lock contention.
30613 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30615         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30616         (struct timex): Update time comment.
30617         (ADJ_SETOFFSET): Define.
30619 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30621         [BZ #18019]
30622         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30623         2**56 not 2**28 as threshold for log (2x) formula.
30624         * math/auto-libm-test-in: Add more tests of acosh.
30625         * math/auto-libm-test-out: Regenerated.
30626         * sysdeps/i386/fpu/libm-test-ulps: Update.
30627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30629 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30631         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30632         parenthesis around the buf assignment.
30633         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30635 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30637         [BZ #16783]
30638         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30639         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30640         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30641         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30642         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30643         * math/libm-test.inc (scalb_test_data): Add more tests.
30645 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30647         [BZ #17916]
30648         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30649         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30651 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30653         [BZ #17523]
30654         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30655         * io/bits/fcntl2.h (open): Use it.
30656         (openat): Likewise.
30657         * io/open.c (__libc_open): Likewise.
30658         * io/open64.c (__libc_open64): Likewise.
30659         * io/open64_2.c (__open64_2): Likewise.
30660         * io/open_2.c (__open_2): Likewise.
30661         * io/openat.c (__openat): Likewise.
30662         * io/openat64.c (__openat64): Likewise.
30663         * io/openat64_2.c (__openat64_2): Likewise.
30664         * io/openat_2.c (__openat_2): Likewise.
30665         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30666         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30667         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30668         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30669         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30670         (__open_nocancel): Likewise.
30671         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30672         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30673         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30675 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30677         [BZ #14841]
30678         * resolv/gethnamaddr.c (getanswer): Skip logging if
30679         RES_USE_DNSSEC is set.
30680         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30682 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30684         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30686 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30688         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30689         201304L, for Unicode 7.
30691 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30693         [BZ #17836]
30694         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30695         shared library.  Add gmon-start.os otherwise.
30696         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30697         $(objpfx)gmon-start.os if builing shared library.
30698         ($(objpfx)g$(static-start-installed-name)): Likewise.
30700 2015-02-23  Andreas Schwab  <schwab@suse.de>
30702         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30704 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30706         [BZ #17269]
30707         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30708         (enlarge_userbuf): Likewise.
30710 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30712         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30713         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30714         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30715         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30717 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30719         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30720         expression inside statement expression.
30722 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30724         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30725         <sysdeps/nptl/lowlevellock.h> and remove macros and
30726         functions that are now defined there.
30727         (SYS_futex): Remove.
30728         (lll_compare_and_swap): Remove.
30729         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30731 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30733         [BZ #17999]
30734         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30735         instead of scandirat.
30736         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30737         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30738         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30739         __scandirat.
30740         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30741         (__scandirat): Declare.  Use libc_hidden_proto.
30742         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30743         Remove variable.
30744         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30746 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30748         [BZ #15319]
30749         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30750         (MO): New macro.
30751         (__ieee754_atan2): For results with small absolute value, force
30752         underflow exception and remove excess range and precision from
30753         return value.
30754         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30755         (MO): New macro.
30756         (__ieee754_atan2f): For results with small absolute value, force
30757         underflow exception and remove excess range and precision from
30758         return value.
30759         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30760         (MO): New macro.
30761         (__atan): For results with small absolute value, force underflow
30762         exception and remove excess range and precision from return value.
30763         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30764         (MO): New macro.
30765         (__atanf): For results with small absolute value, force underflow
30766         exception and remove excess range and precision from return value.
30767         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30768         <math.h>.
30769         (__ieee754_atan2): Force underflow exception for results with
30770         small absolute value.
30771         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30772         <math_private.h>.
30773         (atan): Force underflow exception for results with small absolute
30774         value.
30775         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30776         (__atanf): Force underflow exception for results with small
30777         absolute value.
30778         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30779         <math.h>.
30780         (__atanl): Force underflow exception for results with small
30781         absolute value.
30782         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30783         (__atanl): Force underflow exception for results with small
30784         absolute value.
30785         * sysdeps/x86/fpu/bits/mathinline.h
30786         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30787         (__ieee754_atan2): Only define inline for long double.
30788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30789         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30790         * math/auto-libm-test-in: Do not mark underflow exceptions as
30791         possibly missing for bug 15319.  Add more tests of atan2.
30792         * math/auto-libm-test-out: Regenerated.
30793         * math/libm-test.inc (casin_test_data): Do not mark underflow
30794         exceptions as possibly missing for bug 15319.
30795         (casinh_test_data): Likewise.
30796         * sysdeps/i386/fpu/libm-test-ulps: Update.
30798 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30800         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30801         * sysdeps/mips/bits/endian.h: Fix comments.
30803 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30805         [BZ #17996]
30806         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30807         (hdestroy_r): Likewise.
30808         (hsearch_r): Likewise.
30809         (__hcreate_r): Declare and use libc_hidden_proto.
30810         (__hdestroy_r): Likewise.
30811         (__hsearch_r): Likewise.
30812         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30813         (hcreate): Call __hcreate_r instead of hcreate_r.
30814         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30815         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30816         as weak alias of __hcreate_r.
30817         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30818         __hdestroy_r.
30819         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30820         __hsearch_r.
30821         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30822         Remove variable.
30823         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30824         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30825         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30826         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30828 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30830         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30831         arena_lock into a single arena_get.
30833 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30835         * dl-reloc.c: Inlucde libc-internal.h.
30836         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30837         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30838         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30839         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30840         (grow_heap): Likewise.
30841         * malloc/malloc.c: Include libc-internal.h.
30842         (do_check_malloc): Call powerof2.
30843         (sysmalloc): Use pagesize. Call ALIGN_UP.
30844         (systrim): Use pagesize.
30845         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30846         (__libc_valloc): Use pagesize.
30847         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30849 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30851         [BZ #17991]
30852         * include/sys/resource.h (__getrlimit64): Declare.  Use
30853         libc_hidden_proto.
30854         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30855         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
30856         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30857         getrlimit64.
30858         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30859         __getrlimit64.
30860         [!getrlimit64] (getrlimit64): Define as weak alias of
30861         __getrlimit64.  Use libc_hidden_weak.
30862         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30863         using __getrlimit64 not __new_getrlimit64.
30864         (__GI_getrlimit64): Likewise.
30865         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30866         Likewise.
30867         (__GI_getrlimit64): Likewise.
30868         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30870         (getrlimit): Add __getrlimit64 alias.
30871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30872         Likewise.
30873         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
30874         Remove variable.
30875         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30876         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30878 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
30880         * libio/fileops.c: Add missing sys/mman.h
30881         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
30883 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30885         * manual/math.texi (Errors in Math Functions): Clarify goals
30886         regarding inexact and underflow exceptions.
30888 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30890         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
30891         * sysdeps/mips/memset.S: Ditto.
30893 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30895         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
30897 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30899         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
30900         (__v1longjmp): Remove versioned symbol.
30901         (__v1siglongjmp): Remove alias and versioned symbol.
30902         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
30903         (__v2siglongjmp): Likewise.
30905 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30907         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
30909 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
30911         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
30913 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30915         [BZ #17987]
30916         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
30917         zero result does not depend on the sign resulting from
30918         subtraction.
30919         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30920         Likewise.
30921         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30922         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30923         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30924         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30925         * math/libm-test.inc (remquo_test_data): Add more tests.
30927 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
30929         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
30930         Problem reported by J William Piggott.
30932 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30934         [BZ #17978]
30935         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
30936         products 4 * y and 2 * y where those would overflow.
30937         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30938         Likewise.
30939         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30940         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30941         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30942         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30943         * math/libm-test.inc (remquo_test_data): Add more tests.
30945         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
30947         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
30948         [defined _COMPILING_NEWLIB].
30949         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
30950         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
30952         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
30953         [!defined __mips_isa_rev || __mips_isa_rev < 6].
30955 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30957         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
30958         acquired.
30960 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
30962         [BZ #17792]
30963         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
30964         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
30965         HOST_STACK_END_ADDR): Likewise.
30967 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
30969         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
30970         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
30971         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
30973 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30975         * sysdeps/generic/c++-types.data: New file.
30976         * sysdeps/generic/ld.abilist: New file.
30977         * sysdeps/generic/libBrokenLocale.abilist: New file.
30978         * sysdeps/generic/libanl.abilist: New file.
30979         * sysdeps/generic/libc.abilist: New file.
30980         * sysdeps/generic/libcrypt.abilist: New file.
30981         * sysdeps/generic/libdl.abilist: New file.
30982         * sysdeps/generic/libm.abilist: New file.
30983         * sysdeps/generic/libpthread.abilist: New file.
30984         * sysdeps/generic/libresolv.abilist: New file.
30985         * sysdeps/generic/librt.abilist: New file.
30987 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30989         [BZ #17569]
30990         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30991         Compute absolute value of x as modified by fmod, not original
30992         value of x.
30993         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
30994         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
30995         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
30996         RUN_TEST_ffI_f1_mod8.
30997         (remquo_test_data): Add more tests.
30999 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31001         * sysdeps/init_array/pt-crti.S: New file.
31003 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31005         [BZ #17967]
31006         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31007         __builtin_fmaf instead of relying on contraction of a * b + c.
31009 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31011         [BZ #17969]
31012         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31013         node.
31015 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31017         [BZ #17964]
31018         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31019         __builtin_fma instead of relying on contraction of a * b + c.
31021 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31023         * Makeconfig (ASFLAGS): Add -Werror=undef.
31024         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31025         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31026         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31028         * Makeconfig (after-link): New variable.
31029         (+link-pie, +link-pie-tests): Use it.
31030         (+link-static, +link-static-tests): Likewise.
31031         (+link, +link-tests): Likewise.
31032         * Makerules (build-module, build-module-asneeded): Likewise.
31033         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31034         Likewise.
31035         * elf/Makefile ($(objpfx)ld.so): Likewise.
31037 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31039         [BZ #17965]
31040         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31041         both struct timeval and struct timespec.
31043 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31045         [BZ #16560]
31046         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31047         and redefine.
31048         (__ieee754_exp2l): Do not multiply small fractional parts by
31049         M_LN2l.
31050         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31051         small argument.
31052         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31053         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31054         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31055         * math/auto-libm-test-in: Add more tests of exp2.
31056         * math/auto-libm-test-out: Regenerated.
31058 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31060         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31061         unaligned path.
31063 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31065         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31066         little endian.
31068 2015-02-12  Andreas Schwab  <schwab@suse.de>
31070         [BZ #15790]
31071         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31072         Filter out elision flags from value returned in kind.
31073         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31074         * nptl/tst-pthread-mutexattr.c: New file.
31076 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31078         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31079         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31080         into gnu-gnu, and update comment to refer to abi-tags.
31082 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31084         [BZ #15467]
31085         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31086         (__sincos): Set errno to EDOM for infinite argument.
31087         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31088         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31089         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31090         (__sincosl): Set errno to EDOM for infinite argument.
31091         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31092         (__sincosl): Set errno to EDOM for infinite argument.
31093         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31094         (__sincosl): Set errno to EDOM for infinite argument.
31095         * math/libm-test.inc (sincos_test_data): Test errno setting.
31097 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31099         * string/strxfrm_l.c: Remove #define STRCMP.
31100         * string/strcoll_l.c: Remove #define STRLEN.
31101         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31102         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31104 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31106         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31107         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31108         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31109         * sysdeps/mips/mips64/Makefile: ... here.
31110         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31111         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31112         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31113         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31114         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31115         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31116         * sysdeps/mips/mips64/n64/Implies: Likewise.
31118 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31120         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31121         <sys/time.h>, <string.h>, and <errno.h>.
31122         (dest_offset, dest_address, value, zero): Remove unused variables.
31123         (ldouble): Remove typedef.
31124         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31125         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31126         1).  Fix code style.
31127         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31128         (check): Function removed.
31129         (CHECK): New macro.
31130         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31131         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31132         Don't call set_sigaction_FP and remove_sigaction_FP here.
31133         (ldouble_test): Just use 'long double' as macro argument, no need for
31134         the 'ldouble' typedef.
31135         (do_test): Set up SIGFPE handler at start, using plain signal rather
31136         than sigaction.  Fix code style.
31138 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31140         [BZ #17949]
31141         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31142         jump label.
31144 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31146         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31147         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31149         * sysdeps/powerpc/configure.ac: Remove file.
31150         * sysdeps/powerpc/configure: Likewise.
31152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31153         [sysdep_routines]: Remove wordcopy-power6 object.
31154         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31155         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31156         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31157         (__memmove_ppc32): Likewise.
31158         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31159         file.
31160         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31162         Remove preprocessor.
31164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31165         [sysdep_routines]: Remove wide chars objects.
31166         [wcsmbs]: New rule for wide char objects.
31168         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31169         Remove wordcopy-power6 obejct.
31170         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31171         Use local call for wordcopy and memcpy symbols.
31172         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31174         implementation for loader.
31175         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31177         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31178         Remove wordcopy-power7 object.
31179         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31180         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31181         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31182         (_wordcopy_fwd_dest_aligned): Likewise.
31183         (_wordcopy_bwd_aligned): Likewise.
31184         (_wordcopy_bwd_dest_aligned): Likewise.
31186         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
31187         Rewrite to call __memmove_ppc instead of include default
31188         implementation.
31190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31191         Remove wide chars objects.
31192         [wcsmbs]: New rule for wide char objects.
31194 2015-02-09  Andreas Schwab  <schwab@suse.de>
31196         [BZ #17912]
31197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31198         in terms of __O_DIRECTORY.
31200 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31202         * time/getdate.c: Include <stdbool.h>.
31203         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
31204         call PTR_MANGLE.
31205         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
31206         PTR_DEMANGLE.
31208 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
31210         Add ersatz _Static_assert on older C hosts
31211         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
31212         pre-C11 C platform that is not known to support _Static_assert.
31214 2015-02-07  Richard Braun  <rbraun@sceen.net>
31216         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
31217         sigstate.
31218         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
31220 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31222         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
31223         priority against unexistent AIO_PRIO_DELTA_MAX.
31224         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
31225         instead of int.
31226         * misc/fchflags.c (fchflags): Likewise.
31227         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
31228         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
31229         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
31230         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
31231         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
31232         Declare macros.
31233         [__USE_MISC] (chflags, fchflags): Declare functions.
31234         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
31235         EINVAL when nfds is greater than FD_SETSIZE.
31236         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
31237         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
31238         45.
31239         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
31240         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
31241         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
31242         MACH_RCV_TIMED_OUT.
31243         * hurd/hurd/signal.h (_hurd_self_sigstate,
31244         _hurd_critical_section_lock, _hurd_critical_section_unlock):
31245         Explicit casts from void *.
31246         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
31247         * abi-tags: Rename gnu-gnu os into gnu.
31249         [BZ #4719]
31250         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
31251         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
31252         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
31253         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
31254         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
31255         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
31257         [BZ #17944]
31258         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
31259         duplicates ADDR->sun_path with sockaddr LEN limitation.
31260         * sysdeps/mach/hurd/connect.c: Include <string.h>
31261         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31262         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31263         * sysdeps/mach/hurd/sendto.c: Likewise.
31264         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31265         implementing it by hand.
31267 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31269         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31270         Use sfi_breg on ldr.
31271         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31272         Likewise.
31274         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31275         it's defined.
31276         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31277         Test SIGSETXID only if it's defined.
31279         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31281         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31282         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31284         * nptl/tst-align2.c: Moved ...
31285         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31286         * nptl/Makefile (tests): Remove tst-align2.
31287         * sysdeps/unix/sysv/linux/Makefile
31288         [$(subdir) = nptl] (tests): Add tst-align-clone.
31289         * nptl/tst-getpid1.c: Moved ...
31290         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31291         * nptl/tst-getpid2.c: Moved ...
31292         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31293         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31294         * sysdeps/unix/sysv/linux/Makefile
31295         [$(subdir) = nptl] (tests): ... here.
31296         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31297         * sysdeps/unix/sysv/linux/Makefile
31298         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31300         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31301         Drop trailing \n from perror argument.  Use return rather than exit.
31303         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31304         on [SA_SIGINFO].
31305         * nptl/tst-cancel21.c (do_test): Likewise.
31306         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31307         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31308         [!SA_SIGINFO]: Make it a stub test.
31310         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31311         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31313         * posix/tst-getlogin.c: Move to ...
31314         * login/tst-getlogin.c: ... here.
31315         * posix/Makefile (tests): Move tst-getlogin to ...
31316         * login/Makefile (tests): ... here.
31318         * libio/tst-atime.c (do_test): Move local variables SV and E
31319         inside [ST_NOATIME] conditional.
31321         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31323         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31325         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31326         (wait_code): New function replaces macro.
31327         Call nanosleep rather than syscall.
31329         * nptl/pt-system.c: Rewritten.  Put everything under
31330         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31331         Use IFUNC to redirect when possible.
31333         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31334         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31335         Use IFUNC to redirect when possible.
31337         * nptl/pt-fork.c: Rewritten.  Put everything under
31338         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31339         Use IFUNC to redirect when possible.
31340         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31343         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31344         unconditionally nowadays.  This included the only reference to
31345         __vdso_clock_gettime that appears outside libc proper.
31346         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31347         Remove version set (containing only __vdso_clock_gettime).
31348         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31349         Add attribute_hidden.
31350         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31351         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31352         libc_hidden_data_def.
31353         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31354         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31356         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31357         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31358         setrpcent, and getrpcport to ...
31359         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31360         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31361         getrpcbynumber_r, and getrpcent_r to ...
31362         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31363         * inet/getrpcbyname.c: Moved ...
31364         * sunrpc/getrpcbyname.c: ... here.
31365         * inet/getrpcbyname_r.c: Moved ...
31366         * sunrpc/getrpcbyname_r.c: ... here.
31367         * inet/getrpcbynumber.c: Moved ...
31368         * sunrpc/getrpcbynumber.c: ... here.
31369         * inet/getrpcbynumber_r.c: Moved ...
31370         * sunrpc/getrpcbynumber_r.c: ... here.
31371         * inet/getrpcent.c: Moved ...
31372         * sunrpc/getrpcent.c: ... here.
31373         * inet/getrpcent_r.c: Moved ...
31374         * sunrpc/getrpcent_r.c: ... here.
31375         * inet/Makefile (routines): Move those to ...
31376         * sunrpc/Makefile (routines): ... here.
31377         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31378         the $(subdirs) list.
31379         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31380         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31381         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31382         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31384         * elf/Makefile (routines): Include $(all-dl-routines), not just
31385         $(dl-routines).
31386         (rtld-routines): Likewise.  Use = rather than :=.
31387         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31388         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31389         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31390         * sysdeps/arm/Makefile: Likewise.
31391         * sysdeps/i386/Makefile: Likewise.
31392         * sysdeps/x86_64/Makefile: Likewise.
31393         * sysdeps/hppa/Makefile [$(subdir) = elf]
31394         (sysdep_routines, sysdep-rtld-routines): Don't add
31395         $(sysdep-dl-routines) to these.
31396         * sysdeps/ia64/Makefile: Likewise.
31397         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31398         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31399         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31400         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31401         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31402         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31403         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31404         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31405         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31406         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31407         these; sysdep-dl-routines alone is enough.
31409 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31411         [BZ #17932]
31412         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31413         where multiplication results in zero and third argument is finite
31414         and nonzero.
31415         * math/auto-libm-test-in: Add more tests of fma.
31416         * math/auto-libm-test-out: Regenerated.
31418         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31419         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31420         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31421         (_FP_CMP_EQ): Likewise.
31422         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31424         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31425         extra argument CHECK_NAN.  Redefine as wrapper around
31426         _FP_EXTEND_CNAN.
31428 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31430         * version.h (RELEASE): Set to "stable".
31431         (VERSION): Set to "2.21"
31432         * include/features.h (__GLIBC_MINOR__): Set to 21.
31434         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31436 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31437             Paul Eggert  <eggert@cs.ucla.edu>
31439         [BZ #16618]
31440         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31441         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31442         size in bytes. Store needed elements in wpmax. Use needed size
31443         in bytes for extend_alloca.
31445 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31447         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31448         binutls 2.25, and texinfo 5.2.
31449         * INSTALL: Regenerate.
31450         * sysdeps/nios2/configure: Regenerate.
31451         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31452         * manual/contrib.texi: Update.
31453         * po/be.po: Update.
31454         * po/bg.po: Update.
31455         * po/ca.po: Update.
31456         * po/cs.po: Update.
31457         * po/da.po: Update.
31458         * po/de.po: Update.
31459         * po/el.po: Update.
31460         * po/eo.po: Update.
31461         * po/es.po: Update.
31462         * po/fi.po: Update.
31463         * po/fr.po: Update.
31464         * po/gl.po: Update.
31465         * po/hr.po: Update.
31466         * po/hu.po: Update.
31467         * po/ia.po: Update.
31468         * po/id.po: Update.
31469         * po/it.po: Update.
31470         * po/ja.po: Update.
31471         * po/ko.po: Update.
31472         * po/lt.po: Update.
31473         * po/nb.po: Update.
31474         * po/nl.po: Update.
31475         * po/pl.po: Update.
31476         * po/pt_BR.po: Update.
31477         * po/ru.po: Update.
31478         * po/rw.po: Update.
31479         * po/sk.po: Update.
31480         * po/sl.po: Update.
31481         * po/sv.po: Update.
31482         * po/tr.po: Update.
31483         * po/uk.po: Update.
31484         * po/vi.po: Update.
31485         * po/zh_CN.po: Update.
31486         * po/zh_TW.po: Update.
31488         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31489         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31490         * sysdeps/hppa/dl-irel.h: Remove #warning.
31491         * sysdeps/hppa/entry.h: Provide prototype for
31492         __canonicalize_funcptr_for_compare and cast argument.
31493         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31494         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31495         * sysdeps/hppa/sotruss-lib.c: New file.
31496         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31497         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31498         (atomic_compare_and_exchange_bool_acq): Likewise.
31499         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31500         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31502         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31503         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31504         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31506 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31508         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31509         called function in non-PIC case.
31511 2015-01-31  David S. Miller  <davem@davemloft.net>
31513         * sysdeps/sparc/sparc32/bits/atomic.h
31514         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31515         unlock not after it.
31516         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31517         volatile register usage warnings from the compiler.
31519         * sysdeps/sparc/nptl/sem_init.c: Delete.
31520         * sysdeps/sparc/nptl/sem_post.c: Delete.
31521         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31522         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31523         * sysdeps/sparc/sparc32/sem_init.c: New file.
31524         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31525         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31526         padding explicitly initialized.
31527         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31528         padding for in-semaphore spinlock.
31529         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31530         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31531         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31532         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31533         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31534         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31535         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31536         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31537         version.
31538         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31539         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31541 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31543         [BZ #17801]
31544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31545         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31546         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31547         New.
31548         (index_AVX_Fast_Unaligned_Load): Likewise.
31549         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31550         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31551         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31552         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31553         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31554         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31555         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31556         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31557         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31559 2015-01-29  Andreas Schwab  <schwab@suse.de>
31561         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31563 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31565         [BZ #17892]
31566         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31568 2015-01-28  Martin Sebor  <msebor@redhat.com>
31570         * math/README.libm-test: Clarify. Add "How to read the test output."
31572 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31574         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31575         Define to 0.
31577 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31579         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31580         (__HAVE_64B_ATOMICS): Define to 0.
31582 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31584         [BZ #17885]
31585         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31586         value to set as new flag.
31588         [BZ #16576]
31589         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31590         and use _ARCH_PPCSQ instead.
31591         (__ieee754_sqrt): Likewise.
31592         (__ieee754_sqrtf): Likewise.
31593         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31594         _ARCH_PPCSQ is defined.
31595         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31596         fsqrt instruction.
31597         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31598         _ARCH_PPCSQ is defined.
31599         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31600         fsqrts instruction.
31601         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31603 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31605         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31606         bug (GCC BZ #64739).
31608 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31610         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31611         Mark _retval as used.
31612         (lll_futex_wake_unlock): Likewise.
31613         (lll_futex_timed_wait_requeue_pi): Likewise.
31615         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31616         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31617         register variables.
31619         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31620         libm_hidden_def.
31622         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31623         (__bswap_64): Mark as __always_inline.
31625 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31627         [BZ #15378]
31628         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31629         when none of the search directories exist.
31631 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31633         [BZ #17869]
31634         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31635         power8 in .machine directive.
31637         [BZ #17868]
31638         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31639         set dependency from opd value.
31641 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31644         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31645         architecture.
31647 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31649         [BZ #17870]
31650         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31651         with uint64_t.
31652         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31653         (uint64_t) 1.
31654         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31655         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31656         Replace 1UL with (uint64_t) 1.
31657         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31658         int with uint64_t.
31660 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31662         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31663         (if_freenameindex): Likewise.
31665         * resource/getrlimit64.c: Add missing libc_hidden_def.
31667 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31669         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31670         __label__.
31671         (_FP_FMA): Likewise.
31672         (_FP_TO_INT_ROUND): Likewise.
31673         (_FP_FROM_INT): Likewise.
31675 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31677         [BZ #16418]
31678         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31679         Make code racy and cancel safe.
31681 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31683         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31684         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31685         attribution.
31687         * pwd/tst-getpw.c: Rewrite.
31689         [BZ #17702]
31690         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31691         (modules-names): Add moddummy1 and moddummy2.
31692         ($(objpfx)tst-rec-dlopen): Define.
31693         * dlfcn/moddummy1.c: New file.
31694         * dlfcn/moddummy2.c: New file.
31695         * dlfcn/tst-rec-dlopen.c: New file.
31696         * elf/dl-cache.c (_dl_load_cache_lookup):
31697         Return char*. Copy result with alloca/strcpy/strdup.
31698         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31699         returns char*. Free cached. If not saving realname
31700         free cached.
31701         * elf/dl-open.c (dl_open_worker): Do not assert that
31702         _r_debug->r_state is RT_CONSISTENT.
31703         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31704         returns char*.
31706 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31707             Carlos O'Donell  <carlos@redhat.com>
31709         [BZ #12674]
31710         * nptl/sem_waitcommon.c: New file.
31711         * nptl/sem_wait.c: Include sem_waitcommon.c.
31712         (__sem_wait_cleanup, do_futex_wait): Remove.
31713         (__new_sem_wait): Adapt.
31714         (__new_sem_trywait): New function.
31715         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31716         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31717         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31718         (sem_timedwait): Adapt.
31719         * nptl/sem_post.c (__new_sem_post): Adapt.
31720         (futex_wake): New function.
31721         (__old_sem_post): Add release MO fence.
31722         * nptl/sem_open.c (sem_open): Adapt.
31723         * nptl/sem_init.c (__new_sem_init): Adapt.
31724         (futex_private_if_supported): New function.
31725         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31726         (__old_sem_getvalue): Add using previous code.
31727         * sysdeps/nptl/internaltypes.h: Adapt.
31728         * nptl/tst-sem13.c (do_test): Adapt.
31729         * nptl/tst-sem11.c (main): Adapt.
31730         * nptl/sem_trywait.c: Remove.
31731         * nptl/DESIGN-sem.txt: Remove.
31732         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31733         (gen-as-const-headers): Remove structsem.sym.
31734         * nptl/structsem.sym: Remove.
31735         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31736         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31737         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31738         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31739         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31740         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31741         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31742         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31743         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31744         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31745         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31746         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31747         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31748         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31749         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31750         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31751         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31752         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31753         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31754         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31755         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31756         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31758 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31760         * INSTALL: Regenerated.
31762         * po/libc.pot: Regenerated.
31764 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31765             Sandra Loosemore  <sandra@codesourcery.com>
31766             Andrew Jenner  <andrew@codesourcery.com>
31767             Joseph Myers  <joseph@codesourcery.com>
31768             Nathan Sidwell  <nathan@codesourcery.com>
31770         * NEWS: Mention new Nios II port.
31771         * sysdeps/nios2/Implies: New file.
31772         * sysdeps/nios2/Makefile: New file.
31773         * sysdeps/nios2/Subdirs: New file.
31774         * sysdeps/nios2/Versions: New file.
31775         * sysdeps/nios2/__longjmp.S: New file.
31776         * sysdeps/nios2/abort-instr.h: New file.
31777         * sysdeps/nios2/backtrace.c: New file.
31778         * sysdeps/nios2/bits/endian.h: New file.
31779         * sysdeps/nios2/bits/fenv.h: New file.
31780         * sysdeps/nios2/bits/link.h: New file.
31781         * sysdeps/nios2/bits/setjmp.h: New file.
31782         * sysdeps/nios2/bsd-_setjmp.S: New file.
31783         * sysdeps/nios2/bsd-setjmp.S: New file.
31784         * sysdeps/nios2/configure: New generated file.
31785         * sysdeps/nios2/configure.ac: New file.
31786         * sysdeps/nios2/crti.S: New file.
31787         * sysdeps/nios2/crtn.S: New file.
31788         * sysdeps/nios2/dl-init.c: New file.
31789         * sysdeps/nios2/dl-machine.h: New file.
31790         * sysdeps/nios2/dl-sysdep.h: New file.
31791         * sysdeps/nios2/dl-tls.h: New file.
31792         * sysdeps/nios2/dl-trampoline.S: New file.
31793         * sysdeps/nios2/gccframe.h: New file.
31794         * sysdeps/nios2/gmp-mparam.h: New file.
31795         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31796         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31797         * sysdeps/nios2/ldsodefs.h: New file.
31798         * sysdeps/nios2/libc-tls.c: New file.
31799         * sysdeps/nios2/libm-test-ulps: New file.
31800         * sysdeps/nios2/machine-gmon.h: New file.
31801         * sysdeps/nios2/math-tests.h: New file.
31802         * sysdeps/nios2/math_private.h: New file.
31803         * sysdeps/nios2/memusage.h: New file.
31804         * sysdeps/nios2/nptl/Makefile: New file.
31805         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31806         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31807         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31808         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31809         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31810         * sysdeps/nios2/nptl/tls.h: New file.
31811         * sysdeps/nios2/preconfigure: New file.
31812         * sysdeps/nios2/s_fma.c: New file.
31813         * sysdeps/nios2/s_fmaf.c: New file.
31814         * sysdeps/nios2/setjmp.S: New file.
31815         * sysdeps/nios2/sfp-machine.h: New file.
31816         * sysdeps/nios2/sotruss-lib.c: New file.
31817         * sysdeps/nios2/stackguard-macros.h: New file.
31818         * sysdeps/nios2/stackinfo.h: New file.
31819         * sysdeps/nios2/start.S: New file.
31820         * sysdeps/nios2/sysdep.h: New file.
31821         * sysdeps/nios2/tls-macros.h: New file.
31822         * sysdeps/nios2/tst-audit.h: New file.
31823         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31824         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31825         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31826         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31827         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31828         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31829         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31830         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31831         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31832         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31833         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31834         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31835         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31836         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31837         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31838         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31839         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31840         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31841         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31842         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31843         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31844         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31845         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31846         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31847         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31848         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31849         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31850         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31851         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31852         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31853         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31854         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31855         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31856         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31857         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31858         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31859         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31860         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31861         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31862         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31863         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31864         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31865         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31866         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31868 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31870         [BZ #17844]
31871         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31872         (getutent): Use weak_alias in non SHARED case
31873         and default_symbol_version in SHARED case.
31874         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
31875         (getutent_r, pututline): Likewise.
31876         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
31877         (getutid): Likewise.
31878         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
31879         (getutid_r): Likewise.
31880         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
31881         (getutline): Likewise.
31882         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
31883         (getutline_r): Likewise.
31884         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
31885         (updwtmp): Likewise.
31887 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31889         [BZ #17848]
31890         * sysdeps/s390/s390-32/memcmp.S
31891         (memcmp_g5): Rename to __memcmp_g5.
31892         * sysdeps/s390/s390-32/memcpy.S
31893         (memcpy_g5): Rename to __memcpy_g5.
31894         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31895         (memcpy_mvcle) Rename to __memcpy_mvcle.
31896         * sysdeps/s390/s390-32/memset.S
31897         (memset_g5): Rename to __memset_g5.
31898         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31899         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31900         and use prefixed functions.
31901         * sysdeps/s390/s390-32/multiarch/memcmp.S
31902         (memcmp_z196): Rename to __memcmp_z196.
31903         (memcmp_z10): Rename to __memcmp_z10.
31904         (memcmp): Set alias to __memcmp_g5.
31905         (bcmp): Set alias to __memcmp_g5.
31906         * sysdeps/s390/s390-32/multiarch/memcpy.S
31907         (memcpy_z196): Rename to __memcpy_z196.
31908         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31909         (memcpy_z10): Rename to __memcpy_z10.
31910         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31911         (memcpy): Set alias to __memcpy_g5.
31912         * sysdeps/s390/s390-32/multiarch/memset.S
31913         (memset_z196): Rename to __memset_z196.
31914         Jump to __memset_mvcle instead of memset_mvcle.
31915         (memset_z10): Rename to __memset_z10.
31916         Jump to __memset_mvcle instead of memset_mvcle.
31917         (memset_mvcle) Rename to __memset_mvcle.
31918         (memset): Set alias to __memset_g5.
31919         * sysdeps/s390/s390-64/memcmp.S
31920         (memcmp_z900): Rename to __memcmp_z900.
31921         * sysdeps/s390/s390-64/memcpy.S
31922         (memcpy_z900): Rename to __memcpy_z900.
31923         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31924         (memcpy_mvcle) Rename to __memcpy_mvcle.
31925         * sysdeps/s390/s390-64/memset.S
31926         (memset_z900): Rename to __memset_z900.
31927         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
31928         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31929         and use prefixed functions.
31930         * sysdeps/s390/s390-64/multiarch/memcmp.S
31931         (memcmp_z196): Rename to __memcmp_z196.
31932         (memcmp_z10): Rename to __memcmp_z10.
31933         (memcmp): Set alias to __memcmp_z900.
31934         (bcmp): Set alias to __memcmp_z900.
31935         * sysdeps/s390/s390-64/multiarch/memcpy.S
31936         (memcpy_z196): Rename to __memcpy_z196.
31937         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31938         (memcpy_z10): Rename to __memcpy_z10.
31939         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31940         (memcpy): Set alias to __memcpy_z900.
31941         * sysdeps/s390/s390-64/multiarch/memset.S
31942         (memset_z196): Rename to __memset_z196.
31943         Jump to __memset_mvcle instead of memset_mvcle.
31944         (memset_z10): Rename to __memset_z10.
31945         Jump to __memset_mvcle instead of memset_mvcle.
31946         (memset_mvcle) Rename to __memset_mvcle.
31947         (memset): Set alias to __memset_z900.
31949 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
31951         [BZ #17748]
31952         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
31953         __fesetenv instead of fesetenv.
31955 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31957         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
31958         macro.
31960 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31962         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
31963         regression on LE.
31965         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
31966         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
31967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31968         strncmp-power8 object.
31969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31970         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
31971         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
31972         * NEWS: Update.
31974 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31975             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31977         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
31978         trailing byte check.
31980 2015-01-13  David S. Miller  <davem@davemloft.net>
31982         * include/signal.h (__sigreturn): Guard with __USE_MISC.
31984 2015-01-13  Roland McGrath  <roland@hack.frob.com>
31986         * login/logout.c (logout): Use memset rather than bzero.
31987         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
31988         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
31989         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
31990         (_gethtbyaddr): Likewise.
31991         * locale/programs/simple-hash.c (bcopy): Macro removed.
31993 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31996         Add strcmp-power8 object.
31997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31998         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
31999         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32000         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32001         __strcmp_power8 implementation.
32002         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32003         * NEWS: Update.
32005         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32006         Add strncpy-power8 and stpncpy-power8 objects.
32007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32008         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32009         implementations.
32010         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32012         __stpncpy_power8 implementation.
32013         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32014         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32015         __strncpy_power8 implementation.
32016         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32017         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32018         * NEWS: Update.
32020         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32021         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32022         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32024         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32025         strncat-power8 object.
32026         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32027         __strcat_power8 implementation.
32028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32029         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32030         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32031         optimized strcat for power8.
32033         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32034         strcpy-power8 and stpcpy-power8 objects.
32035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32036         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32037         implementations.
32038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32039         multiarch stpcpy implementation for POWER8.
32040         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32041         multiarch strcpy implementation for POWER8.
32042         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32043         __strcpy_power8 function.
32044         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32045         stpcpy for POWER8.
32046         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32047         strcpy for POWER8.
32048         * NEWS: Update.
32050 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32052         [BZ #16009]
32053         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32054         weights and rules. Use do_xfrm_cached if data fits in cache,
32055         do_xfrm otherwise.  Moved former main loop to...
32056         * (do_xfrm_cached): New function.
32057         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32058         find_idx, find_position and stack_push.
32059         * (find_idx): New function.
32060         * (find_position): Likewise.
32061         * localedata/sort-test.sh: Added test run for do_xfrm.
32062         * localedata/xfrm-test.c (main): Added command line option
32063         -nocache to run the test with strings that are too large for
32064         the STRXFRM cache.
32066 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32068         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32069         variable to lll_futex_wake call, not the value itself.
32071 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32073         [BZ #17803]
32074         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32075         twom64.  Adjust value to 0x1p-64L.
32076         (__scalblnl): Only return standard underflowing result for K <=
32077         -64 not K <= -63; adjust exponent for underflowing result by 64
32078         not 63.
32079         * math/libm-test.inc (scalbn_test_data): Add more tests.
32080         (scalbln_test_data): Likewise.
32082         [BZ #17834]
32083         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32084         0x1p63L.
32085         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32086         not HX.
32087         * math/libm-test.inc (scalbn_test_data): Add more tests.
32088         (scalbln_test_data): Likewise.
32090 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32091             Stefani Seibold  <stefani@seibold.net>
32093         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32094         (sysdep_routines): Add dl-vdso here, ...
32095         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32096         (sysdep_routines): ... not here.
32097         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32098         fallback when vDSO is not presented.
32099         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32100         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32101         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32102         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32103         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32104         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32105         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32106         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32107         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32108         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32109         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32110         fallback configurable symbol when vDSO is not available.
32111         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32112         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32113         be able to redefine fallback symbol when vDSO is not available.
32114         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32115         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32117 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32119         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32120         (TLS_INIT_TP): Add tm_capable initialization.
32121         (TLS_DEFINE_INIT_TP): Likewise.
32122         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32123         TCB.
32124         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32125         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32126         calculation.
32127         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32128         transactoion is lock elision is built and TCB tm_capable is set.
32129         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32131         (INTERNAL_SYSCALL_NCS): Likewise.
32132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32133         (INTERNAL_SYSCALL_NCS): Likewise.
32134         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32136         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32137         for powerpc.
32138         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32139         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32140         and remove it for 32 bits case.
32141         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32143         initialization.
32144         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32145         Disable lock elision with rdlocks if elision is not available.
32147         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32148         (sysdep_routines): Add lock elision objects.
32149         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32150         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32151         [pthread_mutex_t] (__elision): Add field.
32152         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32153         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32154         elision definitions for powerpc.
32155         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32156         implementation of lock elision for powerpc.
32157         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32158         implementation of timed lock elision for powerpc.
32159         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32160         implementation of trylock with lock elision for powerpc.
32161         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32162         implementaion of unlock for lock elision for powerpc.
32163         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32164         automatic enable lock elision for mutexes.
32165         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32166         transaction execution definitions for powerpc.
32167         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32168         definitions.
32169         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32170         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32171         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32172         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32173         * NEWS: Update.
32175 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32177         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32178         for #include of <shm-directory.h>.
32180 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32182         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32183         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
32185 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
32187         [BZ #17791]
32188         * NEWS: Mention bug fix.
32189         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
32190         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
32191         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
32193 2015-01-09  Torvald Riegel <triegel@redhat.com>
32195         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
32197 2015-01-09  Torvald Riegel <triegel@redhat.com>
32199         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
32201 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32203         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
32204         pointer and cast to uintptr_t.
32206 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32208         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
32209         removed.
32210         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
32212 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32214         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
32215         of 0.
32217 2015-01-08  Roland McGrath  <roland@hack.frob.com>
32219         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
32220         <nptl/pthreadP.h> instead.
32221         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
32223         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
32224         already defined.
32225         [__SIGRTMIN] (init): Function removed.
32226         [__SIGRTMIN] (initialized): Variable removed.
32227         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
32228         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
32229         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
32230         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
32231         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
32232         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
32233         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
32234         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
32235         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
32236         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32237         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
32238         * sysdeps/nptl/allocrtsig.c: New file.
32239         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
32240         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
32241         * sysdeps/generic/testrtsig.h: File removed.
32243         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
32244         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
32246         * nptl/nptl-init.c (pthread_functions): Conditionalize
32247         .ptr__nptl_setxid initialization on [SIGSETXID].
32249         * sysdeps/nptl/sys/procfs.h: New file.
32250         * nptl_db/Makefile (headers): Add it.
32251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32253         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
32254         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
32255         * nptl/pthread_attr_setaffinity.c: Include it.
32256         * nptl/pthread_setattr_default_np.c: Likewise.
32257         * nptl/check-cpuset.h: New file.
32259 2015-01-08  Richard Henderson  <rth@redhat.com>
32261         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32262         (CFLAGS-tst-execstack-prog.c): Likewise.
32263         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32265 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32266             Sandra Loosemore  <sandra@codesourcery.com>
32267             Andrew Jenner  <andrew@codesourcery.com>
32268             Joseph Myers  <joseph@codesourcery.com>
32269             Nathan Sidwell  <nathan@codesourcery.com>
32271         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32272         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32273         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32274         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32275         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32276         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32277         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32278         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32279         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32280         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32281         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32282         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32283         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32284         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32285         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32286         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32287         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32289 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32291         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32292         timespec struct member in syscall macro.
32293         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32294         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32295         first timeval struct member in syscall macro.
32296         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32298 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32300         [BZ #17748]
32301         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32302         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32303         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32304         __feupdateenv and define as weak alias of __feupdateenv.  Use
32305         libm_hidden_weak.
32306         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32307         libm_hidden_def.
32308         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32309         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32310         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32311         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32312         libm_hidden_def.
32313         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32314         __feupdateenv and define as weak alias of __feupdateenv.  Use
32315         libm_hidden_weak.
32316         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32317         libm_hidden_def.
32318         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32319         __feupdateenv and define as weak alias of __feupdateenv.  Use
32320         libm_hidden_weak.
32321         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32322         libm_hidden_def.
32323         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32324         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32325         (__feupdateenv): Likewise.
32326         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32327         __feupdateenv and define as weak alias of __feupdateenv.  Use
32328         libm_hidden_weak.
32329         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32330         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32331         libm_hidden_def.
32332         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32333         function.
32334         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32335         libm_hidden_def.
32336         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32337         __feupdateenv instead of feupdateenv.
32338         (default_libc_feupdateenv_test): Likewise.
32339         (libc_feresetround_ctx): Likewise.
32341 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32343         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32344         prototype.
32346 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32348         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32349         COLL_SYM in a couple of places to avoid uninitialized variable
32350         wanings on tilegx gcc 4.8.2.
32352 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32354         * sysdeps/aarch64/strcpy.S: New file.
32355         * sysdeps/aarch64/stpcpy.S: New file.
32356         * NEWS: Updated.
32358 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32360         * sysdeps/aarch64/strrchr.S: New file.
32361         * NEWS: Updated.
32363 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32365         [BZ #17658]
32366         * stdlib/setenv.c: Fix memory leak when setting large,
32367         duplicate string.
32369 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32371         [BZ #17273]
32372         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32373         and tabs from buffer before parsing fstab entry.
32374         * misc/tst-mntent.c (main): Add test for mount entry with
32375         trailing spaces and tabs.
32377 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32379         [BZ #17748]
32380         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32381         * math/fesetround.c (fesetround): Rename to __fesetround and
32382         define as weak alias of __fesetround.  Use libm_hidden_weak.
32383         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32384         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32385         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32386         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32387         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32388         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32389         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32390         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32391         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32392         __fesetround_inline.
32393         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32394         __fesetround_inline instead of __fesetround.
32395         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32396         __fesetround and define as weak alias of __fesetround.  Use
32397         libm_hidden_weak.  Call __fesetround_inline instead of
32398         __fesetround.
32399         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32400         __fesetround and define as weak alias of __fesetround.  Use
32401         libm_hidden_weak.
32402         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32403         Likewise.
32404         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32405         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32406         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32407         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32408         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32409         __fesetround and define as weak alias of __fesetround.  Use
32410         libm_hidden_weak.
32411         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32412         __fesetround instead of fesetround.
32413         (default_libc_feholdexcept_setround): Likewise.
32414         (libc_feholdsetround_ctx): Likewise.
32415         (libc_feholdsetround_noex_ctx): Likewise.
32417         [BZ #17748]
32418         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32419         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32420         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32421         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32422         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32423         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32424         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32425         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32426         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32427         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32428         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32429         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32430         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32431         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32432         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32433         libm_hidden_def.
32434         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32435         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32436         Likewise.
32437         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32438         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32439         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32440         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32441         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32442         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32443         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32444         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32445         __fesetenv instead of fesetenv.
32446         (libc_feresetround_noex_ctx): Likewise.
32447         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32448         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32449         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32450         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32451         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32452         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32453         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32454         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32455         (__feupdateenv): Likewise.
32456         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32457         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32458         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32459         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32461 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32463         [BZ #17806]
32464         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32465         addresses have been freed.
32467 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32469         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32470         and nservall.
32472 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32474         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32475         Clean up check_pf allocation pattern. addresses
32477 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32479         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32480         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32481         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32482         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32483         * nptl/pthread_join.c (pthread_join): Likewise.
32484         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32485         * sysdeps/posix/waitid.c (__waitid): Likewise.
32486         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32487         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32488         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32489         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32491         Likewise.
32492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32493         (__libc_pread64): Likewise.
32494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32495         (__libc_pwrite): Likewise.
32496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32497         (__libc_pwrite64): Likewsie.
32498         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32499         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32500         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32501         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32502         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32503         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32504         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32506         Likewise.
32507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32508         (__libc_pread64): Likewise.
32509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32510         Likewise.
32511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32512         (__libc_pwrite64): Likewise.
32513         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32514         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32515         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32516         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32517         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32518         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32519         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32520         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32521         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32522         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32523         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32524         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32525         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32526         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32527         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32528         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32529         Likewise.
32531 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32533         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32534         (CFLAGS-test-double.c): Likewise.
32535         (CFLAGS-test-ldouble.c): Likewise.
32536         (CPPFLAGS-test-ifloat.c): Likewise.
32537         (CPPFLAGS-test-idouble.c): Likewise.
32538         (CPPFLAGS-test-ildoubl.c): Likewise.
32539         (CFLAGS-test-test-fenv.c): Remove variable.
32540         (CFLAGS-test-misc.c): Likewise.
32542 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32544         [BZ #17797]
32545         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32546         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32547         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32548         CLOCKS_PER_SEC == 1000000.
32549         * time/clocktest.c (main): Replace %ld with %jd and cast to
32550         intmax_t.
32552 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32554         * sysdeps/generic/unwind-resume.h: New file.
32555         * sysdeps/gnu/unwind-resume.c: Include it.
32556         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32557         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32558         argument list.
32559         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32560         global rather than static.
32561         (_Unwind_Resume): Update user.
32562         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32563         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32564         rather than static.  Add __attribute__ ((cold)).
32565         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32566         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32567         * sysdeps/arm/arm-unwind-resume.S: New file.
32568         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32569         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32570         * sysdeps/arm/Makefile [$(subdir) = csu]
32571         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32572         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32573         Add rt-arm-unwind-resume.
32574         [$(subdir) = nptl]
32575         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32576         Add pt-arm-unwind-resume.
32577         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32578         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32580 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32582         [BZ #17748]
32583         * include/fenv.h (__feholdexcept): Declare.  Use
32584         libm_hidden_proto.
32585         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32586         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32587         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32588         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32589         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32590         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32591         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32592         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32593         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32594         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32595         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32596         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32597         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32598         (feholdexcept): Likewise.
32599         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32600         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32601         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32602         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32603         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32604         __feholdexcept instead of feholdexcept.
32605         (default_libc_feholdexcept_setround): Likewise.
32607 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32609         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32610         to avoid using stl/str to align destination.
32612 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32614         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32616 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32618         [BZ #17796]
32619         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32620         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32621         Define as weak alias not strong alias.
32623 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32625         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32626         bltzal with addiupc.
32627         (RTLD_START): Ditto.
32629 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32631         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32632         for __vdso_* functions in declarations.
32633         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32634         definitions.
32635         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32636         INTERNAL_VSYSCALL): Use struct return types to check for error.
32638         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32639         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32640         function with cast from llround().
32641         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32642         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32643         Define.
32645 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32647         [BZ #17793]
32648         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32649         Define as weak alias not strong alias.
32651         [BZ #17635]
32652         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32653         ...
32654         * ctype/ctype-extn.c: ... here.
32655         (__isblank_l): Move to ...
32656         * ctype/ctype-c99_l.c: ... here.  New file.
32657         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32658         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32659         Remove variable.
32660         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32661         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32662         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32663         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32664         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32666         [BZ #17777]
32667         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32668         (posix_fadvise64): Define as weak alias not strong alias.
32669         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32670         (posix_fallocate64): Likewise.
32671         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32672         Remove variable.
32673         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32674         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32675         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32676         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32677         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32679 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32681         [BZ #16191]
32682         * NEWS: Mention bug fix.
32683         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32684         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32685         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32686         (HOST_STACK_END_ADDR): Likewise.
32688 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32690         [BZ #17748]
32691         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32692         * math/fegetround.c (fegetround): Rename to __fegetround and
32693         define as weak alias of __fegetround.  Use libm_hidden_weak.
32694         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32695         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32696         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32697         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32698         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32699         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32700         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32701         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32702         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32703         Undefine after rather than before function definition; use
32704         parentheses around function name in definition.
32705         (__fegetround): Also undefine macro after function definition.
32706         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32707         __fegetround and define as weak alias of __fegetround.  Use
32708         libm_hidden_weak.  Do not undefine as macro.
32709         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32710         Likewise.
32711         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32712         __fegetround and define as weak alias of __fegetround.  Use
32713         libm_hidden_weak.
32714         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32715         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32716         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32717         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32718         __fegetround and define as weak alias of __fegetround.  Use
32719         libm_hidden_weak.
32720         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32721         __fegetround instead of fegetround.
32723         [BZ #17782]
32724         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32725         Condition macro definition on [__USE_MISC].
32727         [BZ #17781]
32728         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32729         (struct sigaction): Change type of sa_flags field to int.
32731         [BZ #17780]
32732         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32733         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32734         __glibc_reserved0.
32736         * nptl/version.c (banner): Use single year in copyright notice.
32738         * NEWS: Update copyright dates.
32739         * catgets/gencat.c (print_version): Likewise.
32740         * csu/version.c (banner): Likewise.
32741         * debug/catchsegv.sh: Likewise.
32742         * debug/pcprofiledump.c (print_version): Likewise.
32743         * debug/xtrace.sh (do_version): Likewise.
32744         * elf/ldconfig.c (print_version): Likewise.
32745         * elf/ldd.bash.in: Likewise.
32746         * elf/pldd.c (print_version): Likewise.
32747         * elf/sotruss.sh: Likewise.
32748         * elf/sprof.c (print_version): Likewise.
32749         * iconv/iconv_prog.c (print_version): Likewise.
32750         * iconv/iconvconfig.c (print_version): Likewise.
32751         * locale/programs/locale.c (print_version): Likewise.
32752         * locale/programs/localedef.c (print_version): Likewise.
32753         * login/programs/pt_chown.c (print_version): Likewise.
32754         * malloc/memusage.sh (do_version): Likewise.
32755         * malloc/memusagestat.c (print_version): Likewise.
32756         * malloc/mtrace.pl: Likewise.
32757         * manual/libc.texinfo: Likewise.
32758         * nptl/version.c (banner): Likewise.
32759         * nscd/nscd.c (print_version): Likewise.
32760         * nss/getent.c (print_version): Likewise.
32761         * nss/makedb.c (print_version): Likewise.
32762         * posix/getconf.c (main): Likewise.
32763         * scripts/test-installation.pl: Likewise.
32764         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32766 2015-01-02  Will Newton  <will.newton@linaro.org>
32768         * sysdeps/arm/armv7/configure: Removed.
32769         * sysdeps/arm/armv7/configure.ac: Likewise.
32771 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32773         * All files with FSF copyright notices: Update copyright dates
32774         using scripts/update-copyrights.
32775         * intl/plural.c: Regenerated.
32776         * locale/programs/charmap-kw.h: Likewise.
32777         * locale/programs/locfile-kw.h: Likewise.
32779 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32781         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32783 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32785         [BZ #17748]
32786         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32787         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32788         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32789         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32790         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32791         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32792         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32793         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32794         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32795         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32796         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32797         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32798         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32799         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32800         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32801         libm_hidden_def.
32802         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32803         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32804         Likewise.
32805         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32806         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32807         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32808         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32809         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32810         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32811         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32812         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32813         __fegetenv instead of fegetenv.
32814         (libc_feholdsetround_noex_ctx): Likewise.
32816 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32818         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32819         (Elf_MIPS_ABIFlags_v0): New structure.
32820         (EF_MIPS_FP64): Define.
32821         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32822         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32823         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32824         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32825         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32826         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32827         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32828         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32829         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32830         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32831         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32832         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32833         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32834         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32835         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32836         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32837         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32838         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32839         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32840         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32841         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32842         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32843         field.
32844         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32845         EF_MIPS_FP64.
32846         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32847         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32848         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32849         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32850         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32851         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32852         * sysdeps/mips/tst-abi-interlink.c: Likewise.
32853         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32854         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32855         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32856         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32857         record the current FP ABI extension.
32858         (mips-mode-switch): Define to show if kernel headers support mode
32859         switching.
32860         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32861         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32862         supported SYSV ABI version to 3.
32863         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32864         feature.
32866 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32867             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32869         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32870         path.
32871         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
32873 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32875         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
32876         __fegetround and redefine to call __fegetround.  Remove condition
32877         on [!__NO_MATH_INLINES].
32878         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
32879         function.
32880         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
32881         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32882         Remove macro.
32883         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
32884         instead of <fenv_libc.h>.
32885         (__llrintl): Call fegetround instead of __fegetround.
32886         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
32887         instead of <fenv_libc.h>.
32888         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32889         (__lrintl): Call fegetround instead of __fegetround.
32890         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
32891         instead of <fenv_libc.h>.
32892         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32893         (__rintl): Call fegetround instead of __fegetround.
32895 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32897         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
32898         arrays.
32900 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32902         [BZ #17775]
32903         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
32904         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
32905         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
32907 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32909         * sysdeps/i386/tls-macros.h: Include <features.h>.
32910         (TLS_LE): Use non-PIC version for GCC >= 5.0.
32911         (TLS_IE): Likewise.
32912         (TLS_LD): Likewise.
32913         (TLS_GD): Likewise.
32914         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
32915         define for GCC >= 5.0.
32917 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
32919         * math/test-fenv.c (test_single_exception, set_single_exc,
32920         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
32921         feexcp_mask_test, feenable_test, fe_single_test): Add
32922         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
32923         case where they are not used.
32924         * math/libm-test.inc: Likewise.
32925         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
32926         unused in the absence of FP rounding/exception support.
32927         * stdio-common/tst-printf-round.c: Likewise.
32928         * stdlib/tst-strtod-round.c: Likewise.
32929         * stdlib/tst-strtod-underflow.c: Likewise.
32931 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
32933         [BZ #17723]
32934         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
32935         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
32936         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32937         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32938         libm_hidden_weak.
32939         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
32940         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32941         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
32942         libm_hidden_def.
32943         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32944         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32945         libm_hidden_weak.
32946         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
32947         Likewise.
32948         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
32949         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32950         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32951         libm_hidden_weak.
32952         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32953         libm_hidden_def.
32954         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32955         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
32956         (__feraiseexcept): Likewise.
32957         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32958         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32959         libm_hidden_weak.
32960         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32961         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32962         libm_hidden_def.
32963         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
32964         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
32965         Use libm_hidden_def.
32966         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
32967         libm_hidden_def.
32968         (feraiseexcept): Define as weak not strong alias.  Use
32969         libm_hidden_weak.
32970         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
32971         New inline function.  Factored out of ...
32972         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
32973         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
32974         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
32975         feraiseexcept.
32976         * math/w_acos.c (__acos): Likewise.
32977         * math/w_asin.c (__asin): Likewise.
32978         * math/w_ilogb.c (__ilogb): Likewise.
32979         * math/w_j0.c (y0): Likewise.
32980         * math/w_j1.c (y1): Likewise.
32981         * math/w_jn.c (yn): Likewise.
32982         * math/w_log.c (__log): Likewise.
32983         * math/w_log10.c (__log10): Likewise.
32984         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
32985         * sysdeps/aarch64/fpu/math_private.h
32986         (libc_feupdateenv_test_aarch64): Likewise.
32987         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32988         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
32989         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
32990         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32991         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32992         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32993         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
32994         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32995         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32996         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32998 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33000         [BZ #17732]
33001         * io/test-utime.c (main): Replace %ld with %jd and cast to
33002         intmax_t.
33003         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33004         * nptl/tst-mutex5.c: Include <stdint.h>.
33005         (do_test): Replace %ld with %jd and cast to intmax_t.
33006         * posix/tst-regex.c (run_test): Likewise.
33007         (run_test_backwards): Likewise.
33008         * rt/tst-clock.c: Include <stdint.h>.
33009         (clock_test): Replace %ld with %jd and cast to intmax_t.
33010         * rt/tst-cpuclock1.c: Include <stdint.h>.
33011         (do_test): Replace %lu with %ju and cast to uintmax_t.
33012         * rt/tst-cpuclock2.c: Include <stdint.h>.
33013         (do_test): Replace %lu with %ju and cast to uintmax_t.
33014         * rt/tst-mqueue1.c: Include <stdint.h>.
33015         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33016         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33017         intmax_t.
33018         * rt/tst-mqueue4.c (do_test): Likewise.
33019         * rt/tst-timer4.c: Include <stdint.h>.
33020         (check_ts): Replace %ld with %jd and cast to intmax_t.
33021         (do_test): Likewise.
33022         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33023         and cast to intmax_t.
33024         * sysdeps/pthread/tst-timer.c (main): Likewise.
33025         * time/clocktest.c (main): Likewise.
33026         * time/tst-posixtz.c (do_test): Likewise.
33027         * timezone/tst-timezone.c (main): Likewise.
33029 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33030             H.J. Lu  <hongjiu.lu@intel.com>
33032         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33033         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33034         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33035         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33036         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33037         version if bit_Fast_Unaligned_Load is set.
33038         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33039         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33040         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33041         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33042         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33043         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33045         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33046         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33047         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33048         to 4.
33049         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33050         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33051         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33052         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33054 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33056         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33057         instead of #if to avoid a Wundef warning.
33058         * stdlib/tst-limits.c (do_test): Likewise.
33060         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33061         parallel other exception macros.
33062         (fegetenv): Convert from macro to extern inline so that it applies
33063         retroactively to inline functions already seen by the compiler.
33064         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33066         * posix/Makefile (before-compile): Use $(objpfx) for
33067         posix-conf-vars-def.h.
33069 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33071         * posix/getconf.c (main): Use size_t for type of I.
33072         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33073         NSPEC.
33075         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33076         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33077         * posix/posix-envs.def: Likewise.
33078         * sysdeps/posix/sysconf.c: Likewise.
33079         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33080         (specs): Remove array.
33081         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33082         array.
33084         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33085         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33086         (__sysconf): Use CONF_IS_* macros.
33088         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33089         ($(objpfx)posix-conf-vars-def.h): New target.
33090         * posix/posix-conf-vars.list: New file.
33091         * posix/posix-conf-vars.h: New file.
33092         * posix/confstr.c: Include posix-conf-vars.h.
33093         (confstr): Use CONF_IS_* macros.
33094         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33095         CONF_IS_* macros.
33096         * scripts/gen-posix-conf-vars.awk: New file.
33098 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33100         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33101         fegetround): Add no-op macros to avoid linknamespace issues.
33103         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33104         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33106         * sysdeps/unix/sysv/linux/tile/sysdep.h
33107         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33108         assembly-specific section to avoid a redefinition warning.
33110         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33111         long before casting to pointer to avoid a cast warning.
33113 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33115         * sysdeps/tile/tilegx/Implies: New file.
33117 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33119         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33121 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33123         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33125 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33127         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33128         not define.
33129         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33130         <kernel-features.h>.
33131         (__utimes) [__NR_utimes]: Make code unconditional.
33132         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33133         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33134         (__ASSUME_UTIMES): Do not undefine.
33135         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33136         (__ASSUME_UTIMES): Likewise.
33137         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33138         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33139         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33140         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33142 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33144         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33146 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33148         [BZ #17747]
33149         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33150         alias to weak alias for j0l, y0l.
33151         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33152         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33154         [BZ #17746]
33155         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33156         conversion.
33158 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33160         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33161         to zero if not already defined.
33163 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33165         [BZ #17724]
33166         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33167         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33168         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33169         (char *) casts added.
33170         * sysdeps/ieee754/k_standardf.c: New file.
33171         * sysdeps/ieee754/k_standardl.c: Likewise.
33172         * math/Makefile (libm-support): Remove k_standard.
33173         (libm-calls): Add k_standard.
33175 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33177         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33178         Optimize to avoid an unnecessary FPCR read.
33180 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33182         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33183         Optimize to reduce FPCR/FPSR accesses.
33185 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33187         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
33188         Call libc_fetestexcept_aarch64.
33190 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33192         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
33193         Call libc_fesetround_aarch64.
33195 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33197         [BZ #17733]
33198         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
33199         (__bind): Do not define as weak alias.
33200         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
33201         define.
33202         (__getsockname): Do not define as weak alias.
33204 2014-12-22  Will Newton  <will.newton@linaro.org>
33206         * manual/install.texi: Document that we require bison 2.7
33207         or above.
33208         * INSTALL: Regenerate.
33209         * configure.ac: Use AC_CHECK_PROG_VER instead of
33210         AC_PATH_PROG when checking for bison and check for
33211         version 2.7 or above.
33212         * configure: Regenerate.
33214 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
33216         [BZ #17745]
33217         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33218         * sysdeps/tile/ffsll.c (ffsll): To here.
33220         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
33222 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33224         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
33225         if not defined.
33226         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
33227         definition.
33228         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33229         hidden ___tls_get_addr.
33230         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33231         hidden __tls_get_addr.
33232         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
33233         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
33234         Likewise.
33236 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33238         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
33239         _dl_init call.
33241 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33243         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
33244         from "call _dl_init@PLT".
33245         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33247 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
33249         * manual/search.texi: (Array Sort Function): Clarify stable sorting
33250         guarantees.
33252 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
33254         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
33256 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33258         [BZ #17744]
33259         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
33260         strnlen.
33262 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33264         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33265         of multu on MIPSr6.
33266         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33267         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33268         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33269         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33270         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33272 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33274         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33275         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33276         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33277         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33278         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33279         mips32r6/mips64r6.
33280         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33282 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33284         * string/strncat.c (STRNCAT): Simplify implementation.
33286 2014-12-19  David S. Miller  <davem@davemloft.net>
33288         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33289         access the quad as both a long double and as a series of 4 words.
33291         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33292         link_map->l_info array access.
33294 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33296         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33298         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33299         * math/atest-exp2.c (TIMEOUT): Likewise.
33300         * math/atest-sincos.c (TIMEOUT): Likewise.
33302 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33304         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33305         -Wno-error with -fno-builtin-lround.
33307 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33309         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33310         Contains futex constants and functions moved over from ...
33311         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33312         <lowlevellock-futex.h>.
33313         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33314         (lll_timedwait_tid): Add comments and parentheses around macro
33315         arguments.
33317 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33319         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33320         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33321         (__lll_private_flag): Remove.
33322         (lll_futex_wait): Likewise.
33323         (lll_futex_timed_wait): Likewise.
33324         (lll_futex_wake): Likewise.
33325         (lll_futex_requeue): Likewise.
33326         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33327         (__lll_timedwait_tid): Spell out argument names.
33328         (lll_timedwait_tid): Add comments and parentheses around macro
33329         arguments.
33330         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33331         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33333 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33335         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33336         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33337         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33338         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33339         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33340         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33341         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33342         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33343         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33344         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33345         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33347         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33348         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33349         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33350         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33351         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33352         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33353         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33355 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33357         * sysdeps/x86_64/x32/Makefile: New file.
33359 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33361         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33362         1L with (mp_limb_t) 1.
33364 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33366         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33367         * nptl/libc_pthread_init.c: ... here.
33368         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33369         * nptl/register-atfork.c: ... here.
33371         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33372         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33373         Use assert_perror to check its return value.
33374         (__gai_create_helper_thread): Likewise.
33376         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33378         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33380 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33382         [BZ #17725]
33383         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33384         __profil_counter.
33385         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33386         Likewise.
33387         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33388         Likewise.
33389         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33390         Likewise.
33391         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33392         (profil_counter): Likewise.
33393         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33394         (profil_counter): Likewise.
33395         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33396         Likewise.
33397         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33398         Likewise.
33399         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33400         (profil_counter): Likewise.
33401         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33402         Likewise.
33403         [!__profil_counter] (profil_counter): Define as weak alias of
33404         __profil_counter.
33405         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33406         (profil_counter): Rename to __profil_counter.
33407         [!__profil_counter] (profil_counter): Define as weak alias of
33408         __profil_counter.
33409         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33410         (profil_counter): Rename to __profil_counter.
33411         [!__profil_counter] (profil_counter): Define as weak alias of
33412         __profil_counter.
33413         * sysdeps/posix/profil.c: Update comment referring to
33414         profil_counter.
33415         (__profil): Use __profil_counter instead of profil_counter.
33416         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33417         __profil_counter.  Use __profil_counter_ushort and
33418         __profil_counter_uint in definitions.
33419         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33420         instead of profil_counter_uint and profil_counter_ushort.
33422         [BZ #17722]
33423         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33424         define as weak alias of __inet_makeaddr.
33425         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33426         as weak alias of __inet_addr.
33427         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33428         as weak alias of __inet_pton.  Use libc_hidden_weak.
33429         * include/arpa/inet.h (__inet_pton): Declare.  Use
33430         libc_hidden_proto.
33431         (inet_makeaddr): Don't use libc_hidden_proto.
33432         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33433         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33434         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33435         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33436         Remove variable.
33437         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33438         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33440 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33442         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33444 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33446         * stdio-common/bug-vfprintf-nargs.c (do_test):
33447         Cast value to intptr_t to avoid format warning
33448         for usage with PRIdPTR printing macro.
33450 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33452         * libio/tst-widetext.c (do_test):
33453         Use format type %td instead of %Zd for ptrdiff_t
33454         in order to avoid format warning.
33456 2014-12-17  Andreas Schwab  <schwab@suse.de>
33458         * nscd/mem.c (gc): Add size_t cast to match printf format.
33460 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33462         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33463         (init): Apply PTR_MANGLE to pointers before storing them.
33464         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33465         before using them.
33467 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33469         [BZ #17719]
33470         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33471         define as weak alias of __memrchr.
33472         (__memrchr): Do not define as strong alias of memrchr.
33473         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33474         Remove variable.
33475         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33476         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33477         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33479         [BZ #17717]
33480         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33481         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33482         (if_indextoname): Rename to __if_indextoname and define as weak
33483         alias of __if_indextoname.  Use libc_hidden_weak.
33484         (if_freenameindex): Rename to __if_freenameindex and define as
33485         weak alias of __if_freenameindex.
33486         (if_nameindex): Rename to __if_nameindex and define as weak alias
33487         of __if_nameindex.
33488         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33489         __if_nametoindex and define as weak alias of __if_nametoindex.
33490         Use libc_hidden_weak.
33491         (if_freenameindex): Rename to __if_freenameindex and define as
33492         weak alias of __if_freenameindex.
33493         (if_nameindex): Rename to __if_nameindex and define as weak alias
33494         of __if_nameindex.
33495         (if_indextoname): Rename to __if_indextoname and define as weak
33496         alias of __if_indextoname.  Use libc_hidden_weak.
33497         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33498         __if_nametoindex and define as weak alias of __if_nametoindex.
33499         Use libc_hidden_weak.
33500         (if_freenameindex): Rename to __if_freenameindex and define as
33501         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33502         (if_nameindex_netlink): Use __if_freenameindex instead of
33503         if_freenameindex.
33504         (if_nameindex): Rename to __if_nameindex and define as weak alias
33505         of __if_nameindex.  Use libc_hidden_weak.
33506         (if_indextoname): Rename to __if_indextoname and define as weak
33507         alias of __if_indextoname.  Use libc_hidden_weak.
33508         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33509         libc_hidden_proto.
33510         [!_ISOMAC] (__if_freenameindex): Likewise.
33511         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33512         if_nametoindex.
33513         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33514         variable.
33515         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33516         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33517         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33518         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33519         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33520         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33521         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33523         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33524         Remove variable.
33525         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33526         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33528 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33530         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33531         subscript above bounds'
33533         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33534         bounds.
33536 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33538         * libio/tst-fopenloc.c: Use test-skeleton.c.
33540         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33541         (entry): Rename to ITEM.
33542         (do_test, comp): Adjust.
33544         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33546 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33548         * string/tester.c: Include <libc-internal.h>.
33549         (test_memset): Ignore -Wmemset-transposed-args.
33551 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33553         * misc/tst-mntent2.c (do_test): Fix warning.
33555 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33557         * elf/tst-unique4lib.cc(a): Mark as used.
33559 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33561         [BZ #17630]
33562         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33563         names.
33565 2014-12-16  Allan McRae  <allan@archlinux.org>
33567         * stdio-common/Makefile (tests): Re-add bug26.
33569 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33571         [BZ #17657]
33572         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33573         static array.
33575 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33577         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33578         (__lll_lock_wait): Likewise.
33579         (__lll_timedlock_wait): Likewise.
33580         (__lll_timedwait_tid): Likewise.
33581         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33582         (__lll_robust_timedlock_wait): Likewise.
33583         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33584         (lll_cond_trylock): Likewise.
33585         (__lll_lock): Likewise.
33586         (__lll_robust_lock): Likewise.
33587         (__lll_cond_lock): Likewise.
33588         (lll_robust_cond_lock): Likewise.
33589         (__lll_timedlock): Likewise.
33590         (__lll_robust_timedlock): Likewise.
33591         (__lll_unlock): Likewise.
33592         (__lll_robust_unlock): Likewise.
33593         (lll_wait_tid): Likewise.
33594         (lll_timedwait_tid): Likewise.
33596 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33598         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33600 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33602         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33604 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33606         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33607         * stdio-common/tst-sprintf.c: Likewise.
33609 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33611         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33613 2014-12-15  Jeff Law  <law@redhat.com>
33615         [BZ #16617]
33616         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33617         on the heap.  (CVE-2012-3406)
33618         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33619         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33620         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33622 2014-12-15  Will Newton  <will.newton@linaro.org>
33624         * manual/install.texi: Bump required version of texinfo
33625         to 4.7 from 4.5.
33626         * INSTALL: Regenerated.
33627         * configure.ac: Check for makeinfo version 4.7 and above.
33628         * configure: Regenerated.
33630 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33632         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33633         PREFIX, string constant to insert between directory and name.
33634         * sysdeps/posix/shm_open.c: Update caller.
33635         * sysdeps/posix/shm_unlink.c: Likewise.
33636         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33637         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33638         (SEM_SHM_PREFIX): New macro.
33639         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33640         [$(have-thread-library) = no].
33641         * nptl/Makefile (libpthread-routines): Add shm-directory.
33642         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33643         * sysdeps/nptl/shm-directory.h: New file.
33644         * sysdeps/posix/shm-directory.c
33645         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33646         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33647         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33648         INTERNAL_SYSCALL.
33649         (__where_is_shmfs): Function removed.
33650         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33651         Variables removed.
33652         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33653         Use SHM_GET_NAME.
33654         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33656         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33657         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33658         unconditional for use inside libpthread.
33659         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33661 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33663         * nptl/pthread_getaffinity.c: New file.
33664         * nptl/pthread_setaffinity.c: New file.
33665         * nptl/pthread_getname.c: New file.
33666         * nptl/pthread_setname.c: New file.
33668         * nptl/pthread_create.c (START_THREAD_DEFN)
33669         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33671 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33672             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33674         * resolv/res_send.c (send_vc): Disable warning resplen may
33675         be used uninitialized.
33677 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33679         * nptl/tst-mutex6.c
33680         (ATTR_NULL): New define checks ATTR against NULL.
33681         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33682         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33684 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33686         [BZ #17581]
33687         * malloc/hooks.c
33688         (mem2mem_check): Revert my previous change.
33689         (malloc_check_get_size): Revert my previous change.
33690         (mem2chunk_check): Revert my previous change.
33692 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33694         * sysdeps/posix/shm-directory.c: New file.
33695         * sysdeps/posix/shm-directory.h: New file.
33696         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33697         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33698         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33699         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33700         Transmute EPERM to EACCES.
33701         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33702         from ...
33703         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33704         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33706 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33708         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33709         pointer and cast to uintptr_t.
33710         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33711         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33712         Add cast to avoid warning.
33713         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33715 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33717         * nptl/semaphore.h: Move to ...
33718         * sysdeps/pthread/semaphore.h: ... here.
33719         * Makefile (installed-headers): Change nptl/semaphore.h to
33720         sysdeps/pthread/semaphore.h.
33722 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33724         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33725         generated error format strings.
33727         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33728         -Wformat-extra-args warnings for scanf formats.
33729         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33730         test of zero-length format (duh).
33731         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33732         corner-case scanf format test.
33733         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33734         generated fprintf format string.
33735         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33736         corner-case sprintf format tests.
33737         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33738         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33739         -Wformat-extra-args warnings throughout.
33740         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33741         (CFLAGS-scanf4.c): Likewise.
33742         (CFLAGS-scanf7.c): Likewise.
33743         (CFLAGS-tst-sprintf.c): Likewise.
33744         (CFLAGS-tst-printf.c): Likewise.
33745         (CFLAGS-tst-printfsz.c): Likewise.
33747 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33749         * include/cpio.h: New file.
33750         * include/fmtmsg.h: Likewise.
33752         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33753         corresponding format argument to size_t.
33754         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33755         arguments.
33756         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33757         corresponding format argument to size_t.
33758         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33759         arguments.
33760         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33761         corresponding format argument to size_t.
33762         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33763         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33764         (CFLAGS-tst-mbswcs2.c): Likewise.
33765         (CFLAGS-tst-mbswcs3.c): Likewise.
33766         (CFLAGS-tst-mbswcs4.c): Likewise.
33767         (CFLAGS-tst-mbswcs5.c): Likewise.
33768         (CFLAGS-tst-trans.c): Likewise.
33770 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33772         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33773         rather than assuming they won't contain any '%'s.
33775 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33777         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33778         inhibit_loop_to_libcall to avoid recursive calls.
33779         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33780         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33782 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33784         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33785         prototype.
33787 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33789         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33790         integer value instead of boolean.
33792 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33794         * malloc/malloc.c: Fix powerof2 check.
33796 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33798         * locale/programs/locfile.h (maybe_swap_uint32):
33799         Remove inline and add unused attribute.
33801 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33803         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33804         Truncating assembler expression to a .long expression.
33806 2014-12-11  Andreas Schwab  <schwab@suse.de>
33808         * elf/rtld.c (struct map_args): Constify str member.
33809         (do_preload): Constify fname argument.
33811 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33813         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33814         constants definition.
33816 2014-12-11  Andreas Schwab  <schwab@suse.de>
33818         [BZ #16657]
33819         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33820         FORCE_ELISION instead of DO_ELISION.
33821         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33822         Remove.
33823         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33824         Likewise.
33826         * iconvdata/gconv-modules: Remove duplicate entry.
33828 2014-12-11  Will Newton  <will.newton@linaro.org>
33830         Merge gettext 0.19.3 into intl/.
33832         This involves a number of cosmetic changes to comments
33833         and ANSI function definitions and prototypes throughout
33834         all the files. The gettext copyright header is used but
33835         with the date ranges taken from the glibc copy.
33837         * NEWS: Add gettext merge to 2.21.
33838         * intl/bindtextdom.c: Switch to gettext copyright.
33839         Use ANSI definitions and prototypes.
33840         Use gl_* locking primitives rather than __libc_* ones.
33841         Use __builtin_expect rather than __glibc_likely/unlikely.
33842         * intl/dcgettext.c: Switch to gettext copyright.
33843         Use ANSI definitions and prototypes.
33844         * intl/dcigettext.c: Switch to gettext copyright.
33845         Use ANSI definitions and prototypes.
33846         (INTDIV0_RAISES_SIGFPE): New define.
33847         Use gl_* locking primitives rather than __libc_* ones.
33848         Include eval-plural.h instead of plural-eval.c.
33849         Use __builtin_expect rather than __glibc_likely/unlikely.
33850         * intl/dcngettext.c: Switch to gettext copyright.
33851         Use ANSI definitions and prototypes.
33852         * intl/dgettext.c: Likewise.
33853         * intl/dngettext.c: Likewise.
33854         * intl/plural-eval.c: Renamed to...
33855         * intl/eval-plural.h: ...this.
33856         * intl/explodename.c: Switch to gettext copyright.
33857         Use ANSI definitions and prototypes.
33858         (_nl_explode_name): Use strchr instead of __rawmemchr.
33859         * intl/finddomain.c: Switch to gettext copyright.
33860         Use ANSI definitions and prototypes.
33861         Use gl_* locking primitives rather than __libc_* ones.
33862         (_nl_find_domain): Use malloc rather than alloca for
33863         allocation of temporary locale name.
33864         * intl/gettext.c: Switch to gettext copyright.
33865         Use ANSI definitions and prototypes.
33866         * intl/gettextP.h: Switch to gettext copyright.
33867         Use ANSI definitions and prototypes.
33868         Use gl_* locking primitives rather than __libc_* ones.
33869         * intl/gmo.h: Switch to gettext copyright.
33870         (struct sysdep_string): Move struct segment_pair outside of
33871         struct definition.
33872         * intl/hash-string.c: Use ANSI definitions and prototypes.
33873         * intl/hash-string.h: Switch to gettext copyright.
33874         Use ANSI definitions and prototypes.
33875         * intl/l10nflist.c: Switch to gettext copyright.
33876         Use ANSI definitions and prototypes.
33877         (_nl_normalize_codeset): Avoid integer overflow.
33878         * intl/loadinfo.h: Switch to gettext copyright.
33879         Use ANSI definitions and prototypes.
33880         (LIBINTL_DLL_EXPORTED): New define.
33881         (PATH_SEPARATOR): New define.
33882         * intl/loadmsgcat.c: Switch to gettext copyright.
33883         * intl/localealias.c: Switch to gettext copyright.
33884         Use ANSI definitions and prototypes.
33885         (_nl_expand_alias): Use PATH_SEPARATOR.
33886         * intl/ngettext.c: Switch to gettext copyright.
33887         Use ANSI definitions and prototypes.
33888         * intl/plural-exp.c: Likewise.
33889         * intl/plural-exp.h: Switch to gettext copyright.
33890         Use ANSI definitions and prototypes.
33891         (struct expression): Move definition of enum operator outside
33892         of struct definition.
33893         * intl/plural.c: Regenerate.
33894         * intl/plural.y: Switch to gettext copyright.
33895         Use ANSI definitions and prototypes.
33896         Port to bison 3.0.
33897         * intl/textdomain.c: Switch to gettext copyright.
33898         Use ANSI definitions and prototypes.
33899         Use gl_* locking primitives rather than __libc_* ones.
33901 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
33903         * debug/warning-nop.c: Add used atrribute.
33905 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33907         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
33909         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
33910         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
33911         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
33913 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33916         [BZ #17634]
33917         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
33918         Undefine after defining function.  Define as weak alias of
33919         __wcschr.  Use libc_hidden_weak.
33920         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
33921         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
33922         (libc_hidden_def): Also define __GI___wcschr alias.
33923         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
33924         __wcschr and define as weak alias of __wcschr.
33925         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
33926         __wcschr.
33927         [!WCSCHR] (DEFAULT_WCSCHR): Define.
33928         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
33929         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
33930         libc_hidden_weak.  Do not use libc_hidden_def.
33931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
33932         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
33933         __GI___wcschr alias.
33934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
33935         [IS_IN (libc)] (wcschr): Define as macro expanding to
33936         __redirect_wcschr.
33937         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
33938         [IS_IN (libc)] (__wcschr_power6): Likewise.
33939         [IS_IN (libc)] (__wcschr_power7): Likewise.
33940         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
33941         instead of wcschr.
33942         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
33943         __libc_wcschr.
33944         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
33945         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
33946         __wcschr and define as weak alias of __wcschr.  Use
33947         libc_hidden_builtin_def.
33948         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
33949         as weak alias of __wcschr.  Use libc_hidden_weak.
33950         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
33951         wcschr.
33952         * time/era.c (_nl_init_era_entries): Likewise.
33953         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
33954         variable.
33955         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33956         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33958 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33960         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
33961         format for long int variable.
33963 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
33965         [BZ #10672]
33966         * manual/search.texi: (Array Sort Function): Remove claim how to make
33967         qsort stable.
33969 2014-12-10  Andreas Schwab  <schwab@suse.de>
33971         [BZ #12847]
33972         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
33973         user-controlled locks.
33975 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
33977         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
33978         register.
33980 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33982         * configure.ac (--disable-werror): New configure option.
33983         (enable_werror): New AC_SUBST.
33984         * configure: Regenerated.
33985         * config.make.in (enable-werror): New variable.
33986         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
33987         -Wno-error=undef.
33988         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
33989         * manual/install.texi (Configuring and compiling): Document
33990         --disable-werror.
33991         * INSTALL: Regenerated.
33992         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
33993         (CFLAGS-tst-chk2.c): Likewise.
33994         (CFLAGS-tst-chk3.c): Likewise.
33995         (CFLAGS-tst-chk4.cc): Likewise.
33996         (CFLAGS-tst-chk5.cc): Likewise.
33997         (CFLAGS-tst-chk6.cc): Likewise.
33998         (CFLAGS-tst-lfschk1.c): Likewise.
33999         (CFLAGS-tst-lfschk2.c): Likewise.
34000         (CFLAGS-tst-lfschk3.c): Likewise.
34001         (CFLAGS-tst-lfschk4.cc): Likewise.
34002         (CFLAGS-tst-lfschk5.cc): Likewise.
34003         (CFLAGS-tst-lfschk6.cc): Likewise.
34005         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34006         (main): Disable -Wdeprecated-declarations around calls to
34007         register_printf_function.
34009         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34010         (do_test): Disable -Wdiv-by-zero around some calls to
34011         fwrite_unlocked and fread_unlocked.
34013         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34014         (DIAG_POP_NEEDS_COMMENT): Likewise.
34015         (_DIAG_STR1): Likewise.
34016         (_DIAG_STR): Likewise.
34017         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34018         * stdio-common/bug21.c: Include <libc-internal.h>.
34019         (do_test): Disable -Wformat around call to sscanf.
34020         * stdio-common/scanf14.c: Include <libc-internal.h>.
34021         (main): Disable -Wformat around some calls to scanf functions.
34023 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34025         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34027 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34029         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34030         stack variable alignment.
34032 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34034         [BZ #17682]
34035         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34036         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34037         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34038         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34039         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34040         __getrlimit instead of getrlimit.
34041         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34042         __gettimeofday instead of gettimeofday.
34043         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34044         Likewise.
34045         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34046         Likewise.
34047         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34048         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34049         Remove variable.
34050         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34051         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34053 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34055         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34056         for wide-character tests.
34058 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34060         * io/openat64.c: #include <libc-internal.h>
34061         (__openat64): Prototypify.  Use ignore_value on MODE.
34062         * io/openat.c: Likewise.
34063         * misc/reboot.c: #include <libc-internal.h>
34064         (reboot): Prototypify.  Use ignore_value on HOWTO.
34065         * misc/ptrace.c: #include <libc-internal.h>
34066         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34068 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34070         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34071         XPG4, UNIX98 and XOPEN2K.
34072         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34073         Remove variable.
34074         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34076 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34078         * libio/fileops.c: Use ISO C style for function definitions.
34079         * libio/iofopen.c: Likewise.
34080         * libio/wfileops.c: Likewise.
34082         [BZ #17653]
34083         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34084         offset on EOF.
34085         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34086         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34087         (fgets_func): Function pointer to fgets and fgetws.
34088         (do_ftell_test): Add test to verify ftell value after read
34089         EOF.
34090         (do_test): Set fgets_func.
34092         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34093         O_TRUNC flag for w and w+ modes.
34094         (do_rewind_test): Likewise.
34095         (do_ftell_test): Likewise.
34096         (do_write_test): Likewise.
34098         [BZ #17647]
34099         * libio/fileops.c (do_ftell): Seek only when there are
34100         unflushed writes.
34101         * libio/wfileops.c (do_ftell_wide): Likewise.
34102         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34103         test case.
34104         (do_one_test): Call it.
34106 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34108         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34109         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34110         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34111         Remove variable.
34112         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34113         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34114         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34116 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34118         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34119         Remove variable.
34120         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34122         [BZ #17668]
34123         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34124         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34125         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34126         __freeifaddrs.  Use libc_hidden_weak.
34127         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34128         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34129         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34130         __freeifaddrs.  Use libc_hidden_weak.
34131         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34132         __getifaddrs and define as weak alias of __getifaddrs.  Use
34133         libc_hidden_weak.
34134         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34135         __freeifaddrs.  Use libc_hidden_weak.
34136         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34137         Remove variable.
34138         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34139         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34141 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34143         [BZ #17601]
34144         * sysdeps/mips/start.S (__start): Use indirect jump to call
34145         __libc_start_main.
34147 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34149         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34151         * nptl/tst-mutex1.c: Include <stdbool.h>.
34152         [!ATTR] (ATTR_NULL): New macro.
34153         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34154         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34155         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34157         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34158         to char *.
34160         [BZ #17665]
34161         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34162         Change conditional to [__USE_MISC].
34164         [BZ #17664]
34165         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34166         fgets_unlocked.
34167         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34168         __fgets_unlocked.
34169         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34170         fgets_unlocked.
34171         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34172         Remove variable.
34173         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34174         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34175         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34176         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34177         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34178         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34179         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34180         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34181         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34183         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
34185 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34187         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34188         Remove strpbrk objects.
34189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34190         (__libc_ifunc_impl_list): Remove strpbrk implementation.
34191         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
34192         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
34193         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
34194         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
34196         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34197         Remove strcspn objects.
34198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34199         (__libc_ifunc_impl_list): Remove strcspn implementation.
34200         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
34201         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
34202         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
34203         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
34205         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34206         Remove strspn objetcs.
34207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34208         (__libc_ifunc_impl_list): Remove strspn implementation.
34209         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
34210         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34211         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
34212         * sysdeps/powerpc/powerpc64/strspn.S: New file.
34214 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
34216         [BZ #17581]
34217         * malloc/hooks.c
34218         (mem2mem_check): Add a terminator to the chain of checking blocks.
34219         (malloc_check_get_size): Use it here.
34220         (mem2chunk_check): Ditto.
34222 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34224         * sysdeps/powerpc/powerpc64/strtok.S: New file.
34225         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
34227 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
34229         * bits/ioctl-types.h: Indent preprocessor directives correctly.
34231         * nptl/nptl-init.c: Include libc-internal.h.
34232         (__pthread_initialize_minimal_internal): Use ROUND_UP.
34234         * elf/ldconfig.c (search_dir): Expand comment.
34236 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
34238         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
34239         variable.
34240         (linknamespace-symlist-stdlibs-tests): Likewise.
34241         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
34242         instead of $(objpfx)symlist-stdlibs.
34243         (linknamespace-libs-isoc): New variable.
34244         (linknamespace-libs): Use $(linknamespace-libs-isoc).
34245         (linknamespace-libs-ISO): New variable.
34246         (linknamespace-libs-ISO99): Likewise.
34247         (linknamespace-libs-ISO11): Likewise.
34248         (linknamespace-libs-XPG3): Likewise.
34249         (linknamespace-libs-XPG4): Likewise.
34250         (linknamespace-libs-POSIX): Likewise.
34251         (linknamespace-libs-UNIX98): Likewise.
34252         (linknamespace-libs-XOPEN2K): Likewise.
34253         (linknamespace-libs-POSIX2008): Likewise.
34254         (linknamespace-libs-XOPEN2K8): Likewise.
34255         ($(objpfx)symlist-stdlibs): Replace by
34256         $(linknamespace-symlist-stdlibs-tests).  Use
34257         $(linknamespace-libs-$*) as set of libraries.
34258         ($(linknamespace-header-tests)): Update dependencies.  Use
34259         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
34260         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34261         * conform/linknamespace.pl: Remove comment about considering
34262         definitions of symbols from irrelevant libraries.
34264 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34266         [BZ #13862]
34267         * elf/dl-tls.c: Include <atomic.h>.
34268         (oom): Remove #ifdef SHARED/#endif.
34269         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34270         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34271         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34272         big enough.
34273         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34274         * nptl/Makefile (tests): Add tst-stack4.
34275         (modules-names): Add tst-stack4mod.
34276         ($(objpfx)tst-stack4): New.
34277         (tst-stack4mod.sos): Likewise.
34278         ($(objpfx)tst-stack4.out): Likewise.
34279         ($(tst-stack4mod.sos)): Likewise.
34280         (clean): Likewise.
34281         * nptl/tst-stack4.c: New file.
34282         * nptl/tst-stack4mod.c: Likewise.
34284 2014-11-27  J. Brown  <jb999@gmx.de>
34286         * sysdeps/x86/bits/string.h: Add recent CPUs.
34288 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34290         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34291         sigblock.
34293         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34294         feof.
34296         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34297         variable.
34299 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34301         * nscd/connections.c: Include libc-internal.h because of macro
34302         usage ignore_value.
34304 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34306         * string/bits/string3.h (__warn_memset_zero_len): Don't
34307         declare for gcc newer than 5.0.
34308         (memset): Don't test for zero-length __LEN for gcc newer than
34309         5.0.
34311 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34313         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34314         size_t for %zu format.
34316         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34317         difference, not %ju.
34319 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34321         * include/libc-internal.h (ignore_value): New macro.
34322         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34323         with ignore_value.
34325         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34326         definition.
34328         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34329         pthread_cleanup_push to void *.
34331         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34332         Undefine.
34334         [BZ #16619]
34335         [BZ #16740]
34336         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34337         instead of 1L << 52.
34339         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34340         * libio/bug-rewind2.c (do_test): Likewise.
34342         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34343         * debug/test-strcpy_chk-ifunc.c: Likewise.
34344         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34345         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34346         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34347         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34348         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34349         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34350         * Rules [$(multi-arch) = no] (tests): Do not filter out
34351         $(tests-ifunc).
34352         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34353         * debug/Makefile (tests-ifunc): Remove variable.
34354         (tests): Do not add $(tests-ifunc).
34355         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34356         (tests): Do not add $(tests-ifunc).
34357         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34358         [TEST_IFUNC]: Remove conditionals.
34359         * string/test-string.h (TEST_IFUNC): Remove macro.
34360         [TEST_IFUNC]: Remove conditionals.
34362         * string/test-strchr.c [!WIDE] (L): New macro.
34363         [WIDE] (L): Likewise.
34364         (check1): Use CHAR instead of char.  Use L on string and character
34365         constants.
34367 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34369         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34370         tests.
34371         * sysdeps/powerpc/bits/atomic.h
34372         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34373         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34374         (atomic_exchange_and_add_acq): Likewise.
34375         (atomic_exchange_and_add_rel): Likewise.
34376         * sysdeps/powerpc/powerpc32/bits/atomic.h
34377         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34378         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34379         * sysdeps/powerpc/powerpc64/bits/atomic.h
34380         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34381         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34383 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34385         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34386         Change synchronization of __sched_fifo_min_prio and
34387         __sched_fifo_max_prio.
34388         * nptl/pthread_mutexattr_getprioceiling.c
34389         (pthread_mutexattr_getprioceiling): Likewise.
34390         * nptl/pthread_mutexattr_setprioceiling.c
34391         (pthread_mutexattr_setprioceiling): Likewise.
34392         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34393         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34394         Likewise.
34396 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34398         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34399         void.
34401 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34403         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34404         third argument const.
34406 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34408         fnmatch: work around GCC compiler warning bug with uninit var
34409         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34410         This works around a bug with x86-64 GCC 4.9.2 and earlier
34411         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34412         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34413         used uninitialized in this function [-Wmaybe-uninitialized]".
34415 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34417         * posix/bug-regex31.c (main): Return RES not 0.
34419 2014-11-25  Anton Blanchard <anton@samba.org>
34421         * sysdeps/powerpc/bits/atomic.h
34422         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34424 2014-11-24  Sterling Augustine  <saugustine@google.com>
34426         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34428 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34430         [BZ #17608]
34431         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34433 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34435         [BZ #17633]
34436         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34437         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34438         variable.
34439         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34440         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34442 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34444         * string/strncpy.c (strncpy): Improve performance by using memset.
34446 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34448         * string/strcpy.c (strcpy):
34449         Improve performance by using strlen and memcpy.
34451 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34453         * string/strcoll_l.c (get_next_seq): __always_inline.
34454         * string/strcoll_l.c (do_compare): __always_inline.
34456 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34458         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34459         defined.
34460         * include/mqueue.h: Likewise.
34461         * include/stdlib.h: Likewise.
34463         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34464         (get_null_defines): Adjust.
34465         * sunrpc/Makefile: Adjust comment.
34466         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34467         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34468         (CFLAGS-interp.c): Likewise.
34469         (CFLAGS-ldconfig.c): Likewise.
34470         (CPPFLAGS-.os): Likewise.
34471         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34472         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34473         * extra-modules.mk (extra-modules.mk): Likewise.
34474         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34475         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34476         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34477         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34478         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34479         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34480         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34481         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34482         * iconvdata/Makefile (CPPFLAGS): Likewise.
34483         (cpp-srcs-left): Add libof for all iconvdata routines.
34484         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34485         * include/assert.h: Likewise.
34486         * include/ctype.h: Likewise.
34487         * include/errno.h: Likewise.
34488         * include/libc-symbols.h: Likewise.
34489         * include/math.h: Likewise.
34490         * include/netdb.h: Likewise.
34491         * include/resolv.h: Likewise.
34492         * include/stdio.h: Likewise.
34493         * include/stdlib.h: Likewise.
34494         * include/string.h: Likewise.
34495         * include/sys/stat.h: Likewise.
34496         * include/wctype.h: Likewise.
34497         * intl/l10nflist.c: Likewise.
34498         * libidn/idn-stub.c: Likewise.
34499         * libio/libioP.h: Likewise.
34500         * nptl/libc_multiple_threads.c: Likewise.
34501         * nptl/pthreadP.h: Likewise.
34502         * posix/regex_internal.h: Likewise.
34503         * resolv/res_hconf.c: Likewise.
34504         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34505         * sysdeps/arm/memmove.S: Likewise.
34506         * sysdeps/arm/sysdep.h: Likewise.
34507         * sysdeps/generic/_itoa.h: Likewise.
34508         * sysdeps/generic/symbol-hacks.h: Likewise.
34509         * sysdeps/gnu/errlist.awk: Likewise.
34510         * sysdeps/gnu/errlist.c: Likewise.
34511         * sysdeps/i386/i586/memcpy.S: Likewise.
34512         * sysdeps/i386/i586/memset.S: Likewise.
34513         * sysdeps/i386/i686/memcpy.S: Likewise.
34514         * sysdeps/i386/i686/memmove.S: Likewise.
34515         * sysdeps/i386/i686/mempcpy.S: Likewise.
34516         * sysdeps/i386/i686/memset.S: Likewise.
34517         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34518         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34519         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34520         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34521         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34522         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34523         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34524         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34525         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34526         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34527         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34528         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34529         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34530         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34531         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34532         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34533         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34534         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34535         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34536         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34537         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34538         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34539         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34540         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34541         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34542         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34543         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34544         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34545         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34546         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34547         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34548         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34550         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34551         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34553         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34554         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34555         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34556         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34557         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34558         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34559         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34560         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34561         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34562         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34563         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34564         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34565         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34566         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34567         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34568         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34569         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34570         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34571         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34572         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34573         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34574         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34575         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34576         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34577         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34578         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34579         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34580         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34581         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34582         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34583         * sysdeps/posix/closedir.c: Likewise.
34584         * sysdeps/posix/opendir.c: Likewise.
34585         * sysdeps/posix/readdir.c: Likewise.
34586         * sysdeps/posix/rewinddir.c: Likewise.
34587         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34588         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34589         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34590         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34591         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34592         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34593         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34594         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34596         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34598         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34599         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34600         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34601         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34602         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34603         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34604         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34605         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34606         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34607         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34608         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34609         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34610         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34612         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34614         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34615         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34622         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34623         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34624         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34625         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34626         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34627         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34628         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34629         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34630         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34631         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34632         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34633         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34634         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34635         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34636         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34637         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34638         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34641         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34642         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34643         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34644         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34645         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34646         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34647         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34648         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34649         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34650         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34651         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34652         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34653         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34654         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34655         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34656         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34657         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34658         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34659         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34660         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34661         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34662         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34663         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34664         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34665         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34666         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34667         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34668         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34669         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34670         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34671         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34672         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34673         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34674         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34675         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34676         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34677         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34678         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34679         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34680         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34681         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34683         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34684         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34685         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34686         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34687         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34688         * sysdeps/unix/alpha/sysdep.S: Likewise.
34689         * sysdeps/unix/alpha/sysdep.h: Likewise.
34690         * sysdeps/unix/make-syscalls.sh: Likewise.
34691         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34692         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34693         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34694         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34695         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34696         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34697         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34698         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34699         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34700         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34701         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34702         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34703         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34704         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34705         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34706         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34707         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34708         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34709         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34710         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34711         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34712         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34713         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34714         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34715         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34716         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34717         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34720         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34721         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34724         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34725         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34727         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34729         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34730         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34731         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34732         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34733         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34734         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34735         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34738         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34739         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34740         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34741         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34742         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34743         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34744         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34745         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34746         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34747         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34749         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34750         * sysdeps/x86_64/memcpy.S: Likewise.
34751         * sysdeps/x86_64/memmove.c: Likewise.
34752         * sysdeps/x86_64/memset.S: Likewise.
34753         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34754         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34755         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34756         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34757         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34758         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34759         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34760         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34761         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34762         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34763         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34764         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34765         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34766         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34767         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34768         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34769         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34770         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34771         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34772         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34773         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34774         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34775         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34776         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34777         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34778         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34779         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34780         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34781         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34782         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34783         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34784         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34785         * sysdeps/x86_64/strcmp.S: Likewise.
34787         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34789         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34790         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34791         * elf/rtld-Rules: Likewise.
34792         * elf/setup-vdso.h: Likewise.
34793         * include/assert.h: Likewise.
34794         * include/bits/stdlib-float.h: Likewise.
34795         * include/errno.h: Likewise.
34796         * include/sys/stat.h: Likewise.
34797         * include/unistd.h: Likewise.
34798         * sysdeps/aarch64/setjmp.S: Likewise.
34799         * sysdeps/alpha/setjmp.S: Likewise.
34800         * sysdeps/arm/__longjmp.S: Likewise.
34801         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34802         * sysdeps/arm/setjmp.S: Likewise.
34803         * sysdeps/arm/sysdep.h: Likewise.
34804         * sysdeps/generic/_itoa.h: Likewise.
34805         * sysdeps/generic/dl-sysdep.h: Likewise.
34806         * sysdeps/generic/ldsodefs.h: Likewise.
34807         * sysdeps/i386/dl-tls.h: Likewise.
34808         * sysdeps/i386/setjmp.S: Likewise.
34809         * sysdeps/m68k/setjmp.c: Likewise.
34810         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34811         * sysdeps/mach/hurd/opendir.c: Likewise.
34812         * sysdeps/posix/getcwd.c: Likewise.
34813         * sysdeps/posix/opendir.c: Likewise.
34814         * sysdeps/posix/profil.c: Likewise.
34815         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34816         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34817         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34818         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34819         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34820         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34821         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34822         * sysdeps/s390/dl-tls.h: Likewise.
34823         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34824         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34825         * sysdeps/sh/sh3/setjmp.S: Likewise.
34826         * sysdeps/sh/sh4/setjmp.S: Likewise.
34827         * sysdeps/unix/alpha/sysdep.h: Likewise.
34828         * sysdeps/unix/arm/sysdep.S: Likewise.
34829         * sysdeps/unix/i386/sysdep.S: Likewise.
34830         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34831         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34832         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34833         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34834         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34835         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34836         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34837         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34838         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34839         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34840         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34841         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34842         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34845         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34848         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34849         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34850         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34851         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34852         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34853         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34854         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34855         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34857         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34858         * sysdeps/x86_64/setjmp.S: Likewise.
34860         * include/math.h: Use IS_IN instead of IS_IN_libm.
34861         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34862         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34863         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34864         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34865         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34866         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34867         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34868         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34869         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34870         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34871         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34872         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
34873         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
34874         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
34875         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
34876         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
34877         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
34878         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
34879         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
34880         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
34881         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
34882         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
34883         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
34884         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
34885         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
34886         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
34887         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
34888         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34889         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34890         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
34891         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
34892         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34893         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
34895         Likewise.
34896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
34897         Likewise.
34898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
34899         Likewise.
34900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
34901         Likewise.
34902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
34903         Likewise.
34904         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34905         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
34906         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34907         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34908         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34909         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
34911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
34912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
34913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
34914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
34915         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
34916         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
34917         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34918         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34919         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34920         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34921         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34922         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34923         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34924         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
34925         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
34926         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
34927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
34928         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
34929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34930         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
34932         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
34933         * nptl/pthreadP.h: Likewise.
34934         * nptl_db/structs.def: Likewise.
34935         * sysdeps/arm/sysdep.h: Likewise.
34936         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34937         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34938         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
34939         * sysdeps/unix/alpha/sysdep.h: Likewise.
34940         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34941         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34942         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34943         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34944         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34945         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34946         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34947         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34948         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34949         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34950         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34951         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34952         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34953         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34958         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34961         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34962         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34963         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34964         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
34965         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34967         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
34968         * nptl/pthreadP.h: Likewise.
34969         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34970         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34971         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34972         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34973         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34974         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34975         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34976         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34977         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34978         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34979         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34980         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34982         Likewise.
34983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34984         Likewise.
34985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34987         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34990         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34991         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34992         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34994         * dlfcn/dladdr.c: Use IS_IN.
34995         * dlfcn/dladdr1.c: Likewise.
34996         * dlfcn/dlclose.c: Likewise.
34997         * dlfcn/dlerror.c: Likewise.
34998         * dlfcn/dlinfo.c: Likewise.
34999         * dlfcn/dlmopen.c: Likewise.
35000         * dlfcn/dlopen.c: Likewise.
35001         * dlfcn/dlsym.c: Likewise.
35002         * dlfcn/dlvsym.c: Likewise.
35004         * include/ifaddrs.h: Use IS_IN.
35005         * inet/check_pf.c: Likewise.
35006         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35007         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35009         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35010         IS_IN_ldconfig.
35011         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35012         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35014         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35015         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35016         IS_IN (libc).
35018         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35020         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35021         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35022         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35023         * include/libc-symbols.h (IS_IN_LIB): New macro.
35024         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35025         * include/netdb.h: Likewise.
35026         * include/stap-probe.h: Remove all uses of IN_LIB.
35028         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35029         instead of IN_MODULE.
35030         * include/libc-symbols.h (IN_MODULE): Define using
35031         MODULE_NAME.
35032         (PASTE_NAME, PASTE_NAME1): New macros.
35033         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35034         of IN_LIB.
35035         (STAP_PROBE_ASM): Likewise.
35037 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35039         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35040         __mach_init in dlopened libc.
35042 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35044         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35045         * sysdeps/arm/preconfigure: Regenerate.
35047 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35049         * nptl/pthread_create.c (__pthread_create_2_1): Set
35050         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35051         when copying values from IATTR into PD.
35053 2014-11-21  Will Newton  <will.newton@linaro.org>
35054             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35056         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35057         Refactor inline-asm.  Also add comment.
35059         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35060         ElfW macro instead of hardcoded Elf64 types.
35061         (la_aarch64_gnu_pltenter): Likewise.
35062         * sysdeps/aarch64/dl-machine.h
35063         (elf_machine_runtime_setup): Use ElfW(Addr).
35065         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35066         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35067         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35068         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35069         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35070         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35071         (R_AARCH64_TLS_DTPMOD): This.
35072         (R_AARCH64_TLS_DTPREL64): Rename to ...
35073         (R_AARCH64_TLS_DTPREL): This.
35074         (R_AARCH64_TLS_TPREL64): Rename to ...
35075         (R_AARCH64_TLS_TPREL): This.
35076         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35077         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35078         R_AARCH64_TLS_TPREL64.
35079         (elf_machine_rela): Likewise.
35081 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35083         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35084         by setting it to 0.  64b atomics are not supported currently.
35086 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35088         [BZ #16469]
35089         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35090         search domain names.
35092 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35094         [BZ #16469]
35095         * NEWS: Update.
35096         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35097         trailing dot.
35098         * posix/tst-getaddrinfo5.c: New.
35099         * posix/Makefile (tests): Add it.
35101 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35103         [BZ #14498]
35104         * NEWS: Fixed.
35105         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35106         after parsing line but before break_if_match.
35107         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35108         if there is a protocol mismatch.
35110 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35112         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35113         because the potential race is on the user-supplied stream.
35115 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35117         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35118         string literal if not passed a buffer.
35119         * manual/job.texi (ctermid): Update reasoning, note deviation
35120         from posix, suggest mtasurace when not passed a buffer, for
35121         future non-preliminary safety notes.
35123 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35125         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35126         of not passing it a buffer.
35127         Reported by Peng Haitao.
35129 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35131         * manual/Makefile ($(objpfx)stamp-summary): Require
35132         check-safety.sh to pass.
35133         * manual/check-safety.sh: Wish for verification that every
35134         @deftypefn and @deftypefun is followed by a @safety remark.
35136 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35138         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35140         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35141         PTHREAD_CANCEL_ASYNCHRONOUS.
35142         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35143         send SIGCANCEL.
35145         * nptl/default-sched.h: New file.
35146         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35147         * nptl/pthread_create.c: Include it.
35148         (__pthread_create_2_1): Use collect_default_sched instead of making
35149         Linux syscalls here directly.
35151 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35153         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35154         __pthread_once): Use C11 atomics.
35156 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35158         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35160 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35162         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35163         atomic_thread_fence_acquire, atomic_thread_fence_release,
35164         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35165         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35166         atomic_compare_exchange_weak_relaxed,
35167         atomic_compare_exchange_weak_acquire,
35168         atomic_compare_exchange_weak_release,
35169         atomic_exchange_acquire, atomic_exchange_release,
35170         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35171         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35172         atomic_fetch_and_acquire,
35173         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35175 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35177         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35178         USE_ATOMIC_COMPILER_BUILTINS): Define.
35179         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35181         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35183         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
35184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35185         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
35186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35187         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
35188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35189         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
35190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35191         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
35192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35193         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35194         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35195         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35197         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35199         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
35200         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35201         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35203         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
35204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35205         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35206         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35207         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
35208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35209         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
35210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35211         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
35212         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35213         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35214         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35215         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
35216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35217         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
35218         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35220 2014-11-19  Roland McGrath  <roland@hack.frob.com>
35222         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
35223         the sched_priority value here.  It was already checked when the user
35224         called pthread_attr_setschedparam.
35226         * nptl/tst-bad-schedattr.c: New file.
35227         * nptl/Makefile (tests): Add it.
35229 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
35230             Florian Weimer  <fweimer@redhat.com>
35231             Joseph Myers  <joseph@codesourcery.com>
35232             Adam Conrad  <adconrad@0c3.net>
35233             Andreas Schwab  <schwab@suse.de>
35234             Brooks  <bmoses@google.com>
35236         [BZ #17625]
35237         * wordexp-test.c (__dso_handle): Add prototype.
35238         (__register_atfork): Likewise.
35239         (__app_register_atfork): New function.
35240         (registered_forks): New global.
35241         (register_fork): New function.
35242         (test_case): Add 3 new tests for WRDE_CMDSUB.
35243         (main): Call __app_register_atfork.
35244         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
35245         fork count is non-zero fail the test.
35246         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
35247         is set.
35248         (parse_dollars): Remove check for WRDE_NOCMD.
35249         (parse_dquote): Likewise.
35251 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35253         * Makeconfig (built-modules): List non-library modules to be
35254         built.
35255         (module-cppflags): Include libc-modules.h for
35256         everything except shlib-versions.v.i.
35257         (CPPFLAGS): Use it.
35258         (before-compile): Add libc-modules.h.
35259         ($(common-objpfx)libc-modules.h,
35260         $(common-objpfx)libc-modules.stmp): New targets.
35261         (common-generated): Add libc-modules.h and libc-modules.stmp.
35262         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35263         * include/libc-symbols.h: Don't include libc-modules.h.
35264         * include/libc-modules.h: Remove file.
35265         * scripts/gen-libc-modules.awk: New script to generate
35266         libc-modules.h.
35267         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35268         Depend on libc-modules.stmp.
35270         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35272         * Makeconfig (in-module): Get value of libof set for the
35273         translation unit.
35274         (CPPFLAGS): Use $(in-module).
35275         * Makerules: Don't suffix routine names for nonlib.
35276         * include/libc-modules.h: New file.
35277         * include/libc-symbols.h: Include libc-modules.h
35278         (IS_IN): New macro to replace IS_IN_* macros.
35279         * elf/Makefile: Set libof-* for each routine.
35280         * elf/rtld-Rules: Likewise.
35281         * extra-modules.mk: Likewise.
35282         * iconv/Makefile: Likewise.
35283         * iconvdata/Makefile: Likewise.
35284         * locale/Makefile: Likewise.
35285         * malloc/Makefile: Likewise.
35286         * nss/Makefile: Likewise.
35287         * sysdeps/gnu/Makefile: Likewise.
35288         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35289         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35290         * sysdeps/s390/s390-64/Makefile: Likewise.
35291         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35292         CPPFLAGS for nscd instead of nonlib.
35294 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35296         * nptl/createthread.c: New file.
35298         * nptl/createthread.c: Moved ...
35299         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35301         * nptl/createthread.c: Add proper top-line comment.
35302         (do_clone): Folded into ...
35303         (create_thread): ... here.  Take new arguments STOPPED_START and
35304         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35305         increment __nptl_threads, do event-reporting logic, do
35306         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35307         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35308         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35309         just send SIGCANCEL.
35310         * nptl/pthread_create.c: Forward-declare create_thread before
35311         including createthread.c.
35312         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35313         declaration, and new macro START_THREAD_SELF to replace argument.
35314         Remove return statement.
35315         (report_thread_creation): New function.
35316         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35317         synchronization logic, and __nptl_nthreads increment here, around
35318         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35319         PD->parent_cancelhandling here, before create_thread.  When
35320         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35321         __deallocate_stack, and ENOMEM translation here.
35323 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35325         [BZ #17616]
35326         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35327         (mptwo): Rename to __mptwo.
35328         (__inv): Use __mptwo instead of mptwo.
35329         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35330         (mptwo): Rename to __mptwo.
35331         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35332         of mpone and __mptwo instead of mptwo.
35333         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35334         instead of mpone.
35335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35336         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35337         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35338         of mpone and __mptwo instead of mptwo.
35339         (__mpranred): Use __mpone instead of mpone.
35340         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35341         variable.
35342         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35343         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35344         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35345         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35346         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35347         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35348         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35349         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35350         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35351         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35352         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35353         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35354         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35355         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35356         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35357         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35358         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35359         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35360         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35362 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35364         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35365         replace BSD Handler xref with BSD Signal Handling.
35367 2014-11-17  Richard Henderson  <rth@redhat.com>
35369         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35370         (_FP_PACK_RAW_2): Remove.
35371         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35372         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35373         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35374         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35375         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35376         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35377         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35378         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35379         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35380         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35381         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35382         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35383         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35384         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35385         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35386         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35388 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35390         * signal/signal.h [__USE_MISC]
35391         (struct sigvec): Remove type.
35392         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35393         (sigvec): Remove declaration.
35394         * sysdeps/posix/sigvec.c: Moved ...
35395         * signal/sigvec.c: ... here, replacing old file.
35396         (struct sigvec): New type, copied from old signal.h definition.
35397         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35398         (__sigvec): Convert definition to prototype.
35399         (sigvec): Replace weak_alias with compat_symbol.
35400         * signal/Versions (libc: GLIBC_2.21): New version set.
35401         * include/signal.h: Remove __sigvec declaration.
35402         * sysdeps/unix/bsd/sigvec.c: Remove file.
35403         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35404         * manual/signal.texi (BSD Handler): Remove subsection.
35405         Move siginterrupt up to ...
35406         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35407         (Blocking in BSD): Fold subsection into its parent.
35408         * NEWS: Mention sigvec removal.
35410 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35412         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35413         (DLA_FMS): Make definition conditional only on [__FMA4__].
35414         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35415         definition.
35417         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35418         Make definition conditional only on [PROF].
35419         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35420         definition.
35421         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35422         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35424         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35425         !__GNUC__].
35426         * include/signal.h (__sigpause): Move declaration above call to
35427         libc_hidden_proto.
35428         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35429         variable.
35430         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35431         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35433 2014-11-14  David S. Miller  <davem@davemloft.net>
35435         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35436         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35438 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35440         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35441         * configure: Regenerated.
35442         * manual/install.texi (Tools for Compilation): Document a
35443         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35444         compiler verified to work.
35445         * INSTALL: Regenerated.
35447         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35448         redeclare with asm name.
35449         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35450         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35451         including <string.h>.
35452         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35453         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35454         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35455         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35456         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35457         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35458         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35460 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35462         * stdlib/strtol.c (__strtol): Use prototype definition.
35464         [BZ #17594]
35465         * stdlib/strtol.c (SYM__): New macro.
35466         (SYM__1): Likewise.
35467         (__strtol): Likewise.
35468         (strtol): Rename to __strtol and define as weak alias of
35469         __strtol.  Use libc_hidden_weak.
35471 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35473         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35474         Use numbered labels in inline assembly.
35476 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35478         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35479         Add setjmp LIBC_PROBE.
35480         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35481         Likewise.
35482         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35483         Add longjmp, longjmp_target LIBC_PROBE.
35484         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35485         Likewise.
35487 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35489         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35490         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35491         to get rid of unused variable warning.
35493 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35495         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35496         Check for unwind_backtrace ==  NULL only in SHARED case.
35497         (__backchain_backtrace): Compile only in SHARED case.
35498         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35499         Likewise.
35500         (__backchain_backtrace): Declare as static.
35502 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35504         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35505         (__libc_multiple_threads_ptr): Variable moved ...
35506         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35508 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35510         * conform/GlibcConform.pm: New file.
35511         * conform/conformtest.pl: Use GlibcConform module.
35512         * conform/linknamespace.pl: New file.
35513         * conform/list-header-symbols.pl: Likewise.
35514         * conform/Makefile (linknamespace-symlists-base): New variable.
35515         (linknamespace-symlists-tests): Likewise.
35516         (linknamespace-header-base): Likewise.
35517         (linknamespace-header-tests): Likewise.
35518         (tests-special): Add new tests.
35519         ($(linknamespace-symlists-tests)): New rule.
35520         (linknamespace-libs): New variable.
35521         ($(objpfx)symlist-stdlibs): New rule.
35522         ($(linknamespace-header-tests)): Likewise.
35523         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35524         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35525         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35526         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35527         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35528         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35529         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35530         (test-xfail-ISO/math.h/linknamespace): Likewise.
35531         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35532         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35533         (test-xfail-ISO/time.h/linknamespace): Likewise.
35534         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35535         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35536         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35537         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35538         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35539         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35540         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35541         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35542         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35543         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35544         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35545         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35546         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35547         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35548         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35549         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35550         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35551         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35552         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35553         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35554         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35555         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35556         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35557         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35558         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35559         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35560         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35561         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35562         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35563         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35564         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35565         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35566         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35567         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35568         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35569         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35570         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35571         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35572         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35573         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35574         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35575         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35576         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35577         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35578         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35579         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35580         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35581         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35582         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35583         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35584         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35585         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35586         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35587         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35588         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35589         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35590         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35591         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35592         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35593         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35594         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35595         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35596         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35597         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35598         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35599         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35600         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35601         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35602         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35603         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35604         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35605         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35606         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35607         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35608         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35609         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35610         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35611         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35612         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35613         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35614         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35615         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35616         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35617         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35618         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35619         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35620         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35621         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35622         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35623         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35624         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35625         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35626         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35627         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35628         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35629         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35630         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35631         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35632         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35633         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35634         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35635         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35636         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35637         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35638         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35639         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35640         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35641         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35642         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35643         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35644         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35645         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35646         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35647         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35648         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35649         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35650         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35651         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35652         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35653         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35654         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35655         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35656         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35657         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35658         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35659         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35660         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35661         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35662         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35663         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35664         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35665         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35666         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35667         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35668         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35669         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35670         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35671         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35672         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35673         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35674         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35675         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35676         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35677         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35678         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35679         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35680         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35681         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35682         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35683         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35685         [BZ #17589]
35686         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35687         of fgets_unlocked.
35689         [BZ #17585]
35690         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35691         (memmem): Rename to __memmem and define as weak alias of
35692         __memmem.  Use libc_hidden_weak.
35693         (__memmem): Use libc_hidden_def.
35694         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35695         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35696         memmem.
35698         [BZ #17582]
35699         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35700         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35701         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35702         and define as weak alias of __fgets_unlocked.  Use
35703         libc_hidden_weak.
35704         (__fgets_unlocked): Use libc_hidden_def.
35705         * include/stdio.h (__fgets_unlocked): Declare.  Use
35706         libc_hidden_proto.
35707         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35708         __fgets_unlocked instead of fgets_unlocked.
35709         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35710         (GET_NPROCS_CONF_PARSER): Likewise.
35711         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35712         (GET_NPROCS_CONF_PARSER): Likewise.
35714         [BZ #17574]
35715         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35716         weak alias of __wmemset.  Use libc_hidden_weak.
35717         (__wmemset): Use libc_hidden_def.
35718         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35719         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35720         of wmemset.
35722         [BZ #17573]
35723         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35724         with asm name __mempcpy.
35725         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35727         [BZ #17572]
35728         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35729         and define as weak alias of __rawmemchr.
35730         (__rawmemchr): Do not define as strong alias of rawmemchr.
35732         [BZ #17571]
35733         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35734         alias of __qsort_r.
35735         (qsort): Call __qsort_r instead of qsort_r.
35736         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35737         (__qsort_r): Declare.  Call libc_hidden_proto.
35738         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35739         instead of qsort_r.
35740         * nscd/gai.c (__qsort_r): Define to qsort_r.
35741         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35742         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35743         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35745         [BZ #17570]
35746         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35747         define as weak alias of __malloc_info.
35749         [BZ #17584]
35750         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35751         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35752         (__rewinddir): Use libc_hidden_def.
35753         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35754         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35755         (__rewinddir): Use libc_hidden_def.
35756         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35757         weak alias of __rewinddir.  Don't use libc_hidden_def.
35758         (__rewinddir): Use libc_hidden_def.
35759         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35760         (__rewinddir): Use libc_hidden_proto.
35761         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35762         rewinddir.
35763         (__getcwd): Use __rewinddir instead of rewinddir.
35765         [BZ #17583]
35766         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35767         alias of __fileno.  Use libc_hidden_weak.
35768         (__fileno): Use libc_hidden_def.
35769         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35770         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35771         alias of __ftello.
35772         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35773         __ftello.
35774         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35775         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35776         libc_hidden_def.
35777         (fread_unlocked): Don't use libc_hidden_ver.
35778         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35779         and define as weak alias of __fread_unlocked.  Don't use
35780         libc_hidden_def.
35781         (__fread_unlocked): Use libc_hidden_def.
35782         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35783         (ftello): Don't use libc_hidden_proto.
35784         (__ftello): Declare.  Use libc_hidden_proto.
35785         (fread_unlocked): Don't use libc_hidden_proto.
35786         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35787         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35788         and __ftello instead of fileno, fread_unlocked and ftello.
35790 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35792         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35793         GOT12.
35794         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35795         Likewise.
35796         (_dl_start_user): Likewise.
35797         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35799 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35800             Siddhesh Poyarekar  <siddhesh@redhat.com>
35802         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35803         Move argv and envp down instead of moving argc up.
35804         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35806 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35808         [BZ #17506]
35809         * test-skeleton.c (main): Return successful if one of
35810         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35811         * string/tst-strcoll-overflow.c: Define expected status.
35813 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35815         [BZ #17475]
35816         * locale/iso-639.def: Define Bhili and Tulu language codes.
35818 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35820         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35822 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35824         [BZ #17555]
35825         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35827 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35829         * configure.ac: Updated check of minimal required version to
35830         2.22.
35831         * manual/install.texi (Tools for Compilation): Updated version
35832         number.
35833         * configure: Regenerated.
35834         * INSTALL: Likewise.
35836 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35838         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35839         __tls_get_addr.
35841 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35843         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35844         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35845         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35846         libc_hidden_weak.
35847         (waitpid): Define as alias of __waitpid.
35848         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35849         __waitpid.
35850         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35851         libc_hidden_weak.
35852         (waitpid): Define as alias of __waitpid.
35853         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35854         __libc_waitpid alias.
35855         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35856         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35857         Likewise.
35858         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35859         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35860         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35861         alias.
35862         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35863         __waitpid.
35864         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35865         libc_hidden_weak.
35866         (waitpid): Define as alias of __waitpid.
35868 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
35870         * manual/llio.texi: Add comment that write safety has been
35871         fixed in Linux.
35873         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
35874         (localplt-build-dso): Add elf/ld.so.
35875         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
35876         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
35877         and free for ld.so.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
35879         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
35880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
35881         Likewise.
35882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35883         Likewise.
35884         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
35885         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
35886         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
35887         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
35888         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
35889         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
35890         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
35891         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
35892         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
35893         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
35894         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35896 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
35898         [BZ #14132]
35899         * include/libc-symbols.h (INTUSE): Remove macro.
35900         (INTDEF): Likewise.
35901         (INTVARDEF): Likewise.
35902         (_INTVARDEF): Likewise.
35903         (INTDEF2): Likewise.
35904         (INTVARDEF2): Likewise.
35905         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
35906         rtld_hidden_def instead of INTVARDEF.
35907         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
35908         (_dl_starting_up_internal): Remove declaration.
35909         (_dl_starting_up): Use rtld_hidden_proto.
35910         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
35911         declaration.
35912         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
35913         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
35914         _dl_starting_up.
35915         * elf/dl-writev.h (_dl_writev): Likewise.
35916         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
35917         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
35918         _dl_starting_up_internal.
35920 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35922         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
35923         test-skeleton.c.
35925 2014-11-05  Will Newton  <will.newton@linaro.org>
35927         * benchtests/Makefile: (bench-malloc): Add malloc thread
35928         scalability benchmark.
35929         * benchtests/bench-malloc-threads.c: New file.
35931 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
35933         * sysdeps/aarch64/strchrnul.S: New file.
35935 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35937         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
35938         definition.
35939         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35940         Likewise.
35941         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35942         Likewise.
35943         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35944         Likewise.
35945         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35946         Likewise.
35947         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35948         Likewise.
35950 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
35952         * catgets/test-gencat.c: Use test-skeleton.c.
35953         * catgets/tst-catgets.c: Likewise.
35954         * csu/tst-empty.c: Likewise.
35955         * elf/tst-audit2.c: Likewise.
35956         * elf/tst-global1.c: Likewise.
35957         * elf/tst-pathopt.c: Likewise.
35958         * elf/tst-piemod1.c: Likewise.
35959         * elf/tst-tls10.c: Likewise.
35960         * elf/tst-tls11.c: Likewise.
35961         * elf/tst-tls12.c: Likewise.
35962         * gnulib/tst-gcc.c: Likewise.
35963         * iconvdata/tst-e2big.c: Likewise.
35964         * iconvdata/tst-loading.c: Likewise.
35965         * iconv/tst-iconv1.c: Likewise.
35966         * iconv/tst-iconv2.c: Likewise.
35967         * inet/test-inet6_opt.c: Likewise.
35968         * inet/tst-gethnm.c: Likewise.
35969         * inet/tst-network.c: Likewise.
35970         * inet/tst-ntoa.c: Likewise.
35971         * intl/tst-codeset.c: Likewise.
35972         * intl/tst-gettext2.c: Likewise.
35973         * intl/tst-gettext3.c: Likewise.
35974         * intl/tst-ngettext.c: Likewise.
35975         * intl/tst-translit.c: Likewise.
35976         * io/test-stat.c: Likewise.
35977         * libio/test-fmemopen.c: Likewise.
35978         * libio/tst-freopen.c: Likewise.
35979         * libio/tst-sscanf.c: Likewise.
35980         * libio/tst-ungetwc1.c: Likewise.
35981         * libio/tst-ungetwc2.c: Likewise.
35982         * libio/tst-widetext.c: Likewise.
35983         * localedata/tst-ctype.c: Likewise.
35984         * localedata/tst-digits.c: Likewise.
35985         * localedata/tst-leaks.c: Likewise.
35986         * localedata/tst-mbswcs1.c: Likewise.
35987         * localedata/tst-mbswcs2.c: Likewise.
35988         * localedata/tst-mbswcs3.c: Likewise.
35989         * localedata/tst-mbswcs4.c: Likewise.
35990         * localedata/tst-mbswcs5.c: Likewise.
35991         * localedata/tst-setlocale.c: Likewise.
35992         * localedata/tst-trans.c: Likewise.
35993         * localedata/tst-wctype.c: Likewise.
35994         * localedata/tst-xlocale1.c: Likewise.
35995         * login/tst-grantpt.c: Likewise.
35996         * malloc/tst-calloc.c: Likewise.
35997         * malloc/tst-malloc.c: Likewise.
35998         * malloc/tst-mallocstate.c: Likewise.
35999         * malloc/tst-mcheck.c: Likewise.
36000         * malloc/tst-mtrace.c: Likewise.
36001         * malloc/tst-obstack.c: Likewise.
36002         * math/atest-exp2.c: Likewise.
36003         * math/atest-exp.c: Likewise.
36004         * math/atest-sincos.c: Likewise.
36005         * math/test-matherr.c: Likewise.
36006         * math/test-misc.c: Likewise.
36007         * math/test-powl.c: Likewise.
36008         * math/tst-definitions.c: Likewise.
36009         * misc/tst-dirname.c: Likewise.
36010         * misc/tst-efgcvt.c: Likewise.
36011         * misc/tst-fdset.c: Likewise.
36012         * misc/tst-hsearch.c: Likewise.
36013         * misc/tst-mntent2.c: Likewise.
36014         * nptl/tst-sem7.c: Likewise.
36015         * nptl/tst-sem8.c: Likewise.
36016         * nptl/tst-sem9.c: Likewise.
36017         * nss/test-netdb.c: Likewise.
36018         * posix/tst-fnmatch.c: Likewise.
36019         * posix/tst-getlogin.c: Likewise.
36020         * posix/tst-gnuglob.c: Likewise.
36021         * posix/tst-mmap.c: Likewise.
36022         * pwd/tst-getpw.c: Likewise.
36023         * resolv/tst-inet_ntop.c: Likewise.
36024         * rt/tst-timer.c: Likewise.
36025         * stdio-common/test-fseek.c: Likewise.
36026         * stdio-common/test-popen.c: Likewise.
36027         * stdio-common/test-vfprintf.c: Likewise.
36028         * stdio-common/tst-cookie.c: Likewise.
36029         * stdio-common/tst-fileno.c: Likewise.
36030         * stdio-common/tst-gets.c: Likewise.
36031         * stdio-common/tst-obprintf.c: Likewise.
36032         * stdio-common/tst-perror.c: Likewise.
36033         * stdio-common/tst-sprintf2.c: Likewise.
36034         * stdio-common/tst-sprintf3.c: Likewise.
36035         * stdio-common/tst-sprintf.c: Likewise.
36036         * stdio-common/tst-swprintf.c: Likewise.
36037         * stdio-common/tst-tmpnam.c: Likewise.
36038         * stdio-common/tst-unbputc.c: Likewise.
36039         * stdio-common/tst-wc-printf.c: Likewise.
36040         * stdlib/tst-environ.c: Likewise.
36041         * stdlib/tst-fmtmsg.c: Likewise.
36042         * stdlib/tst-limits.c: Likewise.
36043         * stdlib/tst-rand48-2.c: Likewise.
36044         * stdlib/tst-rand48.c: Likewise.
36045         * stdlib/tst-random2.c: Likewise.
36046         * stdlib/tst-random.c: Likewise.
36047         * stdlib/tst-strtol.c: Likewise.
36048         * stdlib/tst-strtoll.c: Likewise.
36049         * stdlib/tst-tls-atexit.c: Likewise.
36050         * stdlib/tst-xpg-basename.c: Likewise.
36051         * string/test-ffs.c: Likewise.
36052         * string/tst-bswap.c: Likewise.
36053         * string/tst-inlcall.c: Likewise.
36054         * string/tst-strtok.c: Likewise.
36055         * string/tst-strxfrm.c: Likewise.
36056         * sysdeps/x86_64/tst-audit10.c: Likewise.
36057         * sysdeps/x86_64/tst-audit3.c: Likewise.
36058         * sysdeps/x86_64/tst-audit4.c: Likewise.
36059         * sysdeps/x86_64/tst-audit5.c: Likewise.
36060         * time/tst-ftime_l.c: Likewise.
36061         * time/tst-getdate.c: Likewise.
36062         * time/tst-mktime3.c: Likewise.
36063         * time/tst-mktime.c: Likewise.
36064         * time/tst-posixtz.c: Likewise.
36065         * time/tst-strptime2.c: Likewise.
36066         * time/tst-strptime3.c: Likewise.
36067         * wcsmbs/tst-btowc.c: Likewise.
36068         * wcsmbs/tst-mbrtowc.c: Likewise.
36069         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36070         * wcsmbs/tst-wchar-h.c: Likewise.
36071         * wcsmbs/tst-wcpncpy.c: Likewise.
36072         * wcsmbs/tst-wcrtomb.c: Likewise.
36073         * wcsmbs/tst-wcsnlen.c: Likewise.
36074         * wcsmbs/tst-wcstof.c: Likewise.
36076 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36078         [BZ #14132]
36079         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36080         INTDEF.
36081         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36082         declaration.
36083         (_dl_mcount): Use rtld_hidden_proto.
36084         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36085         _dl_mcount.
36086         * elf/rtld.c (_rtld_global_ro): Likewise.
36088         [BZ #14132]
36089         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36090         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36091         of _dl_init_internal.
36092         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36093         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36094         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36095         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36096         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36097         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36098         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36099         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36100         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36101         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36102         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36103         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36104         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36105         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36106         * sysdeps/tile/dl-start.S (_start): Likewise.
36107         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36108         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36110         [BZ #14132]
36111         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36112         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36113         (rtld_progname): Make macro definition unconditional.
36114         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36115         INTDEF.
36116         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36117         (dl_main): Likewise.
36118         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36119         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36120         instead of _dl_argv_internal.
36121         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36122         __GI__dl_argv instead of INTUSE(_dl_argv).
36123         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36124         __GI__dl_argv instead of _dl_argv_internal.
36126         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36127         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36128         macro.
36129         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36130         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36131         New macro.
36132         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36133         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36134         macro.
36135         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36136         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36138 2014-11-04  Andreas Schwab  <schwab@suse.de>
36140         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36142 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36144         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36145         mtvsrd instruction in binary form.
36147 2014-11-03  Andreas Schwab  <schwab@suse.de>
36149         [BZ #17522]
36150         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36151         for less than MB_LEN_MAX use a local buffer of that size.
36152         * libio/tst-fputws.c: New file.
36153         * libio/Makefile (tests): Add tst-fputws.
36155 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36157         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36158         the size of the fpu_fr.fpu_dregs[] array.
36160 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36162         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36163         (__nanosleep): Do not define as alias.
36164         (nanosleep): Define as alias of __nanosleep.
36165         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36166         __libc_nanosleep name.
36168 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36170         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36171         install.texi in comment.
36173 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36175         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36176         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36177         ... add here and use lwsync or sync ...
36178         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36179         ... and add here using lwsync.
36181 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36183         * elf/dl-machine-reject-phdr.h: New file.
36184         * elf/dl-load.c: #include that.
36185         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
36186         if that returned true.
36188 2014-10-31  Roland McGrath  <roland@hack.frob.com>
36190         [BZ #17496]
36191         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
36192         gen-as-const-headers chunk.  Add a big scare comment after the last
36193         safe place to touch before-compile.
36195 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36197         * manual/install.texi (Tools for Compilation): Update autoconf
36198         version requirements.
36199         * INSTALL: Regenerated.
36201         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
36202         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
36203         (__libc_pselect): Likewise.
36205         [BZ #14138]
36206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
36207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36211 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36213         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
36214         correct barrier instruction.
36215         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
36216         Likewise.
36217         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
36218         Likewise.
36220 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36222         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
36223         after defining inlines.  Instead, just use parens to defeat macro
36224         expansion of __isctype in its declaration.
36226 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36228         * include/sys/uio.h (__libc_readv): Remove declaration.
36229         (__libc_writev): Likewise.
36230         * misc/readv.c (__libc_readv): Rename to __readv.
36231         (__readv): Do not define as alias.
36232         (readv): Define as alias of __readv.
36233         * misc/writev.c (__libc_writev): Rename to __writev.
36234         (__writev): Do not define as alias.
36235         (writev): Define as alias of __writev.
36236         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
36237         (__readv): Do not define as alias.
36238         (readv): Define unconditionally as alias of __readv.
36239         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
36240         (__writev): Do not define as alias.
36241         (writev): Define unconditionally as alias of __writev.
36242         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
36243         name.
36244         (writev): Do not define __libc_writev name.
36246 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36248         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
36249         (convert_charseq): New function, broken out of ...
36250         (use_from_charmap): ... here.  Call it.
36251         (use_to_charmap): Use convert_charseq and free instead of duplicating
36252         its code with a variable-length stack struct.
36254 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36256         * include/fcntl.h (__libc_creat): Remove declaration.
36257         * io/creat.c (__libc_creat): Rename to creat.
36258         (creat): Do not define as alias.
36259         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
36260         of creat instead of __libc_creat.
36261         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36262         to creat.
36263         (creat): Do not define as alias.
36264         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36265         __libc_creat.
36266         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36267         __libc_creat name.
36268         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36269         Likewise.
36271 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36273         * manual/llio.texi: Add comments discussing why write() may be
36274         considered MT-unsafe on Linux.
36276 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36278         * dl-load.c (local_strdup): Remove.
36279         (expand_dynamic_string_token): Use __strdup.
36280         (decompose_rpath): Likewise.
36281         (_dl_map_object): Likewise.
36283 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36285         [BZ #14132]
36286         * sysdeps/generic/unwind-dw2-fde.c
36287         (__register_frame_info_bases_internal): Do not declare.
36288         (__register_frame_info_table_bases_internal): Likewise.
36289         (__deregister_frame_info_bases_internal): Likewise.
36290         (__register_frame_info_bases): Declare and use hidden_proto before
36291         definition.  Use hidden_def instead of INTDEF.
36292         (__register_frame_info_table_bases): Likewise.
36293         (__deregister_frame_info_bases): Likewise.
36294         (__register_frame_info): Do not use INTUSE.
36295         (__register_frame): Likewise.
36296         (__register_frame_info_table): Likewise.
36297         (__register_frame_table): Likewise.
36298         (__deregister_frame_info): Likewise.
36299         (__deregister_frame): Likewise.
36301 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36303         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36304         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36305         not undefine.
36306         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36307         Likewise.
36308         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36309         Likewise.
36311 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36313         [BZ #14138]
36314         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36315         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36316         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36317         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36318         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36319         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36320         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36321         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36322         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36323         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36324         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36325         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36326         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36327         syscall.
36328         (setfsuid): Likewise.
36329         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36330         (setfsuid): Likewise.
36331         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36332         (setfsuid): Likewise.
36333         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36334         Likewise.
36335         (setfsuid): Likewise.
36336         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36337         (setfsuid): Likewise.
36338         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36339         Likewise.
36340         (setfsuid): Likewise.
36342 2014-10-27  Andreas Schwab  <schwab@suse.de>
36344         [BZ #17501]
36345         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36346         check for Slow_SSE4_2 feature bit.
36347         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36348         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36349         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36350         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36352 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36354         * configure.ac: Validate compiler version with a empirical test of
36355         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36356         $CC -v output.
36357         * configure: Regenerated.
36359         * inet/htons.c (htons): Prototypify.
36360         * inet/htonl.c (htonl): Likewise.
36362 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36364         * string/strncat.c (strncat): Improve performance by using strlen.
36366 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36368         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36370 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36372         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36373         Call libc_fetestexcept_aarch64.
36375 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36377         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36378         Call libc_feholdexcept_aarch64.
36380 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36382         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36383         Call get_rounding_mode.
36385 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36387         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36388         Simplify logic.
36390 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36392         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36393         Simplify logic.
36395 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36397         [BZ #14138]
36398         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36399         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36400         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36401         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36402         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36403         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36404         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36405         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36406         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36407         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36408         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36409         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36410         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36411         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36412         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36413         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36414         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36415         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36416         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36417         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36418         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36419         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36420         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36421         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36422         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36423         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36424         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36425         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36426         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36427         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36428         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36429         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36430         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36431         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36432         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36433         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36434         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36435         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36436         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36437         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36438         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36439         syscall.
36440         (geteuid): Likewise.
36441         (getgid): Likewise.
36442         (getuid): Likewise.
36443         (getresgid): Likewise.
36444         (getresuid): Likewise.
36445         (getgroups): Likewise.
36446         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36447         (geteuid): Likewise.
36448         (getgid): Likewise.
36449         (getuid): Likewise.
36450         (getresgid): Likewise.
36451         (getresuid): Likewise.
36452         (getgroups): Likewise.
36453         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36454         (geteuid): Likewise.
36455         (getgid): Likewise.
36456         (getuid): Likewise.
36457         (getresgid): Likewise.
36458         (getresuid): Likewise.
36459         (getgroups): Likewise.
36460         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36461         Likewise.
36462         (geteuid): Likewise.
36463         (getgid): Likewise.
36464         (getuid): Likewise.
36465         (getresgid): Likewise.
36466         (getresuid): Likewise.
36467         (getgroups): Likewise.
36468         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36469         (geteuid): Likewise.
36470         (getgid): Likewise.
36471         (getuid): Likewise.
36472         (getresgid): Likewise.
36473         (getresuid): Likewise.
36474         (getgroups): Likewise.
36475         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36476         Likewise.
36477         (geteuid): Likewise.
36478         (getgid): Likewise.
36479         (getuid): Likewise.
36480         (getgroups): Likewise.
36482         [BZ #14138]
36483         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36484         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36485         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36486         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36487         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36488         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36489         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36490         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36491         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36492         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36493         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36494         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36495         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36496         __chown.
36497         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36498         (lchown): Likewise.
36499         (fchown): Likewise.
36500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36501         Likewise.
36502         (lchown): Likewise.
36503         (fchown): Likewise.
36504         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36505         (lchown): Likewise.
36506         (fchown): Likewise.
36507         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36508         Likewise.
36509         (lchown): Likewise.
36510         (fchown): Likewise.
36512 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36514         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36515         Simplify logic.
36517 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36519         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36520         Cleanup logic.
36522 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36524         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36525         Remove unused include.
36527 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36529         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36530         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36531         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36532         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36534 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36535             Helge Deller <deller@gmx.de>
36537         [BZ #17508]
36538         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36539         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36540         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36542 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36544         [BZ #14132]
36545         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36546         Remove macro definition.
36547         (__ashrdi3_v_glibc20): Likewise.
36548         (__lshrdi3_v_glibc20): Likewise.
36549         (__cmpdi2_v_glibc20): Likewise.
36550         (__ucmpdi2_v_glibc20): Likewise.
36551         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36552         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36553         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36554         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36555         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36556         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36558 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36560         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36561         old GNU extension [0] syntax.
36562         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36563         alloca rather than an array member with variable length.
36564         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36565         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36566         (parse_opt): ... here.  Likewise use alloca there.
36567         Validate the -i argument before checking for rootness.
36568         (send_shutdown): New function, broken out of ...
36569         (parse_opt): ... here.
36571 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36573         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36574         macro to get at the _rt_local_ro field.
36575         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36576         ([PIC] case) or _dl_hwcap ([!PIC] case).
36577         * sysdeps/arm/setjmp.S: Likewise.
36579         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36580         * sysdeps/arm/configure.ac: New check to define it.
36581         * sysdeps/arm/configure: Regenerated.
36582         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36583         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36584         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36585         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36586         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36587         Use move/movt pair instead of a load.
36588         (LDST_GLOBAL): Macro removed.
36589         (LDR_GLOBAL): New macro replaces it.
36590         (LDR_HIDDEN): New macro.
36591         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36592         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36594         * setjmp/tst-setjmp-static.c: New file.
36595         * setjmp/Makefile (tests): Add it.
36596         (tests-static): New variable.
36598 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36600         [BZ #17485]
36601         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36603 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36605         [BZ #14132]
36606         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36608 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36610         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36612 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36614         * io/fts.c (dirent_not_directory): New function.
36615         (fts_build): Call it.
36617 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36619         * nptl/version.c (__nptl_main): Use normal __write rather than
36620         INTERNAL_SYSCALL.
36621         (banner): Update copyright years.
36623         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36624         gettimeofday.
36625         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36626         * nptl/pthread_cond_timedwait.c: Likewise.
36627         * nptl/pthread_mutex_timedlock.c: Likewise.
36628         * nptl/sem_timedwait.c: Likewise.
36630         * sysdeps/nptl/bits/libc-lock.h
36631         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36632         (__libc_lock_init_recursive): Return void, not 0.
36633         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36634         (__libc_rwlock_init): Likewise.
36635         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36637 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36639         [BZ #15215]
36640         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36641         (__pthread_once_slow): ... here.
36642         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36643         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36645 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36647         [BZ #15215]
36648         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36649         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36650         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36651         * nptl/pthread_once.c (__pthread_once): Likewise.
36652         Update comments.
36654 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36656         [BZ #14138]
36657         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36658         name.
36659         (writev): Use __libc_writev as strong name.
36660         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36661         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36663 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36665         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36667         * sysdeps/i386/nptl/tls.h
36668         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36669         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36670         New macros.
36671         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36672         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36673         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36674         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36675         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36676         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36678         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36679         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36680         on [__NR_futex].
36681         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36682         broken out of ...
36683         (__pthread_mutex_init): ... here.  Call it.
36684         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36685         Conditionalize PI cases on [__NR_futex].
36686         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36687         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36688         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36690         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36691         conditional on [SIGSETXID].
36692         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36693         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36694         is defined.  Likewise for SIGSETXID.
36695         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36696         Conditionalize definitions on [SIGSETXID].
36697         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36698         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36699         unblocking on [SIGCANCEL].
36701         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36702         [__NR_set_robust_list].
36704 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36706         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36707         (do_compare): Likewise.
36709 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36711         [BZ #15884]
36712         * string/strcoll_l.c: Don't include stdio.h.
36713         (coll_seq): Remove members idxarr and rulearr.
36714         (get_next_seq_cached): Remove function.
36715         (get_next_seq): Likewise.
36716         (get_next_seq_nocache): Rename to get_next_seq.
36717         (do_compare): Remove function.
36718         (do_compare_nocache): Rename to do_compare.
36719         (STRCOLL): Remove weight and rules cache.
36721 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36723         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36724         * sysdeps/arm/sfp-machine.h: ... to here.
36725         * sysdeps/arm/Implies: Remove arm/soft-fp.
36727 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36729         * conform/data/sys/utsname.h-data (*_t): Allow.
36730         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36731         [POSIX] (WEXITED): Do not expect constant.
36732         [POSIX] (WSTOPPED): Likewise.
36733         [POSIX] (WNOHANG): Likewise.
36734         [POSIX] (WNOWAIT): Likewise.
36735         [POSIX] (siginfo_t): Do not expect type or elements.
36736         [POSIX] (pid_t): Do not expect type.
36737         [POSIX] (signal.h): Do not allow header.
36738         [POSIX] (sys/resource.h): Likewise.
36739         [POSIX] (si_*): Do not allow pattern.
36740         [POSIX] (W*): Likewise.
36741         [POSIX] (P_*): Likewise.
36742         [POSIX] (BUS_*): Likewise.
36743         [POSIX] (CLD_*): Likewise.
36744         [POSIX] (FPE_*): Likewise.
36745         [POSIX] (ILL_*): Likewise.
36746         [POSIX] (POLL_*): Likewise.
36747         [POSIX] (SEGV_*): Likewise.
36748         [POSIX] (SI_*): Likewise.
36749         [POSIX] (TRAP_*): Likewise.
36750         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36751         variable.
36753 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36755         [BZ #12926]
36756         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36757         infinite loop when __recvmsg returns 0.
36759 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36761         * CANCEL-FCT-WAIVE: Remove file.
36762         * CANCEL-FILE-WAIVE: Likewise.
36764         [BZ #14132]
36765         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36766         instead of INTVARDEF.
36767         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36768         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36769         rtld_hidden_data_def instead of INTVARDEF.
36770         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36771         * elf/dl-deps.c (expand_dst): Likewise.
36772         * elf/dl-load.c (_dl_dst_count): Likewise.
36773         (_dl_dst_substitute): Likewise.
36774         (decompose_rpath): Likewise.
36775         (_dl_init_paths): Likewise.
36776         (open_path): Likewise.
36777         (_dl_map_object): Likewise.
36778         * elf/rtld.c (dl_main): Likewise.
36779         (process_dl_audit): Likewise.
36780         (process_envvars): Likewise.
36781         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36782         Remove declaration.
36783         (__libc_enable_secure): Use rtld_hidden_proto.
36785 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36787         * elf/dl-load.c
36788         (add_path): New function broken out of _dl_rtld_di_serinfo.
36789         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36791 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36793         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36794         parentheses around macro arguments.
36795         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36796         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36798         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36799         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36800         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36801         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36802         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36803         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36804         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36805         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36806         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36807         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36808         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36809         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36810         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36811         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36812         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36813         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36816         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36819         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36820         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36821         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36822         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36823         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36824         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36825         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36826         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36827         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36828         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36829         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36830         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36831         Likewise.
36832         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36833         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36834         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36839         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36840         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36841         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36842         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36843         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36844         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36853         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36855         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36856         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36857         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36858         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36859         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36860         (_FP_FRAC_SRS_1): Likewise.
36861         (_FP_FRAC_CLZ_1): Likewise.
36862         (_FP_MUL_MEAT_1_imm): Likewise.
36863         (_FP_MUL_MEAT_1_wide): Likewise.
36864         (_FP_MUL_MEAT_1_hard): Likewise.
36865         (_FP_SQRT_MEAT_1): Likewise.
36866         (_FP_FRAC_ASSEMBLE_1): Likewise.
36867         (_FP_FRAC_DISASSEMBLE_1): Likewise.
36868         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36869         (__FP_CLZ_2): Likewise.
36870         (_FP_MUL_MEAT_2_wide): Likewise.
36871         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36872         (_FP_MUL_MEAT_2_gmp): Likewise.
36873         (_FP_MUL_MEAT_2_120_240_double): Likewise.
36874         (_FP_SQRT_MEAT_2): Likewise.
36875         (_FP_FRAC_ASSEMBLE_2): Likewise.
36876         (_FP_FRAC_DISASSEMBLE_2): Likewise.
36877         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
36878         (_FP_FRAC_CLZ_4): Likewise.
36879         (_FP_MUL_MEAT_4_wide): Likewise.
36880         (_FP_MUL_MEAT_4_gmp): Likewise.
36881         (_FP_SQRT_MEAT_4): Likewise.
36882         (_FP_FRAC_ASSEMBLE_4): Likewise.
36883         (_FP_FRAC_DISASSEMBLE_4): Likewise.
36884         * soft-fp/op-common.h (_FP_CMP): Likewise.
36885         (_FP_CMP_EQ): Likewise.
36886         (_FP_CMP_UNORD): Likewise.
36887         (_FP_TO_INT): Likewise.
36888         (_FP_FROM_INT): Likewise.
36889         [!__FP_CLZ] (__FP_CLZ): Likewise.
36890         (_FP_DIV_HELP_imm): Likewise.
36891         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
36892         Likewise.
36893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
36894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
36895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
36896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
36897         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
36898         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36899         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
36901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
36902         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
36903         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
36904         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
36905         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
36906         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
36907         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
36908         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
36909         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
36910         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
36911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
36912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
36913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
36914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
36915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
36916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
36919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
36920         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
36921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
36922         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
36923         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
36924         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
36925         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
36926         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
36927         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
36928         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
36929         (FP_UNPACK_RAW_SP): Likewise.
36930         (FP_PACK_RAW_S): Likewise.
36931         (FP_PACK_RAW_SP): Likewise.
36932         (FP_UNPACK_S): Likewise.
36933         (FP_UNPACK_SP): Likewise.
36934         (FP_UNPACK_SEMIRAW_S): Likewise.
36935         (FP_UNPACK_SEMIRAW_SP): Likewise.
36936         (FP_PACK_S): Likewise.
36937         (FP_PACK_SP): Likewise.
36938         (FP_PACK_SEMIRAW_S): Likewise.
36939         (FP_PACK_SEMIRAW_SP): Likewise.
36940         (_FP_SQRT_MEAT_S): Likewise.
36941         (FP_CMP_S): Likewise.
36942         (FP_CMP_EQ_S): Likewise.
36943         (FP_CMP_UNORD_S): Likewise.
36944         (FP_TO_INT_S): Likewise.
36945         (FP_FROM_INT_S): Likewise.
36947         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
36949         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
36950         (FP_EX_INVALID_IMZ): Likewise.
36951         (FP_EX_INVALID_IMZ_FMA): Likewise.
36952         (FP_EX_INVALID_ISI): Likewise.
36953         (FP_EX_INVALID_ZDZ): Likewise.
36954         (FP_EX_INVALID_IDI): Likewise.
36955         (FP_EX_INVALID_SQRT): Likewise.
36956         (FP_EX_INVALID_CVI): Likewise.
36957         (FP_EX_INVALID_VC): Likewise.
36958         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
36959         "invalid" exceptions.
36960         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
36961         (_FP_ADD_INTERNAL): Likewise.
36962         (_FP_MUL): Likewise.
36963         (_FP_FMA): Likewise.
36964         (_FP_DIV): Likewise.
36965         (_FP_CMP_CHECK_NAN): Likewise.
36966         (_FP_SQRT): Likewise.
36967         (_FP_TO_INT): Likewise.
36968         (FP_EXTEND): Likewise.
36970 2014-10-09  Allan McRae  <allan@archlinux.org>
36972         * po/fr.po: Update French translation from translation project.
36974 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36976         [BZ #14132]
36977         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
36978         of INTDEF.
36979         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
36980         (__cxa_atexit): Use libc_hidden_proto.
36981         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
36983         [BZ #14132]
36984         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
36985         declaration.
36986         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
36987         [!_ISOMAC] (__iswspace_l_internal): Likewise.
36988         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
36989         [!_ISOMAC] (__iswctype_internal): Likewise.
36990         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
36991         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
36992         alias.
36993         (fcntl): Remove __fcntl_internal alias.
36994         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
36995         __connect_internal alias.
36996         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
36997         Likewise.
36999         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37000         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37001         FP_DENORM_ZERO.
37002         (_FP_CHECK_FLUSH_ZERO): New macro.
37003         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37004         (_FP_CMP): Likewise.
37005         (_FP_CMP_EQ): Likewise.
37006         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37007         FP_DENORM_ZERO.
37008         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37009         (FP_TRUNC): Likewise.
37011         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37012         treated as invalid conversion, not as normal exponent.
37014         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37015         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37016         (_FP_CMP_EQ): Likewise.
37017         (_FP_CMP_UNORD): Likewise.
37018         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37019         (FP_CMP_EQ_D): Likewise.
37020         (FP_CMP_UNORD_D): Likewise.
37021         * soft-fp/extended.h (FP_CMP_E): Likewise.
37022         (FP_CMP_EQ_E): Likewise.
37023         (FP_CMP_UNORD_E): Likewise.
37024         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37025         (FP_CMP_EQ_Q): Likewise.
37026         (FP_CMP_UNORD_Q): Likewise.
37027         * soft-fp/single.h (FP_CMP_S): Likewise.
37028         (FP_CMP_EQ_S): Likewise.
37029         (FP_CMP_UNORD_S): Likewise.
37030         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37031         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37032         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37033         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37034         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37035         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37036         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37037         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37038         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37039         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37040         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37041         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37042         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37043         to FP_CMP_Q.
37044         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37045         FP_CMP_Q.
37046         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37047         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37048         FP_CMP_EQ_Q.
37049         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37050         FP_CMP_Q.
37051         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37052         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37053         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37054         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37055         FP_CMP_EQ_Q.
37056         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37057         FP_CMP_Q.
37058         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37059         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37060         FP_CMP_EQ_Q.
37061         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37062         FP_CMP_Q.
37063         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37064         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37065         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37066         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37067         FP_CMP_EQ_Q.
37069         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37070         a subnormal result, set the underflow exception if trapping on
37071         underflow is enabled.
37072         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37073         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37074         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37075         redefine to 0.
37076         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37077         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37078         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37079         * soft-fp/extendxftf2.c (__extendxftf2): Use
37080         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37082         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37083         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37084         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37085         FP_HANDLE_EXCEPTIONS.
37086         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37087         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37088         FP_HANDLE_EXCEPTIONS.
37089         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37090         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37091         FP_HANDLE_EXCEPTIONS.
37092         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37093         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37094         FP_HANDLE_EXCEPTIONS.
37096 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37098         [BZ #14132]
37099         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37100         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37101         use INTUSE.
37102         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37103         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37104         Remove alias.
37105         (__adjtimex): Define using libc_hidden_ver.
37106         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37107         Remove declaration.
37108         (ntp_gettime): Call __adjtimex directly.
37109         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37110         Remove declaration.
37111         (ntp_gettimex): Call __adjtimex directly.
37112         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37113         __adjtimex_internal alias.
37115 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37117         [BZ #17460]
37118         * nscd/nscd.c (more_help): Rewrite list of tables collection
37119         using xstrdup and asprintf.
37121         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37123 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37124             Roland McGrath  <roland@hack.frob.com>
37126         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37127         (do_lookup_unique): ... local function 'enter' here; update callers.
37129 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37131         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37132         compat_symbol calls on [SHARED].
37133         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37134         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37135         Remove.
37136         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37137         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37138         (oldsetrlimit): Remove.
37139         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37141         (lchown): New syscall entry.
37142         (oldsetrlimit): Remove.
37143         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37145         (oldsetrlimit): Remove.
37146         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37148         [BZ #14138]
37149         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37150         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37151         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37152         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37153         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37154         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37155         (fchown): Likewise.
37156         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37157         (fchown): Likewise.
37158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37159         Likewise.
37161 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37163         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37164         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37165         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37166         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37167         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37168         Likewise.
37169         (__old_sem_post): Likewise.
37171 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37173         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37174         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37175         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37176         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37177         Use INLINE_VSYSCALL macro.
37178         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37179         __vdso_clock_gettime.
37180         * sysdeps/unix/sysv/linux/tile/init-first.c
37181         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37182         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37183         __vdso_clock_gettime.
37185         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
37186         to set up frame more cleanly.
37188         * sysdeps/tile/memcmp.c: New file.
37190         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
37192         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
37193         * sysdeps/tile/tilegx/strcasestr.c: New file.
37194         * sysdeps/tile/tilegx/strnlen.c: New file.
37195         * sysdeps/tile/tilegx/strstr.c: New file.
37197         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
37199 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
37201         * nptl/tst-setuid3.c: Write errors to stdout.
37203 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37205         * elf/dl-deps.c
37206         (preload): New functions broken out of _dl_map_object_deps.
37207         (_dl_map_object_deps):  Remove a nested function. Update call sites.
37209 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
37211         [BZ #14138]
37212         * sysdeps/unix/sysv/linux/execve.c: Remove file.
37213         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
37215 2014-10-01  Steve Ellcey  <sellcey@mips.com>
37217         * sysdeps/mips/strcmp.S: New.
37219 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
37221         [BZ #14138]
37222         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
37223         (linkat): Likewise.
37224         (mkdirat): Likewise.
37225         (readlinkat): Likewise.
37226         (renameat): Likewise.
37227         (symlinkat): Likewise.
37228         (unlinkat): Likewise.
37229         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
37230         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37231         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
37232         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
37233         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
37234         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
37235         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
37237 2014-09-30  Will Newton  <will.newton@linaro.org>
37239         * math/math.h: Define long double math functions if
37240         _LIBC_TEST is defined.
37241         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
37243         * localedata/Makefile: Move assignment to tests-special
37244         into an ifdef testing run-built-tests.
37245         * timezone/Makefile: Likewise.
37247 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
37249         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
37250         with $(BASH) not $(SHELL).
37252 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
37253             Matthew LeGendre  <legendre1@llnl.gov>
37255         [BZ #17411]
37256         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
37257         l_reloc_result.
37259 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37261         * stdio-common/printf_fp.c
37262         (hack_digit): New function, broken out of ...
37263         (__printf_fp): ... local function here.  Update call sites.
37264         hack_digit now takes an additional parameter that is a pointer
37265         to a struct of the referenced locals.  Those locals moved inside
37266         the struct and references updated.
37268 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37270         * aclocal.m4: Require autoconf 2.69.
37271         * configure: Regenerated.
37272         * sysdeps/aarch64/configure: Likewise.
37273         * sysdeps/alpha/configure: Likewise.
37274         * sysdeps/arm/armv7/configure: Likewise.
37275         * sysdeps/arm/configure: Likewise.
37276         * sysdeps/ia64/configure: Likewise.
37277         * sysdeps/mach/configure: Likewise.
37278         * sysdeps/mips/configure: Likewise.
37279         * sysdeps/s390/configure: Likewise.
37280         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37283         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37284         file.
37285         * sysdeps/ia64/configure.ac: Likewise.
37287 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37290         specify symbol version for ld.so.  Do not include entry for
37291         libpthread.
37292         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37293         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37294         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37296         [BZ #14171]
37297         * Makeconfig [$(build-shared) = yes]
37298         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37299         makefiles.
37300         [$(build-shared) = yes && $(soversions.mk-done) = t]
37301         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37302         [$(build-shared) = yes && $(soversions.mk-done) = t]
37303         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37304         to Makerules.
37305         [$(build-shared) = yes && $(soversions.mk-done) = t]
37306         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37307         here.
37308         [$(build-shared) = yes && $(soversions.mk-done) = t]
37309         (common-generated): Don't append gnu/lib-names.h and
37310         gnu/lib-names.stmp here.
37311         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37312         (lib-names-h-abi): New variable.
37313         [$(build-shared) = yes && $(soversions.mk-done) = t]
37314         (lib-names-stmp-abi): Likewise.
37315         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37316         abi-variants] (before-compile): Append
37317         $(common-objpfx)$(lib-names-h-abi).
37318         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37319         abi-variants] (common-generated): Append gnu/lib-names.h.
37320         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37321         abi-variants] (install-others-nosubdir): Depend on
37322         $(inst_includedir)/$(lib-names-h-abi).
37323         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37324         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37325         [$(build-shared) = yes && $(soversions.mk-done) = t]
37326         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37327         [$(build-shared) = yes && $(soversions.mk-done) = t]
37328         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37329         [$(build-shared) = yes && $(soversions.mk-done) = t]
37330         (common-generated): Append $(lib-names-h-abi) and
37331         $(lib-names-stmp-abi).
37332         * scripts/lib-names.awk: Do not handle multi being set.
37333         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37334         Remove variable.
37335         (abi-lp64_be-ld-soname): Likewise.
37336         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37337         Likewise.
37338         (abi-hard-ld-soname): Likewise.
37339         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37340         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37341         Remove variable.
37342         (abi-o32_hard-ld-soname): Likewise.
37343         (abi-o32_soft_2008-ld-soname): Likewise.
37344         (abi-o32_hard_2008-ld-soname): Likewise.
37345         (abi-n32_soft-ld-soname): Likewise.
37346         (abi-n32_hard-ld-soname): Likewise.
37347         (abi-n32_soft_2008-ld-soname): Likewise.
37348         (abi-n32_hard_2008-ld-soname): Likewise.
37349         (abi-n64_soft-ld-soname): Likewise.
37350         (abi-n64_hard-ld-soname): Likewise.
37351         (abi-n64_soft_2008-ld-soname): Likewise.
37352         (abi-n64_hard_2008-ld-soname): Likewise.
37353         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37354         Likewise.
37355         (abi-64-v2-ld-soname): Likewise.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37357         ld.so entries.
37358         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37359         variable.
37360         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37361         entry.
37362         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37363         variable.
37364         (abi-64-ld-soname): Likewise.
37365         (abi-x32-ld-soname): Likewise.
37366         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37367         entry.
37368         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37370 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37372         [BZ #14138]
37373         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37374         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37375         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37376         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37377         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37378         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37379         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37380         syscall entry for GLIBC_2.2 symbol version.
37381         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37382         Likewise.
37383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37384         (setrlimit): Likewise.
37385         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37386         Likewise.
37388 2014-09-23  Will Newton  <will.newton@linaro.org>
37390         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37391         _LINUX_ARM_SYSDEP_H include guard too.
37392         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37393         define.
37395 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37397         * sysdeps/unix/sysv/linux/eventfd.c:
37398         Make first argument unsigned.
37399         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37400         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37402 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37404         [BZ #16852]
37405         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37406         * socket/sys/socket.h: Likewise.
37407         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37409 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37411         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37413 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37415         * time/tst-ftime.c: New test.
37416         * time/Makefile (tests): Add tst-ftime.
37418 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37420         * soft-fp/extended.h: Fix comment formatting.
37421         * soft-fp/op-1.h: Likewise.
37422         * soft-fp/op-2.h: Likewise.
37423         * soft-fp/op-4.h: Likewise.
37424         * soft-fp/op-8.h: Likewise.
37425         * soft-fp/op-common.h: Likewise.
37426         * soft-fp/soft-fp.h: Likewise.
37428         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37430 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37432         [BZ #6652]
37433         * Makeconfig (soversions-default-setname): Remove variable.
37434         ($(common-objpfx)soversions.i): Don't pass default_setname to
37435         soversions.awk.
37436         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37437         oldest_abi to abi-versions.awk.
37438         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37439         * config.make.in (oldest-abi): Remove variable.
37440         * configure.ac (--enable-oldest-abi): Remove configure option.
37441         * configure: Regenerated.
37442         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37443         text.
37444         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37445         * scripts/soversions.awk: Do not handle default_setname variable.
37446         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37447         variable.
37448         * sysdeps/mach/hurd/configure: Regenerated.
37449         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37450         variable.
37451         * sysdeps/unix/sysv/linux/configure: Regenerated.
37453 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37455         * elf/Makefile (CFLAGS-interp.c): Remove.
37456         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37457         path string.
37458         * elf/interp.c: Include generated runtime-linker.h
37460         * Makerules (lib%.so): Don't include $(+interp) in
37461         prerequisites.
37462         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37463         * dlfcn/eval.c: Remove file.
37465         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37466         macros.
37468         [BZ #17266]
37469         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37470         4.2 and newer.
37472         [BZ #17370]
37473         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37475 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37476             Jakub Jelinek  <jakub@redhat.com>
37478         [BZ #17266]
37479         * libio/stdio.h: Check definition of __fortify_function
37480         instead of __extern_always_inline to include bits/stdio2.h.
37481         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37482         check if __extern_always_inline is defined.
37483         [__USE_MISC || __USE_XOPEN]: Likewise.
37484         [__USE_ISOC99] Likewise.
37485         * misc/sys/cdefs.h (__fortify_function): Define only if
37486         __extern_always_inline is defined.
37487         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37488         __extern_always_inline and __extern_inline only for g++-4.3
37489         and newer or a compatible gcc.
37491 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37493         [BZ #17371]
37494         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37495         last change to handle zero prefix length.
37497 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37499         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37500         _SC_REGEX_VERSION.
37502         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37503         _POSIX_RAW_SOCKETS.
37505 2014-09-13  Allan McRae  <allan@archlinux.org>
37507         * po/ru.po: Update Russian translation from translation project.
37509 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37511         * locale/programs/locale.c (show_locale_vars): Inline local function
37512         into its sole call site.  Clean up some style nits.
37513         (print_item): New function, broken out of ...
37514         (show_info): ... local function here.  Clean up style nits.
37516         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37517         out of ...
37518         (set_class_defaults): ... local function set_default here.
37519         Define set_default as a macro locally to pass constant parameters.
37520         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37521         rather than a shared local.
37523         * stdlib/rpmatch.c (try): New function, broken out of ...
37524         (rpmatch): ... local function here.  Also, prototypify definition.
37526 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37528         * scripts/soversions.awk: Do not handle configuration names.
37529         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37530         vendor and os variables to soversions.awk.
37531         * configure.ac: Do not modify gnu-* host_os.
37532         * configure: Regenerated
37533         * shlib-versions: Remove first column with configuration names.
37534         * nptl/shlib-versions: Likewise.
37535         * nptl_db/shlib-versions: Likewise.
37536         * sysdeps/hppa/shlib-versions: Likewise.
37537         * sysdeps/m68k/shlib-versions: Likewise.
37538         * sysdeps/mach/hurd/shlib-versions: Likewise.
37539         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37540         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37541         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37542         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37543         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37544         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37545         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37546         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37548         Likewise.
37549         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37550         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37551         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37552         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37553         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37554         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37555         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37556         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37559         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37561         Regenerated.
37562         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37564         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37566         * shlib-versions: Remove OS-specific entries.  Moved to files in
37567         sysdeps.
37568         * sysdeps/mach/hurd/shlib-versions: New file.
37569         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37571         * nptl/shlib-versions: Remove architecture-specific entries.
37572         Moved to files in sysdeps.
37573         * shlib-versions: Likewise.
37574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37575         file.
37576         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37577         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37578         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37579         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37581         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37582         (UDP_NO_CHECK6_RX): Likewise.
37584 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37586         * sysdeps/posix/sysconf.c (__sysconf): Spell
37587         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37589 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37591         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37592         loading.
37593         * iconv/Versions (__gconv_transliterate): Export for use from
37594         gconv modules.
37595         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37596         (struct __gconv_trans_data, __gconv_trans_fct,
37597         __gconv_trans_context_fct, __gconv_trans_query_fct,
37598         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37599         definitions.
37600         (struct __gconv_step_data): Remove __trans member.
37601         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37602         longer hidden.  Remove unused trans_data argument.
37603         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37604         (__gconv_translit_find): Remove declaration.
37605         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37606         prototype.
37607         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37608         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37609         trans_data argument.  Add hidden definition.
37610         (__gconv_translit_find): Remove.
37611         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37612         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37613         * iconv/skeleton.c: Remove transliteration initialization.
37614         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37615         __gconv_step_data initialization.
37616         * libio/iofwide.c (__libio_translit_): Remove.
37617         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37618         * wcsmbs/btowc.c (__btowc): Likewise.
37619         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37620         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37621         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37622         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37623         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37624         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37625         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37626         * wcsmbs/wctob.c (wctob): Likewise.
37628 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37630         [BZ #16194]
37631         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37632         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37633         register usage.
37634         * sysdeps/x86/Makefile: Adjust.
37636 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37637             Roland McGrath  <roland@hack.frob.com>
37639         * locale/weight.h: Add include guard.
37640         (findidx): Make static rather than auto; take new parameters
37641         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37642         * locale/weightwc.h: Likewise.
37643         * posix/fnmatch_loop.c
37644         (FCT): Change type of EXTRA from int32_t to wint_t.
37645         Don't include either header inside the function.
37646         Call FINDIDX rather than findidx, and pass new arguments.
37647         #undef FINDIDX at the end of the file.
37648         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37649         FINDIDX before including fnmatch_loop.c for the non-wide version.
37650         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37651         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37652         for the wide version.
37653         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37654         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37655         Pass new arguments to findidx.
37656         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37657         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37658         Don't #include it inside the function.  Pass new arguments to findidx.
37659         * posix/regex_internal.h
37660         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37661         (re_string_elem_size_at): Don't #include it inside the function.
37662         Pass new arguments to findidx.
37663         * string/strcoll_l.c: #include WEIGHT_H at top level.
37664         (get_next_seq): Don't #include it inside the function.
37665         Pass new arguments to findidx.
37666         (get_next_seq_nocache): Likewise.
37667         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37668         (STRXFRM): Don't #include it inside the function.
37669         Pass new arguments to findidx.
37671 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37673         [BZ #17344]
37674         * malloc/malloc.c (unlink): Turn asserts into a call to
37675         malloc_printerr.
37677 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37679         [BZ #17370]
37680         * libio/wfileops (do_ftell_wide): Free OUT.
37682 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37684         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37686 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37688         [BZ #17363]
37689         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37690         group if the current group is empty.
37692 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37694         * benchtests/bench-memset.c (test_main): Add more test from size
37695         from 32 to 512 bytes.
37696         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37697         Add POWER8 memset object.
37698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37699         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37700         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37701         implementation.
37702         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37703         Likewise.
37704         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37705         multiarch POWER8 memset optimization.
37706         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37707         POWER8 memset optimization.
37709         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37710         Remove bzero multiarch objects.
37711         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37712         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37713         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37714         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37715         Remove define.
37716         [__bzero]: Redefine to specific name.
37717         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37718         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37719         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37720         define.
37721         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37722         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37724 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37726         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37727         warnings into errors.
37729         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37730         __cxa_thread_atexit_impl prototype.
37732 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37734         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37735         Fix capitalization of error message.
37737 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37739         * sysdeps/mips/preconfigure: Modify ABI tests.
37741 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37743         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37745 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37746             Carlos O'Donell  <carlos@systemhalted.org>
37748         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37749         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37750         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37751         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37752         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37753         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37754         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37755         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37756         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37757         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37758         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37759         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37760         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37761         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37762         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37763         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37764         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37765         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37766         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37767         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37768         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37769         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37770         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37771         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37772         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37773         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37774         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37775         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37776         Deconditionalize the code that was previously under [RESET_PID].
37777         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37778         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37779         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37780         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37781         include sysdep.h.
37783 2014-09-08  Allan McRae  <allan@archlinux.org>
37785         * version.h (RELEASE): Set to "development".
37786         (VERSION): Set to "2.20.90"
37788 2014-09-07  Allan McRae  <allan@archlinux.org
37790         * version.h (RELEASE): Set to "stable".
37791         (VERSION): Set to "2.20"
37792         * include/features.h (__GLIBC_MINOR__): Set to 20.
37794         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37795         Liebler.
37797         * po/ko.po: Update Korean translation from translation project.
37799 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37801         [BZ #17354]
37802         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37803         macro for handling signed relocations.
37805 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37807         [BZ #17325]
37808         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37809         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37810         assert.
37811         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37812         * iconvdata/ibm935.c (BODY): Likewise.
37813         * iconvdata/ibm937.c (BODY): Likewise.
37814         * iconvdata/ibm939.c (BODY): Likewise.
37815         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37816         assert.
37817         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37818         script.
37819         * iconvdata/run-iconv-test.sh: New test loop for checking for
37820         decoder crashers.
37822 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37825         libm_hidden_ver.
37827 2014-09-01  Allan McRae  <allan@archlinux.org>
37829         * po/eo.po: Update Esperanto translation from translation project.
37831         * po/ca.po: Update Catalan translation from translation project.
37833 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37835         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37836         __proc_dostop call.
37838 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37840         [BZ #17319]
37841         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37842         to call set_thread_area instead of hand written asm.
37843         (__NR_set_thread_area): Removed define.
37844         (TLS_FLAG_WRITABLE): Likewise.
37845         (__ASSUME_SET_THREAD_AREA): Remove check.
37846         (TLS_EBX_ARG): Remove define.
37847         (TLS_LOAD_EBX): Likewise.
37849 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37851         Simplify atomicity of socket creation in bind.
37853         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37854         looking up the name after linking the file.
37856 2014-08-27  Allan McRae  <allan@archlinux.org>
37858         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37860 2014-08-26  Florian Weimer  <fweimer@redhat.com>
37862         [BZ #17187]
37863         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37864         trans_compare, open_translit, __gconv_translit_find):
37865         Remove module loading code.
37867 2014-08-26  Allan McRae  <allan@archlinux.org>
37869         * po/vi.po: Update Vietnamese translation from translation project.
37871         * po/uk.po: Update Ukrainian translation from translation project.
37873         * po/fr.po: Update French translation from translation project.
37875         * po/ru.po: Update Russian translation from translation project.
37877         * po/pl.po: Update Polish translation from translation project.
37879         * po/cs.po: Update Czech translation from translation project.
37881         * po/de.po: Update German translation from translation project.
37883         * po/bg.po: Update Bulgarian translation from translation project.
37885         * po/sv.po: Update Sweedish translation from translation project.
37887         * po/nl.po: Update Dutch translation from translation project.
37889         * po/es.po: Update Spanish translation from translation project.
37891 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37893         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
37895         * catgets/Makefile (CPPFLAGS-gencat): Remove.
37896         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
37897         (CPPFLAGS-iconvconfig): Likewise.
37898         * timezone/Makefile (CPPFLAGS-zic): Likewise.
37900         * include/libc-symbols.h: Remove unnecessary check for
37901         NOT_IN_libc.
37902         * nptl/pthreadP.h: Likewise.
37903         * sysdeps/aarch64/setjmp.S: Likewise.
37904         * sysdeps/alpha/setjmp.S: Likewise.
37905         * sysdeps/arm/sysdep.h: Likewise.
37906         * sysdeps/i386/setjmp.S: Likewise.
37907         * sysdeps/m68k/setjmp.c: Likewise.
37908         * sysdeps/posix/getcwd.c: Likewise.
37909         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37910         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37911         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37912         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37913         * sysdeps/sh/sh3/setjmp.S: Likewise.
37914         * sysdeps/sh/sh4/setjmp.S: Likewise.
37915         * sysdeps/unix/alpha/sysdep.h: Likewise.
37916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37917         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37918         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37919         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37922         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37923         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37924         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37925         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37926         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37927         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37929         * sysdeps/x86_64/setjmp.S: Likewise.
37931 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
37933         [BZ #17263]
37934         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
37935         <stdint.h>.
37936         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
37937         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
37939 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37941         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
37943         [BZ #17262]
37944         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
37945         and __x86_64__ when disabling x87 inline functions.
37947 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37949         [BZ #17259]
37950         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
37951         asm statement with __cpuid_count.
37953 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
37955         * configure.ac: Change __ehdr_start code to dereference the struct.
37956         Run readelf on the output to look for relocations.
37957         * configure: Regenerated.
37959 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
37961         [BZ #17261]
37962         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
37963         value to 0.
37964         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
37966 2014-08-12  Roland McGrath  <roland@hack.frob.com>
37968         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
37970 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
37972         [BZ #16892]
37973         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
37974         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
37976 2014-08-12  Sean Anderson  <seanga2@gmail.com>
37978         * malloc/malloc.c: Fix typo in comment.
37980 2014-08-09  Allan McRae  <allan@archlinux.org>
37982         * Regenerate libc.po.
37984 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
37986         * intl/tst-gettext2.sh: Check every lang file for creation.
37988 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37990         * sysdeps/aarch64/fpu/math_private.h
37991         (libc_feholdsetround_noex_aarch64_ctx): New function.
37993 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37995         * sysdeps/arm/armv6/strcpy.S (strcpy):
37996         Fix performance issue in misaligned cases.
37998 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38000         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38001         Move definition from termios.h.
38002         (struct termio): Likewise.
38003         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38004         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38005         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38006         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38007         Likewise.
38008         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38009         Move definition to ioctl-types.h
38010         (struct termio): Likewise.
38011         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38012         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38013         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38014         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38015         Likewise.
38017 2014-08-05  Richard Henderson  <rth@redhat.com>
38019         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38020         exceptions.
38021         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38022         Add fraiseexcpt.
38023         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38024         Use __feraiseexcept.
38025         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38026         Protect libm symbols with IS_IN_libm.
38028         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38030 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38032         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38034 2014-08-04  Will Newton  <will.newton@linaro.org>
38036         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38037         file.
38039 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38041         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38042         variants for each function.
38044 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38046         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38047         appended ...
38048         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38049         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38050         appended ...
38051         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38052         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38053         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38054         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38055         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38056         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38057         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38058         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38059         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38060         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38061         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38062         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38063         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38064         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38065         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38066         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38067         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38068         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38069         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38070         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38071         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38072         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38073         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38074         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38075         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38076         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38077         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38078         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38079         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38080         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38081         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38082         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38083         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38084         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38085         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38086         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38087         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38088         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38089         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38090         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38091         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38093         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38095         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38096         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38097         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38098         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38099         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38100         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38101         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38102         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38103         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38104         Update #include.
38105         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38106         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38108 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38110         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38111         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38112         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38113         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38114         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38115         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38117 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38119         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38120         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38121         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38122         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38124 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38126         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38127         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38128         (__libc_vfork): Define function under this name.
38129         (__vfork): Define as an alias.
38130         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38131         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38133 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38135         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38136         that was previously under [RESET_PID].
38137         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38139 2014-08-04  Andreas Schwab  <schwab@suse.de>
38141         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38143 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38145         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38146         (main): Likewise.
38148 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38150         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38152 2014-08-01  Richard Henderon  <rth@redhat.com>
38154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38155         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38156         typo in exact zero test.
38157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38158         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38161 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38163         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38164         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38165         * sysdeps/arm/sysdep.h: ... here.
38166         [!__ASSEMBLER__]: Include <stdint.h>.
38168 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38170         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38171         (HAVE_WCTYPE_H): Likewise.
38172         (HAVE_ISWCTYPE): Likewise.
38173         (ENABLE_NLS): Likewise.
38174         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38175         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38177         * posix/regex_internal.c: Check if DEBUG is defined and is
38178         set.
38180         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38181         (HAVE_MBSRTOWCS): Likewise.
38182         * posix/fnmatch.c: Include string.h unconditionally.
38184 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38186         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
38187         reversal.
38189 2014-07-31  Roland McGrath  <roland@hack.frob.com>
38191         * sysdeps/generic/safe-fatal.h: New file.
38192         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
38193         * nptl/forward.c: Include it.
38194         (__pthread_unwind): Use __safe_fatal as default action, rather
38195         than a bogus use of INTERNAL_SYSCALL that could never work.
38197         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38198         * configure.ac (libc_cv_builtin_trap): New test.
38199         * configure: Regenerated.
38200         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
38201         (ABORT_INSTRUCTION): Define using __builtin_trap.
38203         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
38204         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38205         * sysdeps/nptl/nptl-signals.h: New file.
38206         * nptl/pthreadP.h: Include <nptl-signals.h>.
38208 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38210         * sysdeps/s390/s390-64/utf16-utf32-z9.c
38211         (ONE_DIRECTION): Define.
38212         * sysdeps/s390/s390-64/utf8-utf16-z9.c
38213         (ONE_DIRECTION): Define.
38214         * sysdeps/s390/s390-64/utf8-utf32-z9.c
38215         (ONE_DIRECTION): Define.
38217 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38219         * sysdeps/s390/Makefile: Delete file.
38220         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38221         * sysdeps/s390/__longjmp.c: Delete file.
38222         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
38223         Remove fields __flags and __reserved.
38224         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
38225         and add versioning.
38226         * sysdeps/s390/rtld-__longjmp.c: Delete file.
38227         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
38228         * sysdeps/s390/rtld-setjmp.S: Likewise.
38229         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
38230         * sysdeps/s390/s390-32/__longjmp.c: ... here.
38231         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38232         * sysdeps/s390/s390-32/setjmp.S: ... here.
38233         Add versioning.
38234         (__sigsetjmp): Remove setting __flags field.
38235         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
38236         * sysdeps/s390/s390-64/__longjmp.c: ... here.
38237         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38238         * sysdeps/s390/s390-64/setjmp.S: ... here.
38239         Add versioning.
38240         (__sigsetjmp): Remove setting __flags field.
38241         * sysdeps/s390/setjmp.S: Delete file.
38242         * sysdeps/s390/sigjmp.c: Likewise.
38243         * sysdeps/s390/v1-longjmp.c: Likewise.
38244         * sysdeps/s390/v1-setjmp.h: Likewise.
38245         * sysdeps/s390/v1-sigjmp.c: Likewise.
38246         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
38247         Remove v1-longjmp_chk.
38248         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
38249         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
38250         Include debug/longjmp_chk.c and add versioning.
38251         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
38252         Include nptl/pt-longjmp.c and add versioning.
38253         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
38254         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
38255         Include __longjmp.c.
38256         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38257         Move to ...
38258         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
38259         (__getcontext): Remove setting __flags field.
38260         Add versioning.
38261         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38262         Don't restore upper high grps.
38263         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38264         Likewise.
38265         (__swapcontext): Remove setting uc_flags field.
38266         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38267         Delete file.
38268         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38269         Include __longjmp.c.
38270         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38271         Move to ...
38272         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38273         (__getcontext): Remove setting __flags field.
38274         Add versioning.
38275         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38276         (__swapcontext): Remove setting uc_flags field.
38277         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38278         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38279         Remove fields uc_high_gprs and __reserved.
38280         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38281         New file with reverted content.
38282         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38283         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38284         Regenerated.
38285         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38286         Regenerated.
38288 2014-07-31  Andreas Schwab  <schwab@suse.de>
38290         * config.h.in (HAVE_IFUNC): Define to 0.
38291         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38292         definedness.
38294 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38297         memmove-avx-unaligned, memcpy-avx-unaligned and
38298         mempcpy-avx-unaligned.
38299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38300         Add tests for AVX memcpy functions.
38301         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38302         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38303         memcpy_chk.
38304         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38305         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38306         memmove_chk.
38307         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38308         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38309         mempcpy_chk.
38310         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38311         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38312         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38314 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38316         [BZ #17213]
38317         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38318         powerpc64le.
38320 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38322         [BZ #16839]
38323         * manual/llio.texi: Add section about open file description locks.
38324         * manual/examples/ofdlocks.c: Example of open file description
38325         lock usage.
38326         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38327         F_OFD_SETLK, and F_OFD_SETLKW.
38329 2014-07-23  Allan McRae  <allan@archlinux.org>
38331         * po/es.po: Update Spanish translation from translation project.
38333 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38335         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38337 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38339         [BZ #17078]
38340         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38341         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38342         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38344 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38346         [BZ #17088]
38347         * math/fesetenv.c (__fesetenv)
38348         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38349         * math/feupdateenv.c (__feupdateenv)
38350         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38352         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38353         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38354         (__ASSUME_SOCKETCALL): Do not define.
38356         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38357         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38358         (__ASSUME_SOCKETCALL): Do not define.
38359         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38360         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38361         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38362         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38364         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38365         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38366         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38368         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38369         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38370         (__ASSUME_SOCKETCALL): Do not define.
38371         (__ASSUME_IPC64): Define unconditionally.
38372         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38373         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38374         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38375         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38376         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38378         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38379         Likewise.
38381         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38382         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38383         (__ASSUME_SOCKETCALL): Do not define.
38384         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38385         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38386         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38387         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38388         (__ASSUME_REQUEUE_PI): Define unconditionally.
38389         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38390         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38391         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38392         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38394         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38396         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38397         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38398         (__ASSUME_SOCKETCALL): Do not define.
38399         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38400         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38401         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38402         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38404         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38406         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38407         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38408         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38409         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38410         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38411         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38413         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38414         (__ASSUME_GETCPU_SYSCALL): Likewise.
38416         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38417         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38418         cases for individual architectures.
38419         * sysdeps/gnu/configure: Regenerated.
38420         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38421         LIBC_SLIBDIR_RTLDDIR.
38422         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38423         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38424         LIBC_SLIBDIR_RTLDDIR.
38425         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38427         LIBC_SLIBDIR_RTLDDIR.
38428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38429         Regenerated.
38430         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38431         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38432         file.
38433         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38434         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38435         file.
38436         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38437         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38438         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38439         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38441         * sysdeps/aarch64/shlib-versions: Move to ...
38442         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38443         * sysdeps/alpha/shlib-versions: Move to ...
38444         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38445         * sysdeps/arm/shlib-versions: Move to ...
38446         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38447         * sysdeps/hppa/shlib-versions: Move all contents except for
38448         libgcc_s entry to ...
38449         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38450         entry from ...
38451         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38452         * sysdeps/ia64/shlib-versions: Move to ...
38453         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38454         entry from ...
38455         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38456         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38457         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38458         * sysdeps/microblaze/shlib-versions: Move to ...
38459         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38460         * sysdeps/mips/shlib-versions: Move to ...
38461         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38462         entry from ...
38463         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38464         * sysdeps/tile/shlib-versions: Move to ...
38465         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38466         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38467         from ...
38468         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38469         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38470         entry from ...
38471         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38473 2014-07-17  Will Newton  <will.newton@linaro.org>
38475         * sysdeps/arm/bits/atomic.h
38476         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38477         (__arch_compare_and_exchange_bool_16_int): Likewise.
38478         (__arch_compare_and_exchange_bool_64_int): Likewise.
38480         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38481         into an #else block.
38483 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38485         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38486         just Linux configurations.  Test empirically that the compiler sets
38487         __ARM_EABI__, rather than using the tuple to decide.
38488         * sysdeps/arm/preconfigure: Regenerated.
38489         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38490         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38491         contents appended ...
38492         * sysdeps/arm/configure.ac: ... here.
38493         * sysdeps/arm/configure: Regenerated.
38495 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38497         * nptl/pthread_kill.c: New file.
38498         * nptl/pthread_sigmask.c: New file.
38499         * nptl/pthread_sigqueue.c: New file.
38501         * sysdeps/nptl/lowlevellock.h: New file.
38502         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38503         * sysdeps/nptl/lowlevellock-futex.h: New file.
38505         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38506         Remove dead declarations.
38508 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38510         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38511         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38512         config-cflags-avx2.
38513         * sysdeps/x86_64/configure.ac: Likewise.
38514         * sysdeps/i386/configure: Regenerated.
38515         * sysdeps/x86_64/configure: Likewise.
38516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38517         memset-avx2 only if config-cflags-avx2 is yes.
38518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38519         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38520         defined.
38521         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38522         only if HAVE_AVX2_SUPPORT is defined.
38523         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38525 2014-07-14  Alan Modra  <amodra@gmail.com>
38527         [BZ #17153]
38528         * elf/elf.h (DT_PPC64_NUM): Correct value.
38529         * NEWS: Add to fixed bug list.
38531 2014-07-13  Jim Meyering  <meyering@fb.com>
38533         [BZ 17150]
38534         regex: don't deref NULL upon heap allocation failure
38535         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38536         failure in one more place.
38537         To trigger the segfault, configure grep -with-included-regex,
38538         build it, and run these commands:
38539         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38541 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38543         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38545 2014-07-11  Richard Henderson  <rth@redhat.com>
38547         * sysdeps/aarch64/libm-test-ulps: Update.
38549 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38551         [BZ #17135]
38552         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38553         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38554         (__nptl_setxid): Initialize error member.  Call
38555         __nptl_setxid_error.
38556         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38557         * nptl/descr.h (struct xid_command): Add error member.
38558         * nptl/tst-setuid3.c: New file.
38559         * nptl/Makefile (tests): Add it.
38561 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38563         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38564         New define.
38565         (__lll_trylock): Use __lll_base_trylock.
38566         (__lll_cond_trylock): Likewise.
38568 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38570         * nptl/pthread_create.c (start_thread): Use atomic_or and
38571         lll_futex_wake directly rather than lll_robust_dead.
38572         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38573         (lll_robust_dead): Macro removed.
38574         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38575         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38576         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38577         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38578         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38579         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38580         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38581         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38582         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38583         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38584         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38585         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38586         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38587         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38588         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38590         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38591         Use atomic_compare_and_exchange_val_acq directly rather than
38592         lll_robust_trylock.
38593         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38594         (__lll_robust_trylock, lll_robust_trylock): Removed.
38595         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38596         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38597         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38598         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38599         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38600         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38601         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38602         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38603         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38604         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38605         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38606         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38607         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38608         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38610 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38612         * manual/locale.texi (Locale Names): New section documenting
38613         locale name syntax.  Adjust menu and node chaining accordingly.
38614         (Choosing Locale): Reference Locale Names, Locale Categories.
38615         Mention setting LC_ALL=C.  Reflect that name syntax is now
38616         documented.
38617         (Locale Categories): New section title.  Reference Locale Names.
38618         LC_ALL is an environment variable, but not a category.
38619         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38620         description, now in Locale Name.  Reference that section.  Locale
38621         name syntax is now documented.
38623 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38625         [BZ #17137]
38626         * locale/findlocale.c (name_present, valid_locale_name): New
38627         functions.
38628         (_nl_find_locale): Use the loc_name variable to store name
38629         candidates.  Call name_present and valid_locale_name to check and
38630         validate locale names.  Return an error if the locale is invalid.
38632 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38634         * locale/setlocale.c (setlocale): Use strdup for allocating
38635         composite name copy.
38637 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38639         Sync up with gnulib.
38640         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38641         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38642         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38643         and _GL_ARG_NONNULL.
38644         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38645         [!_LIBC]: Include code for Windows and Cygwin.
38646         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38647         Include prototype for int strerror_r.
38648         [!_LIBC] (is_open): New function.
38649         (flush_stdout): New function.
38650         (print_errno_message): Use it.
38651         (error): Likewise.
38652         (error_at_line): Likewise.
38653         (error_tail) Add function attribute macros.  Use
38654         __builtin_expect.
38656         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38658         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38660         * io/ftw.c: Include sys/param.h unconditionally.
38662         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38664         [BZ #17125]
38665         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38666         libc_freeres_ptr.
38667         (freecache): New function to free CACHE on exit.
38669         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38670         initialization.
38672 2014-07-09  David S. Miller  <davem@davemloft.net>
38674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38676         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38677         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38678         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38679         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38680         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38681         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38682         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38683         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38684         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38685         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38686         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38687         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38688         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38690 2014-07-09  Andreas Schwab  <schwab@suse.de>
38692         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38693         output.
38694         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38695         (do_test): Likewise.
38697         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38699 2014-07-09  Will Newton  <will.newton@linaro.org>
38701         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38702         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38703         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38704         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38705         * sysdeps/hppa/start.S (_start): Likewise.
38707 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38709         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38711         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38712         defined.
38714 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38716         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38717         after checking that it is non-NULL.
38719         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38721 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38723         * sysdeps/powerpc/memmove.c: Remove file.
38724         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38725         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38726         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38727         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38728         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38729         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38730         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38731         string memmove instead of removed powerpc one.
38733         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38734         [weak_alias]: Fix compiler warning due trailing data.
38735         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38736         [weak_alias]: Likewise.
38737         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38738         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38741         (__libc_ifunc_impl_list): Add memmove functions.
38743 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38745         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38746         Remove code.
38747         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38748         Likewise.
38749         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38750         Likewise.
38751         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38752         Likewise.
38753         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38754         Likewise.
38755         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38756         Likewise.
38757         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38758         Likewise.
38759         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38760         Likewise.
38761         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38762         Likewise.
38763         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38764         Likewise.
38765         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38766         Likewise.
38767         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38768         Likewise.
38769         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38770         Likewise.
38771         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38772         Likewise.
38773         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38774         Likewise.
38775         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38776         Likewise.
38777         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38778         Likewise.
38780 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38782         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38783         to avoid alignment traps in non-cacheable memory.
38784         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38787         multiarch objects.
38788         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38789         file: multiarch power7 memmove.
38790         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38791         multiarch default memmove.
38792         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38793         multiarch memove for powerpc32/power4.
38795         * string/bcopy.c: Use full path to include memmove.c.
38796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38797         multiarch objects.
38798         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38799         bcopy for powerpc64.
38800         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38801         bcopy for powerpc64.
38802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38803         and memmove implementations.
38804         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38805         optimized multiarch memmove for POWER7/powerpc64.
38806         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38807         default multiarch memmove for powerpc64.
38808         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38809         multiarch for powerpc64.
38810         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38811         for POWER7/powerpc64.
38812         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38813         memmove for POWER7/powerpc64.
38815         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38816         glibc default one.
38818         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38819         __ELF_NATIVE_CLASS equal to 64.
38821 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38823         * sysdeps/nptl/lowlevellock.h: File removed.
38825         * NEWS: NPTL is no longer an add-on!
38826         * nptl/internaltypes.h: Moved ...
38827         * sysdeps/nptl/internaltypes.h: ... here.
38828         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38829         * sysdeps/nptl/fork.c: Likewise.
38830         * sysdeps/nptl/gai_misc.h: Likewise.
38831         * sysdeps/nptl/librt-cancellation.c: Likewise.
38832         * sysdeps/nptl/jmp-unwind.c: Likewise.
38833         * sysdeps/nptl/setxid.h: Likewise.
38834         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38835         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38836         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38837         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38838         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38839         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38840         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38841         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38842         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38843         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38844         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38845         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38846         * sysdeps/unix/sysv/linux/sh/Implies: New file.
38847         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38848         * sysdeps/unix/sysv/linux/tile/Implies: New file.
38849         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38850         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38851         * nptl/Makeconfig: Moved ...
38852         * sysdeps/nptl/Makeconfig: ... here.
38853         * nptl/configure: File removed.
38854         * nptl/ANNOUNCE: File removed.
38855         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38856         * sysdeps/unix/sysv/linux/configure: Regenerated.
38858         * nptl/Makefile (routines): Add libc_pthread_init,
38859         libc_multiple_threads, register-atfork and unregister-atfork.
38860         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38861         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38862         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38863         pthread-pi-defines.sym, structsem.sym.
38864         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38865         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38866         [$(subdir) = nptl] (tests): Add tst-setgetname.
38867         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38868         * sysdeps/unix/sysv/linux/sigaction.c: Just include
38869         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38870         [!LIBC_SIGACTION]: Remove aliases.
38871         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38872         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38873         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38874         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
38875         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38876         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
38877         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38878         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38879         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38880         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
38881         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
38882         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
38883         __libc_allocate_rtsig_private.
38884         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
38885         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
38886         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
38887         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
38888         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
38889         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
38890         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
38891         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
38892         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
38893         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
38894         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
38895         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
38896         * nptl/internaltypes.h: ... here.
38897         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
38898         * sysdeps/nptl/jmp-unwind.c: ... here.
38899         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
38900         * nptl/libc-lowlevellock.c: ... here.
38901         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
38902         * nptl/libc_multiple_threads.c: ... here.
38903         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
38904         * nptl/libc_pthread_init.c: ... here.
38905         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
38906         * nptl/lowlevelbarrier.sym: ... here.
38907         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
38908         * nptl/lowlevelcond.sym: ... here.
38909         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
38910         * nptl/lowlevellock.c: ... here.
38911         * nptl/lowlevellock.h: Moved ...
38912         * sysdeps/nptl/lowlevellock.h: ... here.
38913         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
38914         * nptl/lowlevelrobustlock.c: ... here.
38915         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
38916         * nptl/lowlevelrobustlock.sym: ... here.
38917         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
38918         * nptl/lowlevelrwlock.sym: ... here.
38919         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
38920         * nptl/pt-fork.c: ... here.
38921         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
38922         * nptl/pthread-pi-defines.sym: ... here.
38923         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
38924         * nptl/pthread_attr_getaffinity.c: ... here.
38925         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
38926         * nptl/pthread_attr_setaffinity.c: ... here.
38927         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
38928         * nptl/pthread_mutex_cond_lock.c: ... here.
38929         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38930         Update #include.
38931         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
38932         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
38933         * nptl/pthread_once.c: ... here, replacing old file.
38934         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
38935         * nptl/pthread_yield.c: ... here.
38936         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
38937         * nptl/register-atfork.c: ... here.
38938         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
38939         * nptl/sem_post.c: ... here.
38940         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
38941         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
38942         * nptl/sem_timedwait.c: ... here.
38943         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
38944         * nptl/sem_trywait.c: ... here.
38945         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
38946         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
38947         * nptl/sem_wait.c: ... here.
38948         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
38949         * nptl/structsem.sym: ... here.
38950         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
38951         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
38952         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
38953         * nptl/unregister-atfork.c: ... here.
38954         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
38955         * nptl/unwindbuf.sym: ... here.
38956         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
38957         * sysdeps/nptl/fork.c: ... here.
38958         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
38959         * sysdeps/nptl/fork.h: ... here.
38960         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
38961         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
38962         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
38963         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
38964         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
38965         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
38966         * sysdeps/unix/sysv/linux/getpid.c: ... here.
38967         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
38968         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
38969         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
38970         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
38971         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
38972         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
38973         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
38974         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
38975         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
38976         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
38977         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
38978         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
38979         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
38980         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
38981         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
38982         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
38983         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
38984         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
38985         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
38986         * sysdeps/unix/sysv/linux/raise.c: ... here.
38987         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
38988         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
38989         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
38990         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
38991         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
38992         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
38993         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
38994         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
38995         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
38996         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
38997         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
38998         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
38999         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39000         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39001         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39003 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39005         * sysdeps/generic/memcopy.h: Add comment for
39006         MEMCPY_OK_FOR_FWD_MEMMOVE.
39008 2014-07-04  Will Newton  <will.newton@linaro.org>
39010         * string/memchr.c: Merge from gnulib.
39011         [_LIBC]: Remove conditionals.
39012         (__ptr_t): Remove define.
39013         (LONG_MAX_32_BITS): Likewise.
39014         (LONG_MAX): Likewise.
39015         (MEMCHR): Use ANSI prototype and optimize algorithm.
39017         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39019 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39021         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39022         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39024         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39025         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39026         in a bare environment with no <stdlib.h> installed.
39027         * sysdeps/nptl/configure: Regenerated.
39029         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39031         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39032         AC_EGREP_CPP for kernel header checks, so they only succeed if
39033         including <linux/version.h> actually works right.
39034         * sysdeps/unix/sysv/linux/configure: Regenerated.
39036         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39037         value so it's not diagnosed as unused.
39039         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39040         thing) with "ifeq ($(subdir),rt)".
39042 2014-07-03  Richard Henderson  <rth@redhat.com>
39044         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39045         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39046         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39048         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39049         (math_force_eval): New.
39051         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39052         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39054         * sysdeps/alpha/fpu/s_round.c: Remove file.
39055         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39057         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39058         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39059         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39060         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39061         (_dl_start, print_statistics): Likewise.
39062         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39063         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39065         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39066         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39067         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39068         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39069         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39070         (HP_SMALL_TIMING_AVAIL): Define.
39071         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39073         (HP_SMALL_TIMING_AVAIL): Define.
39074         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39075         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39077         * sysdeps/aarch64/hp-timing.h: New file.
39079         * sysdeps/generic/hp-timing.h: Remove dead comment.
39080         * sysdeps/generic/hp-timing-common.h: New file.
39081         * sysdeps/alpha/hp-timing.h: Include it.
39082         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39083         * sysdeps/i386/i686/hp-timing.h: Likewise.
39084         * sysdeps/ia64/hp-timing.h: Likewise.
39085         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39086         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39087         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39088         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39089         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39090         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39091         (hp_timing_t): New.
39093         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39094         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39095         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39096         * elf/rtld.c (_dl_start_final): Likewise.
39097         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39098         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39099         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39100         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39101         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39102         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39103         (HP_TIMING_DIFF_INIT): Remove.
39104         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39105         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39106         (HP_TIMING_DIFF_INIT): Remove.
39107         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39108         * sysdeps/i386/i686/hp-timing.c: Remove file.
39109         * sysdeps/x86_64/hp-timing.c: Remove file.
39110         * sysdeps/ia64/hp-timing.c: Remove file.
39111         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39112         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39113         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39114         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39116         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39117         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39118         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39119         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39120         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39121         (HP_TIMING_ACCUM): Remove.
39122         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39123         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39124         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39126         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39127         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39128         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39129         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39130         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39131         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39132         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39133         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39135         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39137 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39139         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39141 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39143         Sync up with gettext.
39144         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39145         [_MSC_VER]: Include malloc.h
39146         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39147         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39148         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39149         TEMP_FAILURE_RETRY.  Cast return of alloca.
39150         [!_LIBC] Call gl_rwlock_init.
39151         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39153 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39155         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39156         before checking its value.
39158 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39160         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39162         * debug/memcpy_chk.c: Don't include pagecopy.h.
39163         * debug/mempcpy_chk.c: Likewise.
39164         * string/memcpy.c: Likewise.
39165         * string/memmove.c: Likewise.
39166         * sysdeps/powerpc/memmove.c: Likewise.
39167         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39168         definition of PAGE_COPY_FWD_MAYBE here...
39169         * sysdeps/generic/pagecopy.h: ... from here.
39170         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39172 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39173             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39175         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39177         optimizations.
39178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39179         (__libc_ifunc_impl_list): Likewise.
39180         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39181         multiarch strcat for PPC64.
39182         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39183         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
39185 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39187         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
39189 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39191         * intl/loadmsgcat.c: Remove declaration of
39192         get_sysdep_segment_value.
39193         (get_sysdep_segment_value): Use ISO C style.
39194         (_nl_load_domain): Use ISO C style.  Get rid of redundant
39195         semicolon.  Fix typo and formatting in comment.
39196         (_nl_unload_domain): Use ISO C style.
39198         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
39200 2014-07-02  Will Newton  <will.newton@linaro.org>
39202         * malloc/obstack.c: Merge from gnulib master.
39203         [HAVE_CONFIG_H]: Remove conditional code.
39204         [!_LIBC]: Include config.h.
39205         [!ELIDE_CODE]: Don't include inttypes.h, include
39206         stdint.h unconditionally.
39207         (print_and_abort): Mark as _Noreturn.
39208         (_obstack_allocated_p): Mark as __attribute_pure__.
39209         (obstack_free): Rename to __obstack_free.
39210         [!__attribute__]: Remove conditional code.
39211         * malloc/obstack.h: Merge from gnulib master.
39212         [__cplusplus]: Move conditional down.
39213         [!__attribute_pure__]: Define __attribute_pure__ here
39214         if it is not already defined.
39215         (_obstack_memory_used): Mark as __attribute_pure__.
39216         [!__obstack_free]: Define as obstack_free.
39217         [__GNUC__]: Remove check for ancient NeXT gcc.
39219 2014-07-02  Will Newton  <will.newton@linaro.org>
39220             Paul Eggert  <eggert@cs.ucla.edu>
39222         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39224 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39226         * resolv/gethnamaddr.c: Add comment warning that the file is
39227         not maintained.
39229 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
39231         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
39232         entries.
39234         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
39235         entry for aio_cancel and aio_cancel64.
39236         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
39237         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
39238         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
39239         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
39240         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
39241         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
39242         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
39243         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
39244         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
39245         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
39246         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
39247         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
39248         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
39250 2014-07-01  Roland McGrath  <roland@hack.frob.com>
39252         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
39253         * nptl/pthread_mutex_lock.c: Likewise.
39254         * nptl/pthread_mutex_timedlock.c: Likewise.
39255         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
39257 2014-07-01  Richard henderson  <rth@redhat.com>
39259         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
39260         (__isnan, __isnanl): Remove.
39261         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39263         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39265 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39267         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39269 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39271         * resolv/nss_dns/dns-host.c (getanswer_r)
39272         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39274 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39276         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39277         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39278         undefine.
39279         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39280         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39282 2014-07-01  Roland McGrath <roland@hack.frob.com>
39284         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39285         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39287         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39288         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39290         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39291         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39292         ... here.
39293         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39294         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39296         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39297         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39298         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39299         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39301         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39302         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39303         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39304         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39305         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39306         Moved ...
39307         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39308         ... here.
39309         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39310         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39311         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39312         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39313         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39314         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39315         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39316         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39317         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39318         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39319         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39320         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39321         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39322         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39323         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39324         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39325         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39326         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39327         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39328         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39329         ... here.
39330         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39331         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39332         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39333         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39334         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39335         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39336         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39337         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39339 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39341         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39342         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39343         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39344         Add sysdep.
39346 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39350 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39352         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39353         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39355         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39357         * sysdeps/arm/libm-test-ulps: Regenerated.
39359 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39360             Roland McGrath <roland@hack.frob.com>
39362         * test-skeleton.c (signal_handler): Kill the whole process group
39363         before killing the child individually.
39364         (main): Report any failure on `setpgid'.
39366 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39368         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39369         from _TLS_H to _ARM_NPTL_TLS_H.
39370         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39371         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39373 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39375         [BZ #16539]
39376         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39377         (__expm1l): Return argument unchanged when small but not
39378         subnormal.
39380         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39381         include macro name.
39382         (_FP_UNPACK_RAW_1_P): Likewise.
39383         (_FP_PACK_RAW_1): Likewise.
39384         (_FP_PACK_RAW_1_P): Likewise.
39385         (_FP_MUL_MEAT_1_wide): Likewise.
39386         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39387         (_FP_MUL_MEAT_1_hard): Likewise.
39388         (_FP_DIV_MEAT_1_imm): Likewise.
39389         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39390         (_FP_DIV_MEAT_1_udiv): Likewise.
39391         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39392         (_FP_UNPACK_RAW_2): Likewise.
39393         (_FP_UNPACK_RAW_2_P): Likewise.
39394         (_FP_PACK_RAW_2): Likewise.
39395         (_FP_PACK_RAW_2_P): Likewise.
39396         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39397         (_FP_MUL_MEAT_2_wide): Likewise.
39398         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39399         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39400         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39401         (_FP_MUL_MEAT_2_gmp): Likewise.
39402         (_FP_DIV_MEAT_2_udiv): Likewise.
39403         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39404         (_FP_FRAC_SRL_4): Likewise.
39405         (_FP_FRAC_SRST_4): Likewise.
39406         (_FP_FRAC_SRS_4): Likewise.
39407         (_FP_UNPACK_RAW_4): Likewise.
39408         (_FP_UNPACK_RAW_4_P): Likewise.
39409         (_FP_PACK_RAW_4): Likewise.
39410         (_FP_PACK_RAW_4_P): Likewise.
39411         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39412         (_FP_MUL_MEAT_4_wide): Likewise.
39413         (_FP_MUL_MEAT_4_gmp): Likewise.
39414         (umul_ppppmnnn): Likewise.
39415         (_FP_DIV_MEAT_4_udiv): Likewise.
39416         (__FP_FRAC_ADD_4): Likewise.
39417         (__FP_FRAC_SUB_3): Likewise.
39418         (__FP_FRAC_SUB_4): Likewise.
39419         (__FP_FRAC_DEC_3): Likewise.
39420         (__FP_FRAC_DEC_4): Likewise.
39421         (__FP_FRAC_ADDI_4): Likewise.
39422         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39423         (_FP_FRAC_SRL_8): Likewise.
39424         (_FP_FRAC_SRS_8): Likewise.
39426         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39427         include macro name.
39428         (FP_UNPACK_RAW_EP): Likewise.
39429         (FP_PACK_RAW_E): Likewise.
39430         (FP_PACK_RAW_EP): Likewise.
39431         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39432         (_FP_ISSIGNAN): Likewise.
39433         (_FP_ADD_INTERNAL): Likewise.
39434         (_FP_FMA): Likewise.
39435         (_FP_CMP): Likewise.
39436         (_FP_SQRT): Likewise.
39437         (_FP_TO_INT): Likewise.
39438         (_FP_FROM_INT): Likewise.
39439         (FP_EXTEND): Likewise.
39440         (_FP_DIV_MEAT_N_loop): Likewise.
39442 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39444         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39445         throughout.
39447 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39449         [BZ #17097]
39450         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39451         result with correct sign in case of exponents that produce
39452         overflow except for X very close to 1.
39454 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39456         mktime: merge #if/#ifdef usage from glibc
39457         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39458         as that works with both Glibc's and Gnulib's style.
39459         See thread starting at Siddhesh Poyarekar's bug report at:
39460         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39462 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39464         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39465         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39466         * sysdeps/tile/tilegx/memmove.c: Remove file.
39468 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39470         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39471         abi-name definition.
39472         * scripts/soversions.awk: Do not handle or generate ABI lines.
39473         * shlib-versions: Remove ABI entries.
39474         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39475         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39477 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39480         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39481         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39482         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39484         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39486         Moved ...
39487         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39488         ... here.
39489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39490         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39492         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39494         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39496         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39498         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39500         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39502         Moved ...
39503         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39505         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39507         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39509         Moved ...
39510         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39512         Moved ...
39513         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39515         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39517         Moved ...
39518         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39520         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39522         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39524         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39526         Moved ...
39527         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39529         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39530         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39531         Moved ...
39532         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39534         Moved ...
39535         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39537         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39539         Moved ...
39540         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39541         ... here.
39542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39543         Identical file removed.
39544         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39545         Moved ...
39546         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39548         Identical file removed.
39549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39550         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39552         Moved ...
39553         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39554         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39555         Identical file removed.
39556         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39557         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39559         Identical file removed.
39560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39561         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39563         Identical file removed.
39564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39565         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39567         Identical file removed.
39568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39569         Moved ...
39570         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39571         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39572         Identical file removed.
39573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39574         Moved ...
39575         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39577         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39579         Identical file removed.
39580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39581         Moved ...
39582         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39583         ... here.
39584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39585         Identical file removed.
39586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39587         Moved ...
39588         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39590         Identical file removed.
39591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39592         Moved ...
39593         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39595         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39596         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39597         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39599         Moved ...
39600         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39601         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39602         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39604         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39605         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39606         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39607         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39608         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39610 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39612         [BZ #17092]
39613         * nscd/nscd.c (monitor_child): Return exit status of child
39614         instead of return value from wait syscall.
39616 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39618         * configure.ac (libc_commonpagesize): Remove variable.
39619         (libc_relro_required): Likewise.
39620         (libc_cv_z_relro): Remove configure test.
39621         * configure: Regenerated.
39622         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39623         variable.
39624         (libc_relro_required): Likewise.
39625         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39626         (libc_relro_required): Likewise.
39627         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39628         (libc_relro_required): Likewise.
39629         * sysdeps/arm/preconfigure: Regenerated.
39630         * sysdeps/ia64/preconfigure: Remove file.
39631         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39632         variable.
39633         (libc_relro_required): Likewise.
39635         [BZ #16561]
39636         [BZ #16562]
39637         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39638         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39639         recompute overflowing results in original rounding mode.
39640         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39641         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39642         recompute overflowing results in original rounding mode.
39643         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39644         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39645         recompute overflowing results in original rounding mode.
39646         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39647         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39648         recompute overflowing results in original rounding mode.
39649         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39650         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39651         recompute overflowing results in original rounding mode.
39652         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39653         (libc_feholdsetround_ctx): New macro.
39654         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39655         * sysdeps/i386/fpu/libm-test-ulps: Update.
39656         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39658 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39660         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39661         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39662         corresponding .cpsetup call.
39664 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39666         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39667         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39668         * sysdeps/arm/Makefile [$(subdir) = csu]
39669         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39670         (static-only-routines): Add aeabi_read_tp here.
39671         (shared-only-routines): Add libc-aeabi_read_tp here.
39672         (CFLAGS-libc-start.c): Add -fexceptions here.
39673         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39674         (sysdep_routines, static-only-routines, shared-only-routines):
39675         Don't add to these here.
39676         (CFLAGS-libc-start.c): Likewise.
39678         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39679         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39680         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39681         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39682         * sysdeps/arm/Makefile [$(subdir) = rt]
39683         (librt-sysdep_routines, librt-shared-only-routines):
39684         Append rt-aeabi_unwind_cpp_pr1 here.
39685         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39686         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39687         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39688         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39689         Append nptl-aeabi_unwind_cpp_pr1 here.
39690         (tests): Filter out tst-cleanupx4 here.
39691         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39692         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39693         Don't do those here.
39695 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39697         * scripts/list-sources.sh: Do not handle ports specially.
39699 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39701         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39702         * sysdeps/arm/feupdateenv.c: Likewise.
39704         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39706 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39708         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39709         trailing whitespace removed.
39710         * scripts/config.guess: Update to version 2014-03-23.
39711         * scripts/config.sub: Update to version 2014-05-01
39712         * scripts/install-sh: Update to version 2013-12-25.23.
39713         * scripts/move-if-change: Update from gnulib.
39715 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39717         * debug/memmove_chk.c: Remove pagecopy.h include.
39719 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39721         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39722         identical to gnulib mktime.
39724 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39726         * configure.ac: Do not test for machine being rs6000.  Do not test
39727         for powerpc*-*soft.
39728         * configure: Regenerated.
39730         [BZ #11505]
39731         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39732         test.
39733         * configure: Regenerated.
39734         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39735         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39736         Remove configure test.
39737         * sysdeps/arm/configure: Regenerated.
39738         * sysdeps/nptl/configure.ac: Do not check
39739         libc_cv_asm_cfi_directives.
39740         * sysdeps/nptl/configure: Regenerated.
39741         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39742         * sysdeps/x86_64/nptl/configure: Remove generated file.
39743         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39744         unconditional.
39745         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39747 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39749         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39750         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39751         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39752         it is defined.
39754         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39755         instead of whether it is defined.
39756         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39757         * sysdeps/hppa/dl-machine.h: Likewise.
39758         * sysdeps/ia64/dl-machine.h: Likewise.
39759         * sysdeps/m68k/dl-machine.h: Likewise.
39760         * sysdeps/microblaze/dl-machine.h: Likewise.
39761         * sysdeps/mips/dl-machine.: Likewise.
39762         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39763         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39764         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39765         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39766         * sysdeps/sh/dl-machine.h: Likewise.
39767         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39768         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39769         * sysdeps/tile/dl-machine.h: Likewise.
39770         * sysdeps/x86_64/dl-machine.h: Likewise.
39772         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39773         code.
39774         (verify_persistent_db): Likewise.
39776 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39779         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39781         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39783         Moved ...
39784         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39785         ... here.
39786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39787         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39789         Identical file removed.
39790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39791         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39793         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39795         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39797         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39799         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39801         Moved ...
39802         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39804         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39806         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39808         Moved ...
39809         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39811         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39813         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39815         Identical file removed.
39816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39817         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39819         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39821         Moved ...
39822         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39823         ... here.
39824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39825         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39827         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39829         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39831         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39833         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39835         Moved ...
39836         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39838         Moved ...
39839         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39841         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39843         Moved ...
39844         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39846         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39848         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39849         folded into ...
39850         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39851         * sysdeps/unix/sysv/linux/s390/Versions
39852         (libpthread: GLIBC_2.19): New version set.
39853         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39854         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39855         (librt: GLIBC_2.3.3): New version set.
39856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39857         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39858         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39859         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39860         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39861         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39862         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39863         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39864         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39865         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39866         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39867         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39868         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39869         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39870         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39871         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39872         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
39873         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
39874         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
39875         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
39876         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
39877         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
39878         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
39879         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
39880         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
39881         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
39882         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
39883         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
39884         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
39885         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
39886         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
39887         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
39888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
39889         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
39890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
39891         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
39892         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
39893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
39894         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
39895         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
39896         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
39897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
39898         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
39899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
39900         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
39902         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
39903         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
39904         (__libc_vfork): Define the function under this name.
39905         [!NOT_IN_libc] (__vfork): Make this an alias.
39906         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39907         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
39908         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
39909         (__libc_vfork): Define the function under this name.
39910         [!NOT_IN_libc] (__vfork): Make this an alias.
39911         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39912         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
39913         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
39914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
39915         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
39916         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39918         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
39919         code that was previously under [RESET_PID].
39920         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
39921         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
39922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
39924         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
39925         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
39926         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
39927         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
39928         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
39929         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
39930         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
39931         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
39932         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
39933         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
39934         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
39935         Moved ...
39936         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
39937         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39938         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
39939         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
39940         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
39941         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
39942         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
39943         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
39944         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
39945         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
39946         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
39947         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
39948         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
39949         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
39950         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
39951         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
39952         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
39953         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
39954         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
39955         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
39956         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
39957         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
39958         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
39959         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
39960         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
39961         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
39962         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
39963         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
39964         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
39966 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39968         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
39969         that was previously under [RESET_PID].
39970         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
39972 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39974         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
39975         not undefine and redefine.
39976         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
39977         [O_CLOEXEC]: Make code unconditional.
39978         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
39979         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
39980         <kernel-features.h>.
39981         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
39982         conditional variable definition.
39983         (shm_open) [O_CLOEXEC]: Make code unconditional.
39984         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
39985         code.
39987         * configure.ac (USE_REGPARMS): Don't define here.
39988         * configure: Regenerated.
39989         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
39990         * sysdeps/i386/configure: Regenerated.
39992         * nptl/createthread.c: Don't include kernel-features.h.
39993         * nptl/pthread_cancel.c: Likewise.
39994         * nptl/pthread_condattr_setclock.c: Likewise.
39995         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
39996         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
39997         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
39998         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
39999         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40000         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40001         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40002         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40004         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40005         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40006         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40007         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40008         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40009         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40010         * nscd/gai.c: Likewise.
40011         * nss/nss_db/db-open.c: Likewise.
40012         * sysdeps/generic/ldsodefs.h: Likewise.
40013         * sysdeps/sh/nptl/tls.h: Likewise.
40014         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40015         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40016         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40017         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40018         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40019         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40020         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40021         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40022         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40023         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40024         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40025         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40026         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40027         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40028         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40029         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40030         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40031         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40032         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40033         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40035         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40036         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40037         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40038         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40040         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40041         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40042         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40043         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40044         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40045         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40046         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40047         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40048         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40049         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40050         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40051         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40052         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40053         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40054         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40055         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40056         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40057         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40058         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40059         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40060         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40061         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40062         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40063         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40064         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40065         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40066         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40067         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40068         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40069         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40070         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40071         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40094         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40095         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40096         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40097         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40098         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40099         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40100         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40101         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40102         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40103         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40104         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40105         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40106         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40107         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40108         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40109         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40110         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40111         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40112         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40113         * sysdeps/unix/sysv/linux/system.c: Likewise.
40114         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40115         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40116         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40117         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40118         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40119         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40120         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40122         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40123         * configure: Regenerated.
40124         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40126         * configure.ac (base_machine): Do not set specially for particular
40127         machines here.
40128         * configure: Regenerated.
40129         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40130         settings from configure.ac.
40131         * sysdeps/i386/preconfigure: New file.
40132         * sysdeps/s390/preconfigure: Likewise.
40133         * sysdeps/sh/preconfigure: Likewise.
40134         * sysdeps/sparc/preconfigure: Likewise.
40136 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40138         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40139         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40140         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40141         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40142         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40143         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40144         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40145         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40146         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40147         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40148         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40149         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40150         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40151         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40152         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40153         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40154         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40155         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40156         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40158         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40159         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40160         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40161         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40162         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40163         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40164         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40165         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40166         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40167         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40168         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40169         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40170         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40171         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40172         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40173         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40174         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40175         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40176         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40177         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40179         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40182         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40183         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
40184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
40185         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
40186         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
40187         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
40188         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
40189         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
40190         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
40191         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
40192         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
40193         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
40194         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
40195         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
40197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
40198         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
40199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
40200         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
40201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40202         Moved ...
40203         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
40204         ... here.
40205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
40206         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
40207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
40208         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
40209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
40210         Moved ...
40211         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
40212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
40213         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
40214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
40215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
40216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
40217         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
40218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40219         Moved ...
40220         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
40221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40222         Moved ...
40223         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
40224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
40225         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
40226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40227         Moved ...
40228         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
40229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
40230         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
40231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
40232         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
40233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40234         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
40235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
40236         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
40237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40238         Moved ...
40239         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
40240         ... here.
40241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
40242         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
40243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
40244         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
40245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
40246         Moved ...
40247         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
40248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
40249         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
40250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
40251         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
40252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
40253         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
40254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40255         Moved ...
40256         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
40257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40258         Moved ...
40259         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
40260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40261         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40263         Moved ...
40264         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40266         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40268         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40270 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40272         * timezone/checktab.awk: Update from tzcode 2014e.
40273         * timezone/private.h: Likewise.
40274         * timezone/tzfile.h: Likewise.
40275         * timezone/zdump.c: Likewise.
40276         * timezone/zic.c: Likewise.
40278         * sysdeps/unix/sysv/linux/kernel-features.h
40279         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40280         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40281         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40282         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40283         Remove conditional code.
40285 2014-06-25  Will Newton  <will.newton@linaro.org>
40287         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40288         (_dl_arm_cap_flags): Add HWCAP2 values.
40289         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40290         (_DL_HWCAP_COUNT): Increase to 37.
40291         (_DL_HWCAP_LAST): New define.
40292         (_DL_HWCAP2_LAST): New define.
40293         (_dl_procinfo): Add support for printing
40294         AT_HWCAP2 entries.
40295         (_dl_string_hwcap): Use _dl_hwcap_string.
40297 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40301 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40303         * README: Do not mention ports directory.
40305         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40306         Remove macro.
40307         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40308         <kernel-features.h>.
40309         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40310         conditional variable definition.
40311         (__futimes): Update comment.
40312         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40313         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40315         [BZ #16560]
40316         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40317         arguments close to 0.
40318         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40319         Likewise.
40320         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40321         Likewise.
40322         * math/auto-libm-test-in: Add more tests of exp10.
40323         * math/auto-libm-test-out: Regenerated.
40324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40326         * sysdeps/unix/sysv/linux/kernel-features.h
40327         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40328         * sysdeps/unix/sysv/linux/readv.c: Do not include
40329         <kernel-features.h>.
40330         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40331         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40332         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40333         unconditional.
40334         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40335         conditional code.
40336         * sysdeps/unix/sysv/linux/writev.c: Do not include
40337         <kernel-features.h>.
40338         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40339         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40340         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40341         unconditional.
40342         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40343         conditional code.
40345 2014-06-25  Will Newton  <will.newton@linaro.org>
40347         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40348         comment changes throughout the file.  Remove checks
40349         for HAVE_*_H definitions that are not required.
40350         (__gen_tempname): Call abort if an unknown kind value is
40351         passed.
40353 2014-06-25  Andreas Schwab  <schwab@suse.de>
40355         [BZ #17086]
40356         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40357         scalbln, scalblnf, scalblnl in libc.
40359 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40361         [BZ #17086]
40362         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40363         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40364         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40366 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40368         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40369         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40370         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40371         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40372         Update #include.
40373         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40374         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40375         Update #include.
40376         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40377         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40378         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40379         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40380         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40381         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40382         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40383         * sysdeps/x86/bits/semaphore.h: ... here.
40384         * sysdeps/x86/nptl/elide.h: Moved ...
40385         * sysdeps/x86/elide.h: ... here.
40386         * sysdeps/x86_64/nptl/Implies: File removed.
40387         * sysdeps/i386/nptl/Implies: File removed.
40389 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40391         [BZ #16539]
40392         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40393         return the argument for normal arguments with exponent below -64.
40394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40395         Likewise.
40396         * math/auto-libm-test-in: Add another test of expm1.
40397         * math/auto-libm-test-out: Regenerated.
40399         [BZ #16287]
40400         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40401         calling __erfcl for arguments at least 16.
40402         * math/auto-libm-test-in: Add more tests of erf.
40403         * math/auto-libm-test-out: Regenerated.
40405         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40406         individual architectures.
40407         * sysdeps/unix/sysv/linux/configure: Regenerated.
40408         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40409         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40410         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40411         (ldd_rewrite_script): Define variable.
40412         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40414         file.
40415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40416         generated file.
40417         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40418         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40419         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40420         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40421         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40422         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40423         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40424         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40426 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40428         [BZ #17084]
40429         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40430         Rename member __data.d to __data.__elision_data.
40432 2014-06-24  Wilco  <wdijkstr@arm.com>
40434         * NEWS: Add 16918 to fixed bug list.
40436 2014-06-24  Wilco  <wdijkstr@arm.com>
40438         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40440 2014-06-24  Wilco  <wdijkstr@arm.com>
40442         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40443         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40444         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40445         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40446         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40447         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40448         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40449         Use _FPU_MASK_RM.
40451 2014-06-24  Wilco  <wdijkstr@arm.com>
40453         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40455 2014-06-24  Wilco  <wdijkstr@arm.com>
40457         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40458         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40459         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40460         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40462 2014-06-24  Wilco  <wdijkstr@arm.com>
40464         [BZ #16918]
40465         * sysdeps/arm/feupdateenv.c (feupdateenv):
40466         Rewrite to reduce FPSCR accesses and fix return value.
40468 2014-06-24  Wilco  <wdijkstr@arm.com>
40470         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40471         Optimize to avoid unnecessary FPSCR writes.
40472         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40473         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40474         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40475         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40477 2014-06-24  Wilco  <wdijkstr@arm.com>
40479         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40480         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40481         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40482         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40483         Call libc_fetestexcept_vfp.
40484         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40485         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40486         __SOFTFP__ ifdef so that they can be built for softfp.
40488 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40490         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40491         argument type signed char.
40493         * Makerules (check-abi): Dump diff of symlist if the test
40494         fails.
40496 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40498         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40499         using abort.
40501         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40502         Remove unused variable ST.
40504 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40506         [BZ #16354]
40507         [BZ #17061]
40508         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40509         small arguments before calling __expm1.
40510         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40511         small arguments before calling __expm1f.
40512         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40513         small arguments before calling __expm1l.
40514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40515         Likewise.
40516         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40517         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40518         spurious underflow for some cosh tests.
40519         * math/auto-libm-test-out: Regenerated.
40520         * sysdeps/i386/fpu/libm-test-ulps: Update.
40522         [BZ #17050]
40523         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40524         (__ieee754_y1): Set errno if return value overflows.
40525         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40526         (__ieee754_y1f): Set errno if return value overflows.
40527         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40528         (__ieee754_y1l): Set errno if return value overflows.
40529         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40530         (__ieee754_y1l): Set errno if return value overflows.
40531         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40532         * math/auto-libm-test-out: Regenerated.
40534         * math/gen-auto-libm-tests.c: Document use of
40535         ignore-zero-inf-sign.
40536         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40537         (input_flags): Add ignore-zero-inf-sign.
40538         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40539         * math/gen-libm-test.pl (generate_testfile): Handle
40540         ignore-zero-inf-sign.
40541         * math/auto-libm-test-in: Mark some cpow tests with
40542         ignore-zero-inf-sign and some with xfail-rounding.
40543         * math/auto-libm-test-out: Regenerated.
40544         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40545         * sysdeps/i386/fpu/libm-test-ulps: Update.
40546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40548         [BZ #16315]
40549         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40550         overflowing or underflowing operations take place with sign of
40551         result.
40552         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40553         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40554         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40555         (__ieee754_pow): Recompute overflowing and underflowing results in
40556         original rounding mode.
40557         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40558         (__powl_helper): Allow negative argument X and scale negated value
40559         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40560         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40561         overflowing or underflowing operations take place with sign of
40562         result.
40563         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40564         Include <math.h>.
40565         * math/auto-libm-test-in: Add more tests of pow.
40566         * math/auto-libm-test-out: Regenerated.
40567         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40568         (pow_tonearest_test_data): Remove.
40569         (pow_test_tonearest): Likewise.
40570         (pow_towardzero_test_data): Likewise.
40571         (pow_test_towardzero): Likewise.
40572         (pow_downward_test_data): Likewise.
40573         (pow_test_downward): Likewise.
40574         (pow_upward_test_data): Likewise.
40575         (pow_test_upward): Likewise.
40576         (main): Don't call removed functions.
40577         * sysdeps/i386/fpu/libm-test-ulps: Update.
40578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40580 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40583         Moved ...
40584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40586         Moved ...
40587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40589         Moved ...
40590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40592         Moved ...
40593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40595         File removed.
40596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40597         File removed.
40598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40599         File removed.
40600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40601         File removed.
40602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40603         File removed.
40604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40605         File removed.
40606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40607         File removed.
40608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40609         File removed.
40610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40611         File removed.
40612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40613         File removed.
40614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40615         File removed.
40616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40617         File removed.
40618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40619         Moved ...
40620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40622         Moved ...
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40624         ... here.
40625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40626         Moved ...
40627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40629         Moved ...
40630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40632         Moved ...
40633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40635         Moved ...
40636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40638         Moved ...
40639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40641         Moved ...
40642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40644         Moved ...
40645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40648         ... here.
40649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40650         Moved ...
40651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40653         Moved ...
40654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40655         ... here.
40656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40657         Moved ...
40658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40659         ... here.
40660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40661         Moved ...
40662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40663         ... here.
40664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40665         Moved ...
40666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40668         Moved ...
40669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40673         Moved ...
40674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40675         ... here.
40676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40677         Moved ...
40678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40679         ... here.
40680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40681         Moved ...
40682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40684         Moved ...
40685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40687         Moved ...
40688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40690         Moved ...
40691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40693         Moved ...
40694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40695         ... here.
40696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40697         Moved ...
40698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40700         Moved ...
40701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40703         Moved ...
40704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40706         Moved ...
40707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40711         Moved ...
40712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40714         Moved ...
40715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40717         Moved ...
40718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40719         ... here.
40720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40721         Moved ...
40722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40723         ... here.
40724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40725         Moved ...
40726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40727         ... here.
40728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40729         Moved ...
40730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40732         Moved ...
40733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40735         Moved ...
40736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40738         Moved ...
40739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40740         ... here.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40742         Moved ...
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40744         ... here.
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40746         Moved ...
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40748         ... here.
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40750         Moved ...
40751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40753         Moved ...
40754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40756 2014-06-23  Will Newton  <will.newton@linaro.org>
40757             Wilco  <wdijkstr@arm.com>
40759         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40760         implementation.  Include get-rounding-mode.h.
40761         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40762         [!libc_feholdsetround_noex_ctx]: Define
40763         libc_feholdsetround_noex_ctx.
40764         [!libc_feholdsetround_noexf_ctx]: Define
40765         libc_feholdsetround_noexf_ctx.
40766         [!libc_feholdsetround_noexl_ctx]: Define
40767         libc_feholdsetround_noexl_ctx.
40768         (libc_feholdsetround_ctx): New function.
40769         (libc_feresetround_ctx): New function.
40770         (libc_feholdsetround_noex_ctx): New function.
40771         (libc_feresetround_noex_ctx): New function.
40773 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40775         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40776         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40777         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40778         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40779         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40780         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40782         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40783         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40784         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40785         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40786         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40787         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40789         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40791         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40793         Moved ...
40794         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40795         ... here.
40796         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40797         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40799         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40801         Moved ...
40802         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40803         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40804         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40805         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40806         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40808         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40810         Moved ...
40811         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40813         Moved ...
40814         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40816         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40818         Moved ...
40819         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40821         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40822         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40823         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40824         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40825         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40826         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40827         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40829         Moved ...
40830         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40831         ... here.
40832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40833         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40835         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40837         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40839         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40840         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40841         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40842         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40843         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40844         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40845         Moved ...
40846         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40847         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40848         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40849         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40850         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40852         Moved ...
40853         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40855         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40856         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40857         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40859         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40860         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40861         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40862         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40863         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40864         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40865         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40866         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40867         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40868         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40869         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40870         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40871         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40872         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
40873         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
40874         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
40875         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
40876         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
40877         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
40878         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
40879         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
40880         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
40881         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
40882         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
40883         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
40884         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
40885         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
40886         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
40888 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
40891         (FALLOC_FL_COLLAPSE_RANGE): New macro.
40892         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
40893         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
40894         (IPV6_PMTUDISC_INTERFACE): Likewise.
40895         (IPV6_PMTUDISC_OMIT): Likewise.
40897 2014-06-23  Andreas Schwab  <schwab@suse.de>
40899         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
40900         Remove unused errout label.
40902 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40904         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
40905         macro: hardware supports Vector Crypto instructions.
40907 2014-06-23  Will Newton  <will.newton@linaro.org>
40909         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
40910         rather than __builtin_expect.
40912         * elf/dl-lookup.c (undefined_msg): Remove variable.
40913         (_dl_lookup_symbol_x): Replace undefined_msg with string
40914         literal.
40916         * elf/dl-lookup.c (do_lookup_unique): New function.
40917         (do_lookup_x): Move STB_GNU_UNIQUE handling code
40918         to a separate function.
40920 2014-06-23  Andreas Schwab  <schwab@suse.de>
40922         [BZ #17079]
40923         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
40924         before reading the next line.
40926 2014-06-23  Will Newton  <will.newton@linaro.org>
40928         * test-skeleton.c (signal_handler): Use printf and %m
40929         rather than perror.  Use printf rather than fprintf to
40930         stderr.  Use puts rather than fputs to stderr.
40931         (main): Likewise.
40933 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
40935         * nscd/nscd.c (thread_info_t): Remove typedef.
40936         (thread_info): Remove variable.
40938 2014-06-21  Allan McRae  <allan@archlinux.org>
40940         * NEWS: Mention CVE-2014-4043.
40942 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40944         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
40945         * nptl/smp.h: ... here.
40947         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
40949         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
40950         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
40951         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
40952         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
40954         * nptl/allocatestack.c: Include <stack-aliasing.h>.
40955         * nptl/stack-aliasing.h: New file.
40956         * sysdeps/i386/i686/stack-aliasing.h: New file.
40957         * sysdeps/i386/i686/nptl/Makefile: File removed.
40958         * sysdeps/x86_64/stack-aliasing.h: New file.
40959         * sysdeps/x86_64/nptl/Makefile
40960         (CFLAGS-pthread_create.c): Variable removed.
40962         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
40963         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
40964         old file.
40965         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
40966         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
40967         old file.
40969 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
40971         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40972         (__ASSUME_SIGFRAME_V2): Remove macro.
40973         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
40974         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
40975         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
40976         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
40977         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
40978         Declare as function.  Remove conditional macro definitions.
40979         (__default_rt_sa_restorer): Likewise.
40980         (__default_sa_restorer_v1): Remove declaration.
40981         (__default_sa_restorer_v2): Likewise.
40982         (__default_rt_sa_restorer_v1): Likewise.
40983         (__default_rt_sa_restorer_v2): Likewise.
40984         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
40985         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
40986         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
40988 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40990         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
40991         (libpthread-routines): Add sysdep.
40992         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
40993         * sysdeps/unix/sysv/linux/sparc/Versions
40994         (libpthread: GLIBC_2.3.3): New version set.
40995         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
40996         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
40997         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
40998         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
40999         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41000         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41001         Moved ...
41002         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41003         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41004         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41005         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41006         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41007         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41008         * sysdeps/sparc/nptl/sem_init.c: ... here.
41009         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41010         * sysdeps/sparc/nptl/sem_post.c: ... here.
41011         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41012         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41013         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41014         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41015         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41016         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41017         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41018         (libpthread-routines): Add cpu_relax.
41019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41020         File removed.
41021         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41022         (librt: GLIBC_2.3.3): New version set.
41023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41024         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41025         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41026         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41029         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41031         Moved ...
41032         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41034         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41036         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41038         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41040         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41042         Moved ...
41043         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41044         Update #include.
41045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41046         Moved ...
41047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41048         Update #include.
41049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41050         Moved ...
41051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41052         Update #include.
41053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41054         Moved ...
41055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41056         Update #include.
41057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41058         Moved ...
41059         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41060         Update #include.
41061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41062         Moved ...
41063         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41064         Update #include.
41065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41066         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41072         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41074         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41076         Moved ...
41077         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41079         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41081         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41083 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41085         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41086         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41087         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41088         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41089         * nscd/nscd.c: Likewise.
41090         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41091         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41092         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41093         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41095         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41096         <kernel-features.h>.
41097         (init_mq_netlink): Remove conditional have_sock_cloexec
41098         definitions.  Remove code conditional on have_sock_cloexec < 0.
41099         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41100         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41101         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41102         <kernel-features.h>.
41103         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41104         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41106 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41109         Add tests for memset_chk and memset.
41111         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41112         with AVX2_Usable.
41114 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41116         [BZ #16046]
41117         * elf/tst-dl-iter-static.c: New file.
41118         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41120         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41121         error.
41123 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41125         * sysdeps/unix/sysv/linux/kernel-features.h
41126         (__ASSUME_F_GETOWN_EX): Remove macro.
41127         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41128         <kernel-features.h>.
41129         (miss_F_GETOWN_EX): Remove variable or macro.
41130         (do_fcntl): Do not check miss_F_GETOWN_EX.
41131         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41133         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41134         Remove macro.
41135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41136         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41137         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41139         * sysdeps/unix/sysv/linux/kernel-features.h
41140         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41141         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41142         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41143         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41145 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41147         [BZ #17075]
41148         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41149         Fix calculation of the symbol's value.
41150         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41151         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41152         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41153         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41154         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41155         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41156         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41157         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41158         (modules-names): Add `tst-armtlsdescmod',
41159         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41160         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41161         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41162         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41163         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41164         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41165         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41166         ($(objpfx)tst-armtlsdescloc): New dependency.
41167         ($(objpfx)tst-armtlsdescextnow): Likewise.
41168         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41169         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41170         TLS scheme support.
41171         * sysdeps/arm/configure: Regenerate.
41173 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41175         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41176         (__atfct_seterrno_2): Likewise.
41177         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41178         <kernel-features.h>.
41179         (__ASSUME_ATFCTS): Do not undefine and redefine.
41180         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41181         (__have_atfcts): Remove conditional definition.
41182         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41183         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
41184         unreachable if [__ASSUME_ATFCTS].
41185         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
41186         not undefine and redefine.
41187         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
41188         <kernel-features.h>.
41189         (faccessat) [__NR_faccessat]: Make code unconditional.
41190         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
41191         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
41192         <kernel-features.h>.
41193         (fchmodat) [__NR_fchmodat]: Make code unconditional.
41194         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41195         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
41196         <kernel-features.h>.
41197         (fchownat) [__NR_fchownat]: Make code unconditional.
41198         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
41199         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
41200         <kernel-features.h>.
41201         (futimesat) [__NR_futimesat]: Make code unconditional.
41202         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
41203         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41204         <kernel-features.h>.
41205         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41206         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41207         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41208         <kernel-features.h>.
41209         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
41210         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41211         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
41212         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41213         <kernel-features.h>.
41214         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
41215         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41216         * sysdeps/unix/sysv/linux/linkat.c: Do not include
41217         <kernel-features.h>.
41218         (linkat) [__NR_linkat]: Make code unconditional.
41219         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41220         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
41221         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
41222         <kernel-features.h>.
41223         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
41224         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41225         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
41226         <kernel-features.h>.
41227         (mkdirat) [__NR_mkdirat]: Make code unconditional.
41228         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
41229         * sysdeps/unix/sysv/linux/openat.c: Do not include
41230         <kernel-features.h>.
41231         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
41232         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
41233         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
41234         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
41235         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
41236         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
41237         <kernel-features.h>.
41238         (readlinkat) [__NR_readlinkat]: Make code unconditional.
41239         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
41240         result of INLINE_SYSCALL directly, not via int variable.
41241         * sysdeps/unix/sysv/linux/renameat.c: Do not include
41242         <kernel-features.h>.
41243         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
41244         (renameat) [__NR_renameat]: Make code unconditional.
41245         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
41246         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
41247         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
41248         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
41249         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
41250         (__ASSUME_ATFCTS): Do not undefine and redefine.
41251         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
41252         <kernel-features.h>.
41253         (symlinkat) [__NR_symlinkat]: Make code unconditional.
41254         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41255         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
41256         <kernel-features.h>.
41257         (unlinkat) [__NR_unlinkat]: Make code unconditional.
41258         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41259         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
41260         (__ASSUME_ATFCTS): Do not undefine and redefine.
41261         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41262         <kernel-features.h>.
41263         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41264         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41265         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41266         <kernel-features.h>.
41267         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41268         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41270 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41272         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41274 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41276         [BZ #17069]
41277         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41278         constructed tree before returning error.
41279         * posix/bug-regexp36.c: Expand test case.
41281 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41283         [BZ #6803]
41284         * math/libm-test.inc (scalbln_test_date):
41285         Add errno expectations.
41286         * math/w_scalblnf.c: New File.
41287         Add wrapper which checks for setting errno to ERANGE.
41288         Add weak_alias for corresponding scalbln function.
41289         * math/w_scalbln.c: Likewise.
41290         * math/w_scalblnl.c: Likewise.
41291         * math/Makefile (libm-calls): Add w_scalbln.
41292         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41293         Remove weak_alias for corresponding scalbln function.
41294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41295         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41296         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41298         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41299         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41300         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41301         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41302         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41303         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41304         Remove long_double_symbol for scalblnl function in libm, libc.
41305         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41306         Add wrapper which checks for setting errno to ERANGE.
41307         Add long_double_symbol for scalblnl function in libm, libc.
41308         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41309         Remove long_double_symbol for scalblnl in libm.
41310         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41311         Add wrapper which checks for setting errno to ERANGE.
41312         Add long_double_symbol for scalblnl function in libm.
41313         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41314         Do not use wrapper because of own implementation.
41316 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41318         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41319         3 bytes for __pad1 for x32.
41320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41322 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41323             H.J. Lu  <hongjiu.lu@intel.com>
41325         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41326         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41327         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41329         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41331 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41333         [BZ #17069]
41334         * posix/regcomp.c (parse_expression): Deallocate partially
41335         constructed tree before returning error.
41336         * posix/Makefile.c (tests): Add bug-regex36.
41337         (generated): Add bug-regex36.mtrace.
41338         (tests-special): Add $(objpfx)bug-regex36-mem.out
41339         (bug-regex36-ENV): New variable.
41340         ($(objpfx)bug-regex36-mem.out): New rule.
41341         * posix/bug-regex36.c: New file.
41343 2014-06-19  Will Newton  <will.newton@linaro.org>
41345         * malloc/malloc.c (systrim): If extra is zero then return
41346         early.
41348 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41350         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41352 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41354         * sysdeps/aarch64/strchr.S: New file.
41356 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41358         [BZ #17022]
41359         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41360         from arguments -2 or below.
41361         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41362         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41364 2014-06-18  Andreas Schwab  <schwab@suse.de>
41366         [BZ #17062]
41367         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41368         of a bracket expr not to run off the end of the string.
41369         * posix/Makefile (tests): Add tst-fnmatch3.
41370         * posix/tst-fnmatch3.c: New file.
41372 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41374         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41375         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41376         [$(cross-compiling) = no]: Likewise.
41377         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41378         [$(cross-compiling) = no]: Likewise.
41380 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41382         [BZ #17031]
41383         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41384         double, adjusted for any remainder from the high double.
41385         * math/libm-test.inc (nearbyint): Add tests.
41386         (rint): Likewise.
41388 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41390         * nptl/sysdeps/powerpc/Makefile: Moved ...
41391         * sysdeps/powerpc/nptl/Makefile: ... here.
41392         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41393         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41394         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41395         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41396         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41397         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41398         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41399         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41400         * nptl/sysdeps/powerpc/tls.h: Moved ...
41401         * sysdeps/powerpc/nptl/tls.h: ... here.
41403 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41405         [BZ #16681]
41406         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41407         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41408         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41409         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41410         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41411         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41412         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41413         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41414         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41416 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41418         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41420 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41422         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41423         defined operator.
41425         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41426         $TIMEOUTFACTOR.
41428 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41430         [BZ #17058]
41431         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41432         non-executed part of the test.
41434 2014-06-16  Andreas Schwab  <schwab@suse.de>
41436         * string/bits/string2.h (strdup, strndup): Update feature guard.
41438 2014-06-14  David S. Miller  <davem@davemloft.net>
41440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41442 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41444         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41445         that was previously under [RESET_PID].
41446         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41448         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41449         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41450         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41451         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41452         (__libc_vfork): New strong alias.
41453         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41455 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41457         * sysdeps/generic/elide.h: New file.
41459 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41461         * Makefile (installed-headers): Adjust path of pthread.h header.
41463 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41465         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41466         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41467         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41468         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41470         * nptl/sysdeps/s390/Makefile: Moved ...
41471         * sysdeps/s390/nptl/Makefile: ... here.
41472         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41473         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41474         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41475         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41476         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41477         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41478         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41479         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41480         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41481         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41482         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41483         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41484         * nptl/sysdeps/s390/tls.h: Moved ...
41485         * sysdeps/s390/nptl/tls.h: ... here.
41487         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41488         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41490 2014-06-13  David S. Miller  <davem@davemloft.net>
41492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41495         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41499         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41500         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41501         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41502         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41503         Remove RESET_PID cpp guards.
41504         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41505         Remove RESET_PID cpp guards.
41506         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41508 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41510         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41511         __sp to uintptr_t.
41513 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41515         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41516         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41517         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41518         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41519         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41520         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41521         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41522         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41523         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41524         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41527         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41528         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41529         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41530         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41532         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41534         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41536         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41537         (pthread_rwlock_rdlock): Add elision.
41538         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41539         (pthread_rwlock_wrlock): Add elision.
41540         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41541         (pthread_rwlock_trywrlock): Add elision.
41542         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41543         (pthread_rwlock_tryrdlock): Add elision.
41544         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41545         (pthread_rwlock_tryrdlock): Add elision unlock.
41546         * nptl/sysdeps/pthread/pthread.h:
41547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41548         (PTHREAD_RWLOCK_INITIALIZER,
41549         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41550         Handle new elision field.
41551         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41552         * sysdeps/arm/nptl/bits/pthreadtypes.h
41553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41554         * sysdeps/sh/nptl/bits/pthreadtypes.h
41555         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41556         * sysdeps/tile/nptl/bits/pthreadtypes.h
41557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41558         * sysdeps/a/nptl/bits/pthreadtypes.h
41559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41560         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41561         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41562         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41564         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41566         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41568         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41569         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41570         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41571         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41572         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41573         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41574         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41576         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41577         (elision_init): Set try_xbegin to zero when no RTM.
41578         * sysdeps/x86/nptl/bits/pthreadtypes.h
41579         (pthread_rwlock_t): Change __pad1 to __rwelision.
41580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41582 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41584         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41585         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41586         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41587         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41589 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41591         [BZ #16996]
41592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41593         that the cached result has been set before returning it.
41595 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41597         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41598         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41599         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41600         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41601         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41602         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41604         * nptl/sysdeps/sparc/Makefile: Moved ...
41605         * sysdeps/sparc/nptl/Makefile: ... here.
41606         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41607         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41608         * nptl/sysdeps/sparc/tls.h: Moved ...
41609         * sysdeps/sparc/nptl/tls.h: ... here.
41610         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41611         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41612         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41613         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41614         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41615         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41616         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41617         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41618         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41619         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41620         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41621         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41622         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41623         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41624         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41625         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41626         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41628         Update #include.
41629         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41630         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41631         Update #include.
41632         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41634         Update #include.
41635         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41636         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41637         Update #include.
41639         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41641         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41642         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41644         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41645         (struct list_links): Type removed.
41646         (struct thread_node, struct timer_node): Replace struct list_links
41647         with struct list_head.
41648         (list_unlink_ip): Likewise.
41649         * sysdeps/pthread/timer_routines.c
41650         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41651         (list_append, list_insbefore): Likewise.
41652         (list_init): Function removed.
41653         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41654         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41655         * sysdeps/pthread/Makefile: ... here, new file.
41657         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41658         * sysdeps/nptl/Implies: ... here.
41659         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41660         * nptl/sysdeps/pthread/list.h: Moved ...
41661         * include/list.h: ... here.
41662         * nptl/sysdeps/pthread/createthread.c: Moved ...
41663         * nptl/createthread.c: ... here.
41664         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41665         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41666         * nptl/pt-longjmp.c: ... here.
41667         * nptl/sysdeps/pthread/Makefile: Moved ...
41668         * sysdeps/nptl/Makefile: ... here.
41669         * nptl/sysdeps/pthread/Subdirs: Moved ...
41670         * sysdeps/nptl/Subdirs: ... here.
41671         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41672         * sysdeps/nptl/aio_misc.h: ... here.
41673         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41674         * sysdeps/nptl/bits/libc-lock.h: ... here.
41675         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41676         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41677         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41678         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41679         * nptl/sysdeps/pthread/configure: Moved ...
41680         * sysdeps/nptl/configure: ... here.
41681         * nptl/sysdeps/pthread/configure.ac: Moved ...
41682         * sysdeps/nptl/configure.ac: ... here.
41683         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41684         * sysdeps/nptl/gai_misc.h: ... here.
41685         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41686         * sysdeps/nptl/librt-cancellation.c: ... here.
41687         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41688         * sysdeps/nptl/malloc-machine.h: ... here.
41689         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41690         * sysdeps/nptl/pthread-functions.h: ... here.
41691         * nptl/sysdeps/pthread/pthread.h: Moved ...
41692         * sysdeps/nptl/pthread.h: ... here.
41693         * nptl/sysdeps/pthread/setxid.h: Moved ...
41694         * sysdeps/nptl/setxid.h: ... here.
41695         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41696         * sysdeps/nptl/sigfillset.c: ... here.
41697         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41698         * sysdeps/nptl/tcb-offsets.h: ... here.
41699         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41700         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41701         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41702         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41703         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41704         * sysdeps/pthread/allocalim.h: ... here.
41705         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41706         * sysdeps/pthread/bits/sigthread.h: ... here.
41707         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41708         * sysdeps/pthread/flockfile.c: ... here.
41709         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41710         * sysdeps/pthread/ftrylockfile.c: ... here.
41711         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41712         * sysdeps/pthread/funlockfile.c: ... here.
41713         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41714         * sysdeps/pthread/posix-timer.h: ... here.
41715         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41716         * sysdeps/pthread/timer_create.c: ... here.
41717         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41718         * sysdeps/pthread/timer_delete.c: ... here.
41719         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41720         * sysdeps/pthread/timer_getoverr.c: ... here.
41721         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41722         * sysdeps/pthread/timer_gettime.c: ... here.
41723         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41724         * sysdeps/pthread/timer_routines.c: ... here.
41725         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41726         * sysdeps/pthread/timer_settime.c: ... here.
41727         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41728         * sysdeps/pthread/tst-timer.c: ... here.
41729         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41730         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41732         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41733         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41735         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41736         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41737         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41738         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41739         Update #include target.
41740         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41741         * sysdeps/i386/i686/nptl/Makefile: ... here.
41742         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41743         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41744         Update #include target.
41745         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41746         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41747         * nptl/sysdeps/i386/Makefile: Moved ...
41748         * sysdeps/i386/nptl/Makefile: ... here.
41749         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41750         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41751         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41752         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41753         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41754         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41755         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41756         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41757         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41758         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41759         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41760         * nptl/sysdeps/i386/tls.h: Moved ...
41761         * sysdeps/i386/nptl/tls.h: ... here.
41763         * sysdeps/sh/Makefile [$(subdir) = csu]
41764         (gen-as-const-headers): Add tcb-offsets.sym.
41765         * nptl/sysdeps/sh/Makefile: File removed.
41766         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41767         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41768         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41769         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41770         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41771         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41772         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41773         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41774         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41775         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41776         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41777         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41778         * nptl/sysdeps/sh/tls.h: Moved ...
41779         * sysdeps/sh/nptl/tls.h: ... here.
41780         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41781         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41782         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41783         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41784         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41785         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41786         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41787         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41788         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41789         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41791         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41792         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41793         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41795         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41796         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41797         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41798         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41799         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41800         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41801         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41802         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41804         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41805         Moved ...
41806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41807         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41808         Moved ...
41809         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41810         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41811         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41812         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41813         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41814         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41815         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41816         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41817         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41818         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41819         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41820         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41821         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41822         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41823         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41824         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41825         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41826         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41827         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41829 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41831         * posix/spawn_faction_addopen.c: Include string.h.
41833 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41835         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41836         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41837         * nptl/sysdeps/x86_64/Makefile: Moved ...
41838         * sysdeps/x86_64/nptl/Makefile: ... here.
41839         * nptl/sysdeps/x86_64/configure: Moved ...
41840         * sysdeps/x86_64/nptl/configure: ... here.
41841         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41842         * sysdeps/x86_64/nptl/configure.ac: ... here.
41843         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41844         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41845         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41846         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41847         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41848         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41849         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41850         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41851         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41852         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41853         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41854         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41855         * nptl/sysdeps/x86_64/tls.h: Moved ...
41856         * sysdeps/x86_64/nptl/tls.h: ... here.
41857         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41858         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41859         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41860         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41862         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41864 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41868 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
41870         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41871         type.
41872         [POSIX] (off_t): Likewise.
41873         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
41874         [POSIX] (S_ISBLK): Require macro.
41875         [POSIX] (S_ISCHR): Likewise.
41876         [POSIX] (S_ISDIR): Likewise.
41877         [POSIX] (S_ISFIFO): Likewise.
41878         [POSIX] (S_ISREG): Likewise.
41879         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
41880         optional-macro.
41881         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
41882         type.
41883         [POSIX] (time_t): Likewise.
41884         [POSIX] (timer_t): Likewise.
41886 2014-06-11  Florian Weimer  <fweimer@redhat.com>
41888         [BZ #17048]
41889         * posix/spawn_int.h (struct __spawn_action): Make the path string
41890         non-const to support deallocation.
41891         * posix/spawn_faction_addopen.c
41892         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
41893         * posix/spawn_faction_destroy.c
41894         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
41895         path in all spawn_do_open actions.
41896         * posix/tst-spawn.c (do_test): Exercise the copy operation in
41897         posix_spawn_file_actions_addopen.
41899 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
41901         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
41902         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
41903         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
41904         conditional code always true.
41905         (__libc_vfork): New alias.
41907 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41909         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41910         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
41912         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
41914         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41915         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
41917         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41918         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
41920         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41921         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
41923 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41925         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
41926         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
41927         multiarch strcmp for PPC64.
41928         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
41929         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
41930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
41931         multiarch optimizations.
41932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41933         (__libc_ifunc_impl_list): Likewise.
41935 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41937         * benchtests/scripts/validate_benchout.py: New script.
41938         * benchtests/Makefile (bench-func): Call it.
41939         * benchtests/scripts/benchout.schema.json: New file.
41941 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
41943         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
41944         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
41945         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
41946         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
41947         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
41948         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
41949         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
41950         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
41951         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
41952         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
41953         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
41954         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
41955         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
41956         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
41957         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
41958         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
41959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
41960         Moved ...
41961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
41962         ... here.
41963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
41964         Moved ...
41965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
41966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
41967         Moved ...
41968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
41969         ... here.
41970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
41971         Moved ...
41972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
41973         ... here.
41974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
41975         Moved ...
41976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
41977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
41978         Moved ...
41979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
41980         ... here.
41981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
41982         Moved ...
41983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
41984         ... here.
41985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
41986         Moved ...
41987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
41988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
41989         Moved ...
41990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
41991         ... here.
41992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
41993         Moved ...
41994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
41995         ... here.
41996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
41997         Moved ...
41998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
41999         ... here.
42000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42001         Moved ...
42002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42004         Moved ...
42005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42006         ... here.
42007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42008         Moved ...
42009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42010         ... here.
42011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42012         Moved ...
42013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42014         ... here.
42015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42016         Moved ...
42017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42019         Moved ...
42020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42021         ... here.
42022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42023         Moved ...
42024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42025         ... here.
42026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42027         Moved ...
42028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42030         Moved ...
42031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42032         ... here.
42033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42034         Moved ...
42035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42037         Moved ...
42038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42040         Moved ...
42041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42042         ... here.
42043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42044         Moved ...
42045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42046         ... here.
42047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42048         Moved ...
42049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42050         ... here.
42051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42052         Moved ...
42053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42055         Moved ...
42056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42057         ... here.
42058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42059         Moved ...
42060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42061         ... here.
42062         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42063         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42065         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42067         Moved ...
42068         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42069         ... here.
42070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42071         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42073         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42074         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42075         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42076         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42077         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42078         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42079         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42081         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42083         Moved ...
42084         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42086         Moved ...
42087         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42088         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42089         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42091         Moved ...
42092         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42094         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42095         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42096         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42097         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42098         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42100 2014-06-10  Wilco  <wdijkstr@arm.com>
42102         * math/test-fenv-return.c: New file.
42103         * math/Makefile: Add new test test-fenv-return.
42105 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42107         [BZ #17042]
42108         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42109         when x - 1 is zero.
42110         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42111         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42112         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42113         0.0L for an argument of 1.0L.
42114         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42115         Likewise.
42116         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42117         value when x - 1 is zero.
42118         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42119         * sysdeps/i386/fpu/libm-test-ulps: Update.
42120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42122 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42124         [BZ #15119]
42125         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42127 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42129         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42130         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42132 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42134         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42135         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42137         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42138         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42140         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42141         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42143         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42144         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42146         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42147         if not already defined.
42148         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42149         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42150         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42151         (TLS_INIT_TP): Use it.
42152         (TLS_DEFINE_INIT_TP): New macro.
42153         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42155 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42157         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42158         constant.
42159         [POSIX] (IXANY): Likewise.
42160         [POSIX] (OLCUC): Likewise.
42161         [POSIX || POSIX2008] (CBAUD): Do not allow.
42162         [POSIX || POSIX2008] (DEFECHO): Likewise.
42163         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42164         [POSIX || POSIX2008] (ECHOKE): Likewise.
42165         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42166         [POSIX || POSIX2008] (EXTA): Likewise.
42167         [POSIX || POSIX2008] (EXTB): Likewise.
42168         [POSIX || POSIX2008] (FLUSHO): Likewise.
42169         [POSIX || POSIX2008] (LOBLK): Likewise.
42170         [POSIX || POSIX2008] (PENDIN): Likewise.
42171         [POSIX || POSIX2008] (SWTCH): Likewise.
42172         [POSIX || POSIX2008] (VDISCARD): Likewise.
42173         [POSIX || POSIX2008] (VDSUSP): Likewise.
42174         [POSIX || POSIX2008] (VLNEXT): Likewise.
42175         [POSIX || POSIX2008] (VREPRINT): Likewise.
42176         [POSIX || POSIX2008] (VSTATUS): Likewise.
42177         [POSIX || POSIX2008] (VWERASE): Likewise.
42178         (B*): Change to B[0123456789]*.
42179         * conform/data/time.h-data [POSIX || UNIX98]
42180         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42181         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42182         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42183         [POSIX] (tm_*): Do not allow.
42185 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
42187         * Makefile (install): Don't set LANGUAGE.
42188         * Makefile.in (install): Likewise.
42189         * assert/Makefile (test-assert-ENV): Remove variable.
42190         (test-assert-perr-ENV): Likewise.
42191         * elf/Makefile (neededtest4-ENV): Likewise.
42192         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42193         [$(cross-compiling) = no]: Don't set LANGUAGE.
42194         * io/ftwtest-sh (LANG): Remove variable.
42195         * libio/Makefile (tst-widetext-ENV): Likewise.
42196         * manual/install.texi (Running make install): Don't refer to
42197         environment settings for make install.
42198         * INSTALL: Regenerated.
42199         * nptl/tst-tls6.sh: Don't set LANG.
42200         * posix/globtest.sh (LANG): Remove variable.
42201         * string/Makefile (tester-ENV): Likewise.
42202         (inl-tester-ENV): Likewise.
42203         (noinl-tester-ENV): Likewise.
42204         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42205         [$(cross-compiling) = no]: Don't set LANGUAGE.
42206         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
42207         without explicit environment settings.
42209 2014-06-06  Roland McGrath  <roland@hack.frob.com>
42211         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
42212         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
42213         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
42214         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
42216 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
42218         * crypt/crypt-private.h [DOS]: Add some includes taken from the
42219         other files in the crypt directory.
42220         * crypt/crypt.c: Remove duplicate includes.
42221         * crypt/crypt-entry.c: Likewise.
42222         * crypt/crypt_util.c: Likewise.
42224 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
42226         * Makeconfig (run-program-env): New variable.
42227         (run-program-prefix-before-env): Likewise.
42228         (run-program-prefix-after-env): Likewise.
42229         (run-program-prefix): Define in terms of new variables.
42230         (built-program-cmd-before-env): New variable.
42231         (built-program-cmd-after-env): Likewise.
42232         (built-program-cmd): Define in terms of new variables.
42233         (test-program-prefix-before-env): New variable.
42234         (test-program-prefix-after-env): Likewise.
42235         (test-program-prefix): Define in terms of new variables.
42236         (test-program-cmd-before-env): New variable.
42237         (test-program-cmd-after-env): Likewise.
42238         (test-program-cmd): Define in terms of new variables.
42239         * Rules (make-test-out): Use $(run-program-env).
42240         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
42241         (help): Do not mention environment variables.  Mention
42242         --timeoutfactor option.
42243         (timeoutfactor): New variable.
42244         (blacklist_exports): Remove function.
42245         (exports): Remove variable.
42246         (command): Do not include ${exports}.
42247         * manual/install.texi (Configuring and compiling): Do not mention
42248         test wrappers preserving environment variables.  Mention that last
42249         assignment to a variable must take precedence.
42250         * INSTALL: Regenerated.
42251         * benchtests/Makefile (run-bench): Use $(run-program-env).
42252         * catgets/Makefile ($(objpfx)test1.cat): Use
42253         $(built-program-cmd-before-env), $(run-program-env) and
42254         $(built-program-cmd-after-env).
42255         ($(objpfx)test2.cat): Do not specify environment variables
42256         explicitly.
42257         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
42258         $(run-program-env) and $(built-program-cmd-after-env).
42259         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
42260         $(run-program-env) and $(test-program-cmd-after-env).
42261         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42262         explicitly.
42263         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42264         run_program_env and test_program_cmd_after_env arguments.
42265         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42266         * elf/tst-pathopt.sh: Use run_program_env argument.
42267         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42268         $(test-wrapper-env) and $(run-program-env).
42269         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42270         run_program_env arguments.
42271         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42272         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42273         $(test-program-prefix-before-env), $(run-program-env) and
42274         $(test-program-prefix-after-env).
42275         ($(objpfx)tst-gettext2.out): Likewise.
42276         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42277         run_program_env and test_program_prefix_after_env arguments.
42278         * intl/tst-gettext2.sh: Likewise.
42279         * intl/tst-gettext4.sh: Do not set environment variables
42280         explicitly.
42281         * intl/tst-gettext6.sh: Likewise.
42282         * intl/tst-translit.sh: Likewise.
42283         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42284         $(test-program-prefix-before-env), $(run-program-env) and
42285         $(test-program-prefix-after-env).
42286         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42287         run_program_env and test_program_prefix_after_env arguments.
42288         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42289         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42290         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42291         explicitly with each use of ${test_wrapper_env}.
42292         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42293         $(test-program-prefix-before-env), $(run-program-env) and
42294         $(test-program-prefix-after-env).
42295         * posix/tst-getconf.sh: Do not set environment variables
42296         explicitly.
42297         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42298         run_program_env and test_program_prefix_after_env arguments.
42299         * stdio-common/tst-printf.sh: Do not set environment variables
42300         explicitly.
42301         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42302         $(test-program-prefix-before-env), $(run-program-env) and
42303         $(test-program-prefix-after-env).
42304         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42305         run_program_env and test_program_prefix_after_env arguments.
42306         Split $test calls into $test_pre and $test.
42307         * timezone/Makefile (build-testdata): Use
42308         $(built-program-cmd-before-env), $(run-program-env) and
42309         $(built-program-cmd-after-env).
42311 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42313         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42314         strlen for non SHARED builds.
42316 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42318         * nptl/allocatestack.c (check_list): Inlined function...
42319         (__reclaim_stacks): ... here.
42321 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42323         [BZ #15698]
42324         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42325         memory overrun.
42327 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42329         * Rules (make-test-out): Include
42330         LOCPATH=$(common-objpfx)localedata in default environment.
42331         * debug/Makefile (tst-chk1-ENV): Remove variable.
42332         (tst-chk2-ENV): Likewise.
42333         (tst-chk3-ENV): Likewise.
42334         (tst-chk4-ENV): Likewise.
42335         (tst-chk5-ENV): Likewise.
42336         (tst-chk6-ENV): Likewise.
42337         (tst-lfschk1-ENV): Likewise.
42338         (tst-lfschk2-ENV): Likewise.
42339         (tst-lfschk3-ENV): Likewise.
42340         (tst-lfschk4-ENV): Likewise.
42341         (tst-lfschk5-ENV): Likewise.
42342         (tst-lfschk6-ENV): Likewise.
42343         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42344         (tst-iconv7-ENV): Likewise.
42345         * intl/Makefile (LOCPATH-ENV): Likewise.
42346         (tst-codeset-ENV): Likewise.
42347         (tst-gettext3-ENV): Likewise.
42348         (tst-gettext5-ENV): Likewise.
42349         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42350         (tst-fopenloc-ENV): Likewise.
42351         (tst-fgetws-ENV): Remove variable.
42352         (tst-ungetwc1-ENV): Likewise.
42353         (tst-ungetwc2-ENV): Likewise.
42354         (bug-ungetwc2-ENV): Likewise.
42355         (tst-swscanf-ENV): Likewise.
42356         (bug-ftell-ENV): Likewise.
42357         (tst-fgetwc-ENV): Likewise.
42358         (tst-fseek-ENV): Likewise.
42359         (tst-ftell-partial-wide-ENV): Likewise.
42360         (tst-ftell-active-handler-ENV): Likewise.
42361         (tst-ftell-append-ENV): Likewise.
42362         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42363         (tst-regexloc-ENV): Likewise.
42364         (bug-regex1-ENV): Likewise.
42365         (tst-regex-ENV): Likewise.
42366         (tst-regex2-ENV): Likewise.
42367         (bug-regex5-ENV): Likewise.
42368         (bug-regex6-ENV): Likewise.
42369         (bug-regex17-ENV): Likewise.
42370         (bug-regex18-ENV): Likewise.
42371         (bug-regex19-ENV): Likewise.
42372         (bug-regex20-ENV): Likewise.
42373         (bug-regex22-ENV): Likewise.
42374         (bug-regex23-ENV): Likewise.
42375         (bug-regex25-ENV): Likewise.
42376         (bug-regex26-ENV): Likewise.
42377         (bug-regex30-ENV): Likewise.
42378         (bug-regex32-ENV): Likewise.
42379         (bug-regex33-ENV): Likewise.
42380         (bug-regex34-ENV): Likewise.
42381         (bug-regex35-ENV): Likewise.
42382         (tst-rxspencer-ENV): Likewise.
42383         (tst-rxspencer-no-utf8-ENV): Likewise.
42384         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42385         (tst-sscanf-ENV): Likewise.
42386         (tst-swprintf-ENV): Likewise.
42387         (tst-swscanf-ENV): Likewise.
42388         (test-vfprintf-ENV): Likewise.
42389         (scanf13-ENV): Likewise.
42390         (bug14-ENV): Likewise.
42391         (tst-grouping-ENV): Likewise.
42392         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42393         (tst-strtod3-ENV): Likewise.
42394         (tst-strtod4-ENV): Likewise.
42395         (tst-strtod5-ENV): Likewise.
42396         (testmb2-ENV): Likewise./
42397         * string/Makefile (tst-strxfrm-ENV): Likewise.
42398         (tst-strxfrm2-ENV): Likewise.
42399         (bug-strcoll1-ENV): Likewise.
42400         (test-strcasecmp-ENV): Likewise.
42401         (test-strncasecmp-ENV): Likewise.
42402         * time/Makefile (tst-strptime-ENV): Likewise.
42403         (tst-ftime_l-ENV): Likewise.
42404         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42405         (tst-mbrtowc-ENV): Likewise.
42406         (tst-wcrtomb-ENV): Likewise.
42407         (tst-mbrtowc2-ENV): Likewise.
42408         (tst-c16c32-1-ENV): Likewise.
42409         (tst-mbsnrtowcs-ENV): Likewise.
42411 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42413         * manual/resource.texi (How to get information about the memory
42414         subsystem?): Fix typo.
42415         Reported by Peon de la Parra Ivan <peon@keba.com>
42417 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42419         [BZ #16882]
42420         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42421         (pthread_spin_lock): Branch out of spin loop to proper location.
42422         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42423         (pthread_spin_lock): Likewise.
42425         * nptl/tst-spin4.c: New test.
42426         * nptl/Makefile (tests): Add tst-spin4.
42428 2014-06-03  Andreas Schwab  <schwab@suse.de>
42430         [BZ #15946]
42431         * resolv/res_send.c (send_dg): Reload file descriptor after
42432         calling reopen.
42434 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42436         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42438 2014-06-03  Richard Henderson  <rth@redhat.com>
42440         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42441         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42442         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42443         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42444         in the SAVE_PID block.
42445         (__libc_vfork): New alias.
42446         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42448         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42449         child in registers, not on the stack.  Remove RESET_PID conditionals.
42450         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42452 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42454         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42456 2014-06-03  Wilco  <wdijkstr@arm.com>
42458         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42459         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42460         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42461         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42462         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42463         Likewise.
42465 2014-06-03  Wilco  <wdijkstr@arm.com>
42467         * sysdeps/aarch64/fpu/math_private.h
42468         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42469         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42470         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42471         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42472         Fix declarations.
42474 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42476         * crypt/crypt-private.h: Include ufc-crypt.h.
42477         (__b64_from_24bit): Declare extern.
42478         * crypt/crypt_util.c(__b64_from_24bit): New function.
42479         (b64t): New static const variable.
42480         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42481         (b64t): Remove variable.
42482         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42483         * crypt/sha256-crypt.c: Include crypt-private.h.
42484         (b64t): Remove variable.
42485         (__sha256_crypt_r): Remove b64_from_24bit and replace
42486         with __b64_from_24bit.
42487         * crypt/sha512-crypt.c: Likewise.
42489 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42491         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42492         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42493         Label the code __libc_vfork rather than __vfork.
42494         [!NOT_IN_libc] (vfork): Define as weak alias.
42495         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42496         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42497         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42499 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42501         * malloc/malloc.c (malloc_info): Fix format specifier for
42502         n_mmaps.
42504 2014-06-02  Wilco  <wdijkstr@arm.com>
42506         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42507         FPCR write.
42509 2014-06-02  Wilco  <wdijkstr@arm.com>
42511         [BZ #17009]
42512         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42513         Rewrite to reduce FPCR/FPSR accesses.
42515 2014-06-01  David S. Miller  <davem@davemloft.net>
42517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42519 2014-05-31  David S. Miller  <davem@davemloft.net>
42521         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42522         to occur in round to nearest mode when |x| >= 2.0
42524 2014-05-30  Richard Henderson  <rth@twiddle.net>
42526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42527         (PSEUDO_RET_NOERRNO): Remove.
42528         (ret): Don't redefine.
42529         (ret_NOERRNO): Define in terms of ret.
42530         (ret_ERRVAL): Likewise.
42532         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42533         use of PSEUDO_RET; perform the error check directly.
42535 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42537         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42538         with __int128_t.
42540 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42542         * malloc/malloc (malloc_info): Fix formatting.
42544 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42545             Roland McGrath  <roland@hack.frob.com>
42547         * malloc/malloc (malloc_info): Also print mmapped statistics.
42549 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42551         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42552         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42554 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42556         * malloc/malloc.c (malloc_info): Inline mi_arena.
42558 2014-05-29  Richard Henderson  <rth@twiddle.net>
42560         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42561         Remove comma before expanding ASM_ARGS_##nr.
42562         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42563         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42564         of ASM_ARGS_##nr.
42565         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42566         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42567         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42568         (ASM_ARGS_1): Add leading comma.
42570         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42571         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42572         to __errno_location.
42573         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42574         Remove the expected plt for __errno_location.
42576         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42577         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42578         call to __read_tp.
42580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42581         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42582         it and break it down.
42583         (DOCARGS_0, DOCARGS_1): Do nothing.
42584         (DOCARGS_2): Update to store into the new stack frame.
42585         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42586         (UNDOCARGS_1): Update to restore from the new stack frame.
42587         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42588         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42590         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42591         (SINGLE_THREAD_P): New parameter for result regno.
42592         (PSEUDO): Update to match; use cbz instead of beq.
42594         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42595         Use ENTRY to define the _nocancel entry point.  Share the syscall
42596         and syscall error check paths with the cancel path.
42597         (PSEUDO_END): New.
42599         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42600         whitespace; tabs before and after asm mnemonics.
42602 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42604         [BZ #15132]
42605         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42606         Call fstat64 or stat64 internally, depending on arguments passed.
42607         Replace stat buffer argument with file descriptor argument.
42608         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42609         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42610         Pass fd to __internal_statvfs instead of calling fstat64.
42611         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42612         Pass fd to __internal_statvfs64 instead of calling fstat64.
42613         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42614         Pass -1 to __internal_statvfs instead of calling stat64.
42615         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42616         Pass -1 to __internal_statvfs64 instead of calling stat64.
42618 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42620         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42621         that was previously under [RESET_PID].
42622         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42624         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42625         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42627 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42629         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42631         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42632         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42634 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42636         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42638 2014-05-27  Andreas Schwab  <schwab@suse.de>
42640         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42641         TLS_INIT_TP macro.
42642         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42643         * elf/rtld.c (init_tls, dl_main): Likewise.
42644         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42645         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42646         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42647         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42648         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42649         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42650         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42651         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42652         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42653         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42654         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42655         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42656         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42657         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42658         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42659         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42660         * sysdeps/generic/tls.h: Update description.
42662 2014-05-27  Will Newton  <will.newton@linaro.org>
42664         [BZ #16990]
42665         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42666         and restore r2 rather than just restoring.
42668 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42670         [BZ #16724]
42671         * libio/tst-ftell-append.c: New test case.
42672         * libio/Makefile (tests): Add test case.
42673         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42674         append mode.
42675         * libio/wfileops.c (do_ftell_wide): Likewise.
42677 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42681         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42682         ...
42683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42685         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42686         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42687         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42688         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42689         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42692         Moved ...
42693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42695         Moved ...
42696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42697         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42698         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42699         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42700         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42701         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42702         ...
42703         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42704         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42705         Moved ...
42706         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42707         here.
42708         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42709         ...
42710         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42711         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42712         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42714         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42715         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42716         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42717         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42720         merge into ...
42721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42723         ...
42724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42725         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42726         ...
42727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42728         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42729         Moved ...
42730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42731         here.
42732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42733         Moved ...
42734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42736         Moved ...
42737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42740         conditional [RESET_PID].
42741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42743         removed.
42744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42745         removed.
42747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42748         <tcb-offsets.h>.
42749         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42750         (__libc_vfork): New strong alias.
42751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42752         removed.
42753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42754         Removed.
42756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42757         <tcb-offsets.h>.
42758         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42759         (__libc_vfork): New strong alias.
42760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42761         removed.
42762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42763         removed.
42765 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42767         * malloc/malloc.c (mi_arena): New function.
42768         (malloc_info): Remove nested function mi_arena. Call non-nosted
42769         function mi_arena.
42771 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42773         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42774         by insrwi.
42775         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42776         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42777         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42778         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42779         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42780         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42781         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42783 2014-05-26  Andreas Schwab  <schwab@suse.de>
42785         [BZ #16984]
42786         * locale/programs/repertoire.c (repertoire_read): Add slash
42787         between I18NPATH element and file name.
42788         * locale/programs/locfile.c (locfile_read): Likewise.
42790 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42792         * nptl/pthread_mutexattr_settype.c
42793         (__pthread_mutexattr_settype):
42794         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42796 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42798         * nptl/tst-mutex5 (do_test):
42799         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42801 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42803         * benchtests/README: Document 'init' directive.
42804         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42805         BENCH_INIT.
42806         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42807         (parse_file): Recognize 'init' directive.
42809 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42811         [BZ #16796]
42812         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42813         alignment of struct pthread.
42815 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42817         [BZ #16878]
42818         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42819         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42820         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42821         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42823 2014-05-25  Richard Henderson  <rth@twiddle.net>
42825         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42826         (SINGLE_THREAD_P_PIC): Remove.
42827         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42828         (SINGLE_THREAD_P_PIC): Remove.
42830         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42831         branch to syscall error ...
42832         (PSEUDO): ... here.
42833         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42834         from __local_syscall_error to .Lsyscall_error.
42835         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42836         (SYSCALL_ERROR): Update label name.
42838         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42839         Do not use DOARGS/UNDOARGS.
42840         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42841         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42842         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42843         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42844         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42846         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42847         block comment.
42849         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42850         define if !NOT_IN_libc.
42851         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42852         define with non-default symbol versions.
42854 2014-05-23  Richard Henderson  <rth@twiddle.net>
42856         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42857         (vfork, __vfork): Define via compat_symbol.
42859         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42860         [!HAVE_IFUNC] (vfork_compat): Remove.
42861         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42863 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42865         [BZ #16978]
42866         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42867         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42868         variable.
42870 2014-05-23  Richard Henderson  <rth@twiddle.net>
42872         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
42873         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
42874         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
42875         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
42877         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
42878         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
42879         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
42880         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
42881         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
42882         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
42883         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
42884         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42885         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
42886         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
42887         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42888         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
42889         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
42890         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
42891         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
42892         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
42893         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
42894         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
42895         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
42896         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
42897         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42898         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
42899         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
42900         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
42901         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
42902         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
42903         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
42904         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
42905         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
42906         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
42907         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
42908         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
42909         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
42910         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
42911         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
42912         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
42913         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
42914         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
42915         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
42916         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
42917         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
42918         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
42919         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
42920         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
42921         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
42922         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
42923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
42924         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
42925         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
42926         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
42927         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
42928         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
42929         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
42930         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
42931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
42932         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
42934         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
42935         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
42936         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
42937         before exiting on error.
42938         (__libc_vfork): New strong alias.
42939         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
42940         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
42942         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
42943         that was previously under [RESET_PID].
42944         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
42946         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
42948 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42950         [BZ #16977]
42951         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
42952         value when x - 1 is zero.
42953         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
42954         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
42955         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
42956         0.0L for an argument of 1.0L.
42957         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
42958         Likewise.
42959         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
42960         value when x - 1 is zero.
42961         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
42962         * sysdeps/i386/fpu/libm-test-ulps: Update.
42963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42965 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42967         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
42968         alphasort and versionsort.
42970 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42972         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
42973         macro.
42974         [copysignf]: Likewise.
42976 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42978         * crypt/md5-crypt.c: Fix formatting.
42980 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42982         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
42983         (b64_from_24bit): New function.
42985 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
42988         libc_hidden_builtin_def to ifunc.
42989         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42990         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
42992 2014-05-21  Roland McGrath  <roland@hack.frob.com>
42994         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
42995         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
42997 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
42999         * nscd/Depend (linuxthreads): Remove.
43000         (nptl): Add.
43001         * resolv/Depend (linuxthreads): Remove.
43002         * rt/Depend (linuxthreads): Remove.
43004         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43005         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43006         $(common-objpfx)elf/.
43007         (link-libc-before-gnulib): Likewise.
43008         (elfobjdir): Remove variable.
43009         * Makefile (install): Use $(elf-objpfx) instead of
43010         $(common-objpfx)elf/.
43011         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43012         $(elfobjdir)/.
43013         (link-libc-deps): Likewise.
43014         ($(common-objpfx)libc.so): Likewise.
43015         ($(common-objpfx)linkobj/libc.so): Likewise.
43016         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43017         instead of $(common-objpfx)elf/.
43018         (symbolic-link-list): Likewise.
43019         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43020         [$(cross-compiling) = no]: Likewise.
43021         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43022         $(elfobjdir)/.
43023         (static-gnulib-arch): Likewise.
43024         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43025         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43026         $(common-objpfx)elf/.
43028 2014-05-21  Richard Henderson  <rth@redhat.com>
43030         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43031         (SINGLE_THREAD_P): Use the correct width load.  Fold
43032         into the ldr offset.
43034         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43035         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43037 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43039         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43040         (libgcc_s_resume): Use __attribute_used__.
43041         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43042         Likewise.
43044 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43046         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43047         optimization when used with float constants.
43049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43051 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43053         [BZ #16915]
43054         * locale/nl_langinfo_l.c: Make direct reference to every
43055         _nl_current_CATEGORY symbol.
43056         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43057         (tests-static): Add tst-langinfo-static.
43058         (tests-special): Add tst-langinfo-static.out.
43059         ($(objpfx)tst-langinfo.out): Redirect output.
43060         ($(objpfx)tst-langinfo-static.out): New.
43061         * localedata/tst-langinfo.sh: Send output to stdout.
43062         * localedata/tst-langinfo-static.c: New file.
43064         [BZ #16965]
43065         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43066         when the shift amount is modulo the limb size.
43068 2014-05-20  Richard Henderson  <rth@redhat.com>
43070         [BZ #16967]
43071         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43072         Change type of sa_flags from unsigned int to int.
43074         [BZ #16966]
43075         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43077         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43079 2014-05-20  Will Newton  <will.newton@linaro.org>
43081         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43082         Test the return value of the system call in the nocancel case.
43084 2014-05-20  Will Newton  <will.newton@linaro.org>
43085             Yvan Roux  <yvan.roux@linaro.org>
43087         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43088         #include of asm/ptrace.h.
43089         (PTRACE_GET_THREAD_AREA): Remove #undef.
43090         (PTRACE_GETHBPREGS): Likewise.
43091         (PTRACE_SETHBPREGS): Likewise.
43092         (struct user_regs_struct): New structure.
43093         (struct user_fpsimd_struct): New structure.
43094         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43095         #include of asm/ptrace.h and second #include of sys/user.h.
43096         (PTRACE_GET_THREAD_AREA): Remove #undef.
43097         (PTRACE_GETHBPREGS): Likewise.
43098         (PTRACE_SETHBPREGS): Likewise.
43099         (ELF_NGREG): Use new struct user_regs_struct.
43100         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43102 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43105         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43107 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43109         [BZ #16958]
43110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43111         membar to avoid block loads/stores to overlap previous stores.
43113 2014-05-17  Richard Henderson  <rth@redhat.com>
43115         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43116         Create the __##syscall_name##_nocancel entry point.
43117         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43118         Remove; let the sysdep-cancel.h code create it.
43120 2014-05-17  David S. Miller  <davem@davemloft.net>
43122         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43123         Protect with __USE_GNU.
43124         (TIOCSET_TEMPT): Likewise.
43125         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43126         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43127         these are already provided in bits/ioctl-types.h
43129 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43131         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43132         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43134         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43135         Use wait4 regardless of [__NR_waitpid].
43137 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43139         PR libgcc/60166
43140         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43141         (_FP_NANSIGN_Q): Set the quiet bit.
43143 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43145         * benchtests/Makefile
43146         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43147         not $(common-objpfx)math/libm.so.
43148         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43149         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43150         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43151         $(common-objpfx)dlfcn/libdl.so.
43152         ($(objpfx)tst-audit8): Depend on $(libm), not
43153         $(common-objpfx)math/libm.so.
43154         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43155         not $(common-objpfx)dlfcn/libdl.so.
43156         * math/Makefile
43157         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43158         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43159         [$(build-shared) = yes].
43160         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43161         $(common-objpfx)nptl/libpthread.so.
43162         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43163         $(common-objpfx)math/libm.so$(libm.so-version) or
43164         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43165         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43166         $(common-objpfx)dlfcn/libdl.so.
43167         * setjmp/Makefile (link-libm): Remove variable.
43168         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43169         * stdio-common/Makefile (link-libm): Remove variable.
43170         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43171         * stdlib/Makefile (link-libm): Remove variable.
43172         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43173         ($(objpfx)tst-strtod-round): Likewise.
43174         ($(objpfx)tst-tininess): Likewise.
43175         ($(objpfx)tst-strtod-underflow): Likewise.
43176         ($(objpfx)tst-strtod6): Likewise.
43177         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43178         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43179         $(common-objpfx)dlfcn/libdl.so.
43181 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43183         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
43184         BSD terminal modes definitions.
43186 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43188         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
43189         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
43191         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
43192         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
43193         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
43194         Don't do #include_next.
43195         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
43196         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
43197         Don't do #include_next.
43198         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
43199         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
43200         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
43201         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
43203 2014-05-16  Allan McRae  <allan@archlinux.org>
43205         * po/sv.po: Update Swedish translation from translation project.
43207         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
43208         in sed expression.
43210 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
43212         [BZ #16917]
43213         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
43214         errno if the TIOCGPTN ioctl fails with an error different than
43215         EINVAL.
43216         * login/tst-ptsname.c: New file.
43217         * login/Makefile (tests): Add tst-ptsname.
43219         [BZ #16943]
43220         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
43221         and prlimit64.
43223 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43225         [BZ #16849]
43226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
43227         herrno to return EAI_AGAIN.
43229 2014-05-14  Roland McGrath  <roland@hack.frob.com>
43231         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43232         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
43233         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
43234         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
43235         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
43236         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
43237         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
43238         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
43239         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
43240         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
43241         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
43242         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
43243         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
43244         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
43245         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
43246         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43247         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
43248         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
43249         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
43250         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
43251         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
43252         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
43253         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
43254         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
43255         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
43256         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
43257         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
43258         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
43259         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
43260         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43262         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43264         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43266         Moved ...
43267         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43269         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43271         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43273         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43275         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43277         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43279         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43281         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43283         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43285         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43287         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43289         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43291         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43293         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43295         Moved ...
43296         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43298         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43300         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43302         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43304         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43306         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43308         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43310         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43312         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43314         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43316         Moved ...
43317         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43319         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43321         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43322         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43323         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43324         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43325         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43326         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43327         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43328         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43329         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43330         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43331         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43332         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43333         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43334         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43335         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43336         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43337         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43338         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43339         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43340         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43341         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43342         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43343         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43344         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43345         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43346         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43347         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43348         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43349         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43350         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43351         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43353         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43354         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43356         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43357         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43358         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43359         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43360         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43362         Moved ...
43363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43364         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43365         Moved ...
43366         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43367         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43368         Moved ...
43369         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43370         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43371         Moved ...
43372         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43373         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43374         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43375         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43376         Moved ...
43377         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43378         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43379         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43380         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43381         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43382         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43383         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43385         Moved ...
43386         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43387         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43388         Moved ...
43389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43390         ... here.
43391         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43392         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43393         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43394         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43396         Moved ...
43397         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43398         ... here.
43399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43400         Moved ...
43401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43402         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43403         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43404         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43405         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43407         Moved ...
43408         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43409         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43410         Moved ...
43411         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43412         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43413         Moved ...
43414         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43415         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43416         Moved ...
43417         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43418         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43419         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43420         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43421         Moved ...
43422         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43423         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43424         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43425         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43426         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43427         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43428         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43430         Moved ...
43431         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43432         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43433         Moved ...
43434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43435         ... here.
43436         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43437         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43438         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43439         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43441         Moved ...
43442         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43443         ... here.
43444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43445         Moved ...
43446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43447         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43448         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43449         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43450         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43451         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43452         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43453         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43454         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43455         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43456         Moved ...
43457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43459         Moved ...
43460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43462         Moved ...
43463         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43464         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43465         Moved ...
43466         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43467         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43468         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43469         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43470         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43471         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43472         Moved ...
43473         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43474         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43475         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43476         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43477         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43478         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43479         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43481         Moved ...
43482         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43484         Moved ...
43485         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43486         ... here.
43487         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43488         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43489         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43490         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43491         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43492         Moved ...
43493         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43494         ... here.
43495         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43496         Moved ...
43497         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43498         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43499         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43500         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43501         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43502         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43503         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43504         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43505         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43506         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43507         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43509         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43510         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43512         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43513         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43515         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43516         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43517         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43518         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43519         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43520         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43521         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43522         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43523         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43524         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43525         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43526         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43527         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43528         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43529         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43531         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43533         Moved ...
43534         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43535         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43536         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43538         Moved ...
43539         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43540         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43541         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43542         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43543         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43544         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43545         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43546         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43547         Moved ...
43548         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43549         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43550         Moved ...
43551         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43553         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43554         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43557         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43558         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43559         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43560         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43561         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43562         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43563         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43564         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43565         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43566         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43567         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43569         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43570         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43571         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43572         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43573         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43575         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43576         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43577         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43578         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43579         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43580         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43581         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43582         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43583         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43584         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43589         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43590         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43591         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43592         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43593         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43594         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43595         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43596         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43597         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43598         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43599         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43600         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43601         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43602         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43604         Update #include.
43605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43606         Likewise.
43607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43608         Likewise.
43609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43610         Likewise.
43611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43612         Likewise.
43613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43614         Likewise.
43615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43616         Likewise.
43617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43618         Likewise.
43619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43620         Likewise.
43621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43622         Likewise.
43623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43628         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43629         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43630         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43631         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43632         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43634         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43635         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43636         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43637         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43639         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43640         that was previously under [RESET_PID].
43641         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43642         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43643         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43645         * sysdeps/i386/nptl/Implies: New file.
43646         * sysdeps/x86_64/nptl/Implies: New file.
43647         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43648         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43649         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43650         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43652         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43653         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43654         (__libc_vfork): New strong alias.
43655         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43656         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43658         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43659         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43660         (__libc_vfork): New strong alias.
43661         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43662         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43664         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43665         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43666         (__libc_vfork): New strong alias.
43667         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43668         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43669         * nptl/pt-vfork.c: New file.
43670         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43671         (libpthread: GLIBC_2.20): New version set (empty).
43673 2014-05-14  Will Newton  <will.newton@linaro.org>
43675         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43676         rather than #if.
43678 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43680         [BZ #16564]
43681         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43682         arguments with exponent 65 or above.
43683         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43684         arguments 0x1p113L or above.
43685         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43686         to arguments 0x1p107L or above.
43687         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43688         positive arguments with exponent 65 or above.
43689         * math/auto-libm-test-in: Add more tests of log1p.
43690         * math/auto-libm-test-out: Regenerated.
43692         [BZ #16928]
43693         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43694         non-finite arguments is +0.
43695         * math/s_cacosf.c (__cacosf): Likewise.
43696         * math/s_cacosl.c (__cacosl): Likewise.
43697         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43698         * sysdeps/i386/fpu/libm-test-ulps: Update.
43699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43701         [BZ #16927]
43702         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43703         value.
43704         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43705         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43706         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43707         for explicit high bit of mantissa when testing for argument equal
43708         to 1.
43709         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43710         * sysdeps/i386/fpu/libm-test-ulps: Update.
43711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43713         [BZ #16516]
43714         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43715         (__erf): Scale by 16 instead of 8 in potentially underflowing
43716         case.  Ensure exception if result actually underflows.
43717         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43718         (__erff): Scale by 16 instead of 8 in potentially underflowing
43719         case.  Ensure exception if result actually underflows.
43720         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43721         (efx8): Remove variable.
43722         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43723         case.  Ensure exception if result actually underflows.
43724         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43725         (efx8): Remove variable.
43726         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43727         case.  Ensure exception if result actually underflows.
43728         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43729         (efx8): Remove variable.
43730         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43731         case.  Ensure exception if result actually underflows.
43732         * math/auto-libm-test-in: Add more tests of erf.
43733         * math/auto-libm-test-out: Regenerated.
43735 2014-05-14  Andreas Schwab  <schwab@suse.de>
43737         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43738         Remove code conditionalized on USE___THREAD.
43740         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43741         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43742         not definedness.
43744 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43746         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43747         Define unconditionally.
43748         (__ASSUME_O_CLOEXEC): Likewise.
43749         (__ASSUME_SOCK_CLOEXEC): Likewise.
43750         (__ASSUME_IN_NONBLOCK): Likewise.
43751         (__ASSUME_PIPE2): Likewise.
43752         (__ASSUME_EVENTFD2): Likewise.
43753         (__ASSUME_SIGNALFD4): Likewise.
43754         (__ASSUME_DUP3): Likewise.
43755         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43756         (__ASSUME_DUP3): Do not define.
43757         (__ASSUME_EVENTFD2): Likewise.
43758         (__ASSUME_IN_NONBLOCK): Likewise.
43759         (__ASSUME_O_CLOEXEC): Likewise.
43760         (__ASSUME_PIPE2): Likewise.
43761         (__ASSUME_SIGNALFD4): Likewise.
43762         (__ASSUME_SOCK_CLOEXEC): Likewise.
43763         (__ASSUME_UTIMES): Undefine.
43764         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43765         (__ASSUME_UTIMES): Do not define.
43766         (__ASSUME_O_CLOEXEC): Likewise.
43767         (__ASSUME_SOCK_CLOEXEC): Likewise.
43768         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43769         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43770         0x020621].
43771         (__ASSUME_PIPE2): Likewise.
43772         (__ASSUME_EVENTFD2): Likewise.
43773         (__ASSUME_SIGNALFD4): Likewise.
43774         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43775         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43776         Do not define.
43777         (__ASSUME_EVENTFD2): Likewise.
43778         (__ASSUME_SIGNALFD4): Likewise.
43779         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43780         (__ASSUME_32BITUIDS): Likewise.
43781         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43782         (__ASSUME_IPC64): Likewise.
43783         (__ASSUME_ST_INO_64_BIT): Likewise.
43784         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43785         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43786         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43787         (__ASSUME_UTIMES): Do not define.
43788         (__ASSUME_PSELECT): Likewise.
43789         (__ASSUME_PPOLL): Likewise.
43790         (__ASSUME_O_CLOEXEC): Likewise.
43791         (__ASSUME_SOCK_CLOEXEC): Likewise.
43792         (__ASSUME_IN_NONBLOCK): Likewise.
43793         (__ASSUME_PIPE2): Likewise.
43794         (__ASSUME_EVENTFD2): Likewise.
43795         (__ASSUME_SIGNALFD4): Likewise.
43796         (__ASSUME_DUP3): Likewise.
43797         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43798         (__ASSUME_UTIMES): Likewise.
43799         (__ASSUME_O_CLOEXEC): Likewise.
43800         (__ASSUME_SOCK_CLOEXEC): Likewise.
43801         (__ASSUME_IN_NONBLOCK): Likewise.
43802         (__ASSUME_PIPE2): Likewise.
43803         (__ASSUME_EVENTFD2): Likewise.
43804         (__ASSUME_SIGNALFD4): Likewise.
43805         (__ASSUME_DUP3): Likewise.
43806         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43807         (__ASSUME_UTIMES): Likewise.
43808         (__ASSUME_O_CLOEXEC): Likewise.
43809         (__ASSUME_SOCK_CLOEXEC): Likewise.
43810         (__ASSUME_IN_NONBLOCK): Likewise.
43811         (__ASSUME_PIPE2): Likewise.
43812         (__ASSUME_EVENTFD2): Likewise.
43813         (__ASSUME_SIGNALFD4): Likewise.
43814         (__ASSUME_DUP3): Likewise.
43815         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43816         Likewise.
43817         (__ASSUME_UTIMES): Likewise.
43818         (__ASSUME_EVENTFD2): Likewise.
43819         (__ASSUME_SIGNALFD4): Likewise.
43820         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43821         (__ASSUME_O_CLOEXEC): Likewise.
43822         (__ASSUME_SOCK_CLOEXEC): Likewise.
43823         (__ASSUME_IN_NONBLOCK): Likewise.
43824         (__ASSUME_PIPE2): Likewise.
43825         (__ASSUME_EVENTFD2): Likewise.
43826         (__ASSUME_SIGNALFD4): Likewise.
43827         (__ASSUME_DUP3): Likewise.
43828         (__ASSUME_UTIMES): Undefine.
43830         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43831         feclearexcept.  Remove symbol versioning code.
43832         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43833         symbol versioning code.
43834         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43835         symbol versioning code.
43836         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43837         feupdateenv.  Remove symbol versioning code.
43838         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43839         fegetexceptflag.  Remove symbol versioning code.
43840         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43841         fesetexceptflag.  Remove symbol versioning code.
43842         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43843         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43844         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43845         (__posix_fadvise64_l32): Remove prototype.
43846         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43847         code.
43849 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43851         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43852         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43853         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43854         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43856 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
43858         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43859         current working directory
43861 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43863         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43864         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43865         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43866         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43867         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43868         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43869         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43870         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43871         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43872         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
43873         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
43874         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
43875         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
43876         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
43877         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
43878         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
43879         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
43880         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
43881         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
43882         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
43883         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
43884         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
43885         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
43886         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
43887         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
43888         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
43889         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
43890         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43891         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
43892         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
43893         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
43894         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
43895         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
43896         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
43897         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
43898         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
43899         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
43900         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
43901         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
43902         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
43903         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
43904         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
43906         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
43907         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
43909         * sysdeps/unix/sysv/linux/arm/Makefile
43910         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
43911         Add rt-aeabi_unwind_cpp_pr1.
43912         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
43913         Add nptl-aeabi_unwind_cpp_pr1.
43914         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
43915         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
43916         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
43917         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43918         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
43919         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43921         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
43922         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
43923         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
43924         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
43926         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
43927         Deconditionalize the code that was previously under [RESET_PID].
43928         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
43930         * sysdeps/generic/exit-thread.h: New file.
43931         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
43932         * include/unistd.h (__exit_thread): Remove declaration.
43933         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
43934         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
43935         * csu/libc-start.c: Include <exit-thread.h>.
43936         (LIBC_START_MAIN): Pass no argument to __exit_thread.
43937         * nptl/pthread_create.c: Include <exit-thread.h>.
43938         (start_thread): Call __exit_thread in place of __exit_thread_inline.
43939         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
43940         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
43941         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
43942         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
43943         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
43944         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
43945         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
43946         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
43947         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
43948         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
43949         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
43950         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
43951         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
43952         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
43953         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
43954         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
43956 2014-05-13  Andreas Schwab  <schwab@suse.de>
43958         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
43960 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
43962         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43963         (__ASSUME_UTIMES): Do not condition on kernel version.
43964         (__ASSUME_PSELECT): Define unconditionally.
43965         (__ASSUME_PPOLL): Likewise.
43966         (__ASSUME_ATFCTS): Likewise.
43967         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
43968         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
43969         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
43970         (__ASSUME_UTIMENSAT): Define unconditionally.
43971         (__ASSUME_PRIVATE_FUTEX): Likewise.
43972         (__ASSUME_FALLOCATE): Likewise.
43973         (__ASSUME_O_CLOEXEC): Likewise.
43974         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
43975         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
43976         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
43977         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
43978         (__ASSUME_IN_NONBLOCK): Likewise.
43979         (__ASSUME_PIPE2): Likewise.
43980         (__ASSUME_EVENTFD2): Likewise.
43981         (__ASSUME_SIGNALFD4): Likewise.
43982         (__ASSUME_DUP3): Likewise.
43983         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43984         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
43985         (__ASSUME_AT_RANDOM): Likewise.
43986         (__ASSUME_PREADV): Likewise.
43987         (__ASSUME_PWRITEV): Likewise.
43988         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
43989         (__ASSUME_F_GETOWN_EX): Define unconditionally.
43990         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
43991         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43992         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
43993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43994         (__ASSUME_O_CLOEXEC): Define unconditionally.
43995         (__ASSUME_PSELECT): Do not undefine conditionally.
43996         (__ASSUME_PPOLL): Likewise.
43997         (__ASSUME_ATFCTS): Likewise.
43998         (__ASSUME_SET_ROBUST_LIST): Likewise.
43999         (__ASSUME_UTIMENSAT): Likewise.
44000         (__ASSUME_FDATASYNC): Define unconditionally.
44001         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44002         (__ASSUME_SIGFRAME_V2): Likewise.
44003         )__ASSUME_EVENTFD2): Likewise.
44004         (__ASSUME_SIGNALFD4): Likewise.
44005         (__ASSUME_PSELECT): Do not undefine conditionally.
44006         (__ASSUME_PPOLL): Likewise.
44007         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44008         (__ASSUME_PSELECT): Define unconditionally.
44009         (__ASSUME_PPOLL): Likewise.
44010         (__ASSUME_O_CLOEXEC): Likewise.
44011         (__ASSUME_SOCK_CLOEXEC): Likewise.
44012         (__ASSUME_IN_NONBLOCK): Likewise.
44013         (__ASSUME_PIPE2): Likewise.
44014         (__ASSUME_EVENTFD2): Likewise.
44015         (__ASSUME_SIGNALFD4): Likewise.
44016         (__ASSUME_DUP3): Likewise.
44017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44018         (__ASSUME_O_CLOEXEC): Likewise.
44019         (__ASSUME_SOCK_CLOEXEC): Likewise.
44020         (__ASSUME_IN_NONBLOCK): Likewise.
44021         (__ASSUME_PIPE2): Likewise.
44022         (__ASSUME_EVENTFD2): Likewise.
44023         (__ASSUME_SIGNALFD4): Likewise.
44024         (__ASSUME_DUP3): Likewise.
44025         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44026         (__ASSUME_EVENTFD2): Likewise.
44027         (__ASSUME_SIGNALFD4): Likewise.
44028         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44030 2014-05-12  Andreas Schwab  <schwab@suse.de>
44032         [BZ #16932]
44033         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44034         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44035         than maximum RPC packet size.
44036         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44037         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44038         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44039         (_nss_nis_getservbyport_r): Likewise.
44041 2014-05-12  Will Newton  <will.newton@linaro.org>
44043         * malloc/Makefile (tests): Add tst-mallopt.
44044         * malloc/tst-mallopt.c: New file.
44046 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44048         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44049         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44051 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44053         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44054         (tst-tlsmod6.so): Likewise.
44056 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44058         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44060 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44062         [BZ #16064]
44063         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44064         and <dl-procinfo.h>.
44065         (__fegetenv): Save SSE state in envp->__eip if supported.
44066         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44067         envp->__eip if supported.
44068         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44069         and <dl-procinfo.h>.
44070         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44071         __data_offset and __data_selector in environment to 0.  Set SSE
44072         state if supported.
44073         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44074         test-fenv-sse.
44075         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44076         -mfpmath=sse.
44077         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44079 2014-05-09  Will Newton  <will.newton@linaro.org>
44081         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44082         and libc_relro_required for ARM.
44083         * sysdeps/arm/preconfigure: Regenerate.
44085 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44086             Stefan Liebler  <stli@linux.vnet.ibm.com>
44088         * config.make.in (enable-lock-elision): New Makefile variable.
44089         * configure.ac: Likewise.
44090         * configure: Regenerate.
44091         * sysdeps/s390/configure.ac:
44092         Add check for gcc transactions support.
44093         * sysdeps/s390/configure: Regenerate.
44094         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44095         Build elision files if enabled.
44096         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44097         Add lock elision support for s390.
44098         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44099         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44100         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44101         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44102         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44103         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44104         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44105         Likewise.
44106         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44107         Likewise.
44108         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44109         Likewise.
44110         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44111         Likewise.
44112         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44113         (__lll_timedlock_elision, __lll_lock_elision)
44114         (__lll_unlock_elision, __lll_trylock_elision)
44115         (lll_timedlock_elision, lll_lock_elision)
44116         (lll_unlock_elision, lll_trylock_elision): Add.
44117         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44118         (pthread_mutex_t): Add lock elision support for s390.
44120 2014-05-14  Wilco  <wdijkstr@arm.com>
44122         * sysdeps/arm/fclrexcpt.c: Cleanup.
44123         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44124         * sysdeps/arm/feenablxcpt.c: Cleanup.
44125         * sysdeps/arm/fegetenv.c: Cleanup.
44126         * sysdeps/arm/fegetexcept.c: Cleanup.
44127         * sysdeps/arm/fegetround.c: Cleanup.
44128         * sysdeps/arm/feholdexcpt.c: Cleanup.
44129         * sysdeps/arm/fesetenv.c: Cleanup.
44130         * sysdeps/arm/fesetround.c: Cleanup.
44131         * sysdeps/arm/feupdateenv.c: Cleanup.
44132         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44133         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44134         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44135         * sysdeps/arm/ftestexcept.c: Cleanup.
44136         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44137         * sysdeps/arm/setfpucw.c: Cleanup.
44139 2014-05-09  Will Newton  <will.newton@linaro.org>
44141         * sysdeps/arm/armv7/strcmp.S: New file.
44142         * NEWS: Mention addition of ARMv7 optimized strcmp.
44144 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44146         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44147         look for %.ac rather than %.in.
44149         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44150         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44151         * sysdeps/mach/hurd/configure: Regenerated.
44152         * sysdeps/unix/sysv/linux/configure: Regenerated.
44154         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44156 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44158         [BZ# 16922]
44159         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44160         (LONG_SUB): Ditto.
44161         (PTR_SUB): Ditto.
44163 2014-05-07  Andreas Schwab  <schwab@suse.de>
44165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44166         when skipping over non-matching result from nscd.
44168 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44170         [BZ #16876]
44171         * nptl/sockperf.c (client): Check socket return value.
44173         [BZ #16877]
44174         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44175         nscd security class.
44177 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44179         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44180         * sysdeps/arm/unwind.h: ... here.
44182 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
44184         [BZ# 16916]
44185         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
44186         Define.
44188 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44190         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
44191         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
44192         multiarch strncpy for PPC64.
44193         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
44194         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
44196         multiarch optimizations.
44197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44198         (__libc_ifunc_impl_list): Likewise.
44199         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
44200         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
44201         multiarch stpncpy for PPC64.
44202         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
44203         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
44205 2014-05-06  Andreas Schwab  <schwab@suse.de>
44207         [BZ #16912]
44208         * gmon/mcount.c (_MCOUNT_DECL): Use
44209         atomic_compare_and_exchange_bool_acq instead of
44210         catomic_compare_and_exchange_bool_acq.
44212 2014-05-05  Roland McGrath  <roland@hack.frob.com>
44214         * elf/Makefile (others, install-bin): Remove pldd.
44215         (pldd-modules): Variable removed.
44216         ($(objpfx)pldd): Target removed.
44217         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
44218         (others, install-bin): Append pldd here.
44219         ($(objpfx)pldd): New target.
44221         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
44222         to 0, so the first #if test emitted later doesn't see it undefined.
44223         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
44224         * sysdeps/gnu/errlist.c: Regenerated.
44226 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44228         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44229         [libc_hidden_builtin_def]: Define to empty value.
44230         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
44231         [libc_hidden_builtin_def]: Likewise.
44232         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
44233         [libc_hidden_builtin_def]: Likewise.
44234         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
44235         [libc_hidden_builtin_def]: Likewise.
44236         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
44237         __redirect_memcpy and define ifunc as default hidden symbol.
44238         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
44239         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
44241 2014-05-04  Adam Conrad  <adconrad@0c3.net>
44243         * locale/iso-4217.def: Reintroduce XDR currency.
44245 2014-05-04  Allan McRae  <allan@archlinux.org>
44247         * po/eo.po: Update Esperanto translation from translation project.
44249 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
44251         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
44252         and FEATURE_INDEX_MAX to 1.
44253         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
44255 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44257         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
44258         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
44259         * iconvdata/big5.c (ONE_DIRECTION): Define.
44260         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44261         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44262         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44263         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44264         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44265         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44266         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44267         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44268         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44269         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44270         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44271         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44272         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44273         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44274         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44275         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44276         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44277         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44278         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44279         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44280         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44281         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44282         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44283         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44284         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44285         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44286         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44287         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44288         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44289         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44290         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44291         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44292         * iconvdata/johab.c (ONE_DIRECTION): Define.
44293         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44294         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44295         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44296         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44297         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44298         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44299         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44300         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44301         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44302         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44304 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44306         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44307         (_IO_JUMPS_OFFSET): Define to 0.
44309         * nptl/sysdeps/pthread/bits/libc-lock.h
44310         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44311         (__libc_lock_define_initialized_recursive): Always define using
44312         initializer.  Modern compilers treat uninitialized (implicit zero) and
44313         explicit zero initializers the same (i.e. put the datum in bss).
44315 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44317         * nscd/nscd-client.h: Include <string.h>.
44319 2014-05-01  David S. Miller  <davem@davemloft.net>
44321         [BZ #16885]
44322         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44323         multiple zero bytes exist at the end of a string.
44324         Reported by Aurelien Jarno <aurelien@aurel32.net>
44326         * string/test-strcmp.c (check): Add explicit test for situations where
44327         there are multiple zero bytes after the first.
44329 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44331         [BZ #16890]
44332         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44333         when compiling wprintf.
44334         * stdio-common/tstdiomisc.c (t3): New function.
44335         (main): Call it.
44337 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44339         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44340         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44341         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44342         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44344 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44346         * stdlib/longlong.h: Updated from GCC.
44348 2014-05-01  Will Newton  <will.newton@linaro.org>
44349             Bernard Ogden  <bernie.ogden@linaro.org>
44351         * NEWS: Update fixed bug list.
44353         [BZ #15119]
44354         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44356 2014-04-30  David S. Miller  <davem@davemloft.net>
44358         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44359         (libc_feholdexcept_setround_sparc_ctx): New function.
44360         (libc_fesetenv_sparc_ctx): Likewise.
44361         (libc_feupdateenv_sparc_ctx): Likewise.
44362         (libc_feholdsetround_sparc_ctx): Likewise.
44363         (libc_feholdexcept_setround_ctx): Define.
44364         (libc_feholdexcept_setroundf_ctx): Likewise.
44365         (libc_feholdexcept_setroundl_ctx): Likewise.
44366         (libc_fesetenv_ctx): Likewise.
44367         (libc_fesetenvf_ctx): Likewise.
44368         (libc_fesetenvl_ctx): Likewise.
44369         (libc_feupdateenv_ctx): Likewise.
44370         (libc_feupdateenvf_ctx): Likewise.
44371         (libc_feupdateenvl_ctx): Likewise.
44372         (libc_feresetround_ctx): Likewise.
44373         (libc_feresetroundf_ctx): Likewise.
44374         (libc_feresetroundl_ctx): Likewise.
44375         (libc_feholdsetround_ctx): Likewise.
44376         (libc_feholdsetroundf_ctx): Likewise.
44377         (libc_feholdsetroundl_ctx): Likewise.
44379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44380         with __USE_GNU instead of XOPEN cpp guards.
44382         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44383         0.
44385         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44386         with XOPEN cpp guards.
44388 2014-04-30  Julian Brown  <julian@codesourcery.com>
44390         [BZ #16888]
44391         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44392         handling.
44394 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44396         [BZ #9894]
44397         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44398         Change to 2.6.32.
44399         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44400         * sysdeps/unix/sysv/linux/configure: Regenerated.
44401         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44402         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44403         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44404         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44405         * README: Update reference to required Linux kernel version.
44406         * manual/install.texi (Linux): Update reference to required Linux
44407         kernel headers version.
44408         * INSTALL: Regenerated.
44410         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44411         header inclusion.
44412         [POSIX] (limits.h): Likewise.
44413         [POSIX] (math.h): Likewise.
44414         [POSIX] (sys/wait.h): Likewise.
44415         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44416         function.
44417         [POSIX] (stddef.h): Do not allow header inclusion.
44419 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44421         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44423 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44425         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44426         Return immediately after lll_futex_wake.
44428 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44430         [BZ #16791]
44431         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44432         structure.
44433         (datahead_init_pos): Call datahead_init_common early.
44434         (datahead_init_neg): Likewise.
44436         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44437         datahead_init_neg): New functions.
44438         * nscd/aicache.c (addhstaiX): Use them.
44439         * nscd/grpcache.c (cache_addgr): Likewise.
44440         * nscd/hstcache.c (cache_addhst): Likewise.
44441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44442         * nscd/netgroupcache.c (do_notfound): Likewise.
44443         (addgetnetgrentX): Likewise.
44444         (addinnetgrX): Likewise.
44445         * nscd/pwdcache.c (cache_addpw): Likewise.
44446         * nscd/servicescache.c (cache_addserv): Likewise.
44448 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44449             Atsushi Onoe  <atsushi@onoe.org>
44451         [BZ #14308]
44452         [BZ #12994]
44453         [BZ #13651]
44454         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44455         one response is valid.
44456         * resolv/res_send.c (send_dg): Check for validity of other
44457         response if the current response is a referral.
44459 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44461         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44463 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44465         [BZ #16823]
44466         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44467         Always divide by positive zero when computing -Inf result.
44468         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44469         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44471 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44473         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44474         FPSCR if value do not change.
44475         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44476         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44477         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44478         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44479         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44480         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44481         function.
44483 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44485         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44486         * sysdeps/unix/sysv/linux/hppa: Move directory from
44487         ports/systeps/unix/sysv/linux/hppa.
44488         * README: Update listing for hppa-*-linux-gnu.
44490 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44492         [BZ #16754]
44493         * manual/stdio.texi (Hook functions): Fix types of stream hook
44494         functions.
44495         [BZ #16854]
44496         * socket/sys/socket.h: Fix typo in comment.
44498 2014-04-28  Wilco  <wdijkstr@arm.com>
44500         * sysdeps/arm/fenv_private.h: New file.
44501         * sysdeps/arm/math_private.h: New file.
44502         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44504 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44506         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44507         with __int128_t.
44508         (La_x86_64_retval): Likewise.
44510 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44512         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44513         fpsr if value didn't change.
44514         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44515         to fpcr if value didn't change.
44516         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44517         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44518         fpsr or fpcr if value didn't change.
44519         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44520         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44521         fpcr if value didn't change.
44522         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44523         to fpsr if value didn't change.
44525 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44527         * nptl/tst-sem3.c: Use test-skeleton.c
44528         (main): Rename to do_test.  Use return instead of
44529         exit.
44530         * nptl/tst-sem4.c: Use test-skeleton.c
44531         (main): Rename to do_test.
44533 2014-04-22  David S. Miller  <davem@davemloft.net>
44535         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44536         (struct sigaction): New struct member __glibc_reserved0, change
44537         type of sa_flags to int.
44539 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44541         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44542         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44544 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44546         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44547         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44549 2014-04-22  Will Newton  <will.newton@linaro.org>
44550             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44552         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44553         (__longjmp): Add longjmp and longjmp_target SystemTap
44554         probes.
44555         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44556         (__sigsetjmp): Add setjmp SystemTap probe.
44558 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44560         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44561         match manual order.
44563 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44565         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44567         * sysdeps/powerpc/fpu/fenv_private.h
44568         (libc_feholdexcept_setroundl_ctx): Define to
44569         libc_feholdexcept_setround_ppc_ctx.
44570         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44571         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44572         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44573         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44575 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44577         * sysdeps/aarch64/math-tests.h: New file.
44579 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44581         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44582         New.
44583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44584         Check and set bit_AVX2_Usable.
44585         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44586         macro.
44587         (bit_AVX2): Likewise.
44588         (index_AVX2_Usable): Likewise.
44589         (CPUID_AVX2): Likewise.
44590         (HAS_AVX2): Likewise.
44592 2014-04-17  Will Newton  <will.newton@linaro.org>
44594         * manual/setjmp.texi (System V contexts): Add note that
44595         calling setcontext on a context created by a call to a
44596         signal handler is undefined.  Update text to note that
44597         setcontext from a signal handler is possible but not
44598         recommended.
44600         [BZ #16629]
44601         * stdlib/tst-setcontext.c: Include signal.h.
44602         (main): Check that the signal stack before and
44603         after swapcontext is the same.
44605         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44606         Re-implement to restore registers in user code and avoid
44607         rt_sigreturn system call.
44609 2014-04-17  Wilco  <wdijkstr@arm.com>
44611         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44612         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44613         * math/test-fenv.c: Skip exception trap tests on targets which only
44614         support non-stop mode.
44616 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44617             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44619         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44620         (libc_feholdsetround_aarch64_ctx)
44621         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44622         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44623         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44624         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44625         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44626         (libc_feresetround_noexl_ctx): Define.
44628 2014-04-16  Richard Henderson  <rth@redhat.com>
44630         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44632         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44633         unwind tables.
44635         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44636         const from the non-libc, non-ldso copy.
44638         * sysdeps/alpha/libm-test-ulps: Regenerate.
44640 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44641             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44643         * sysdeps/aarch64/fpu/math_private.h: New file.
44645 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44647         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44649 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44651         [BZ #16275]
44652         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44653         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44655         Intel MPX bound registers before _dl_profile_fixup.
44656         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44657         registers after _dl_profile_fixup.  Save and restore bound
44658         registers bnd0/bnd1 when calling _dl_call_pltexit.
44659         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44660         (LR_BND_OFFSET): Likewise.
44661         (LRV_BND0_OFFSET): Likewise.
44662         (LRV_BND1_OFFSET): Likewise.
44664 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44666         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44667         to...
44668         * sysdeps/mach/hurd/i386/tls.h: ... here.
44669         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44670         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44671         fields.
44673 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44675         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44677 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44679         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44681 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44683         [BZ #14770]
44684         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44685         * sysdeps/s390/configure: Regenerate.
44687         [BZ #16824]
44688         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44689         Set round-to-nearest internally to reduce error accumulation.
44691 2014-04-16  Alan Modra  <amodra@gmail.com>
44693         [BZ #16740]
44694         [BZ #16619]
44695         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44696         * math/libm-test.inc (frexp_test_data): Add tests.
44697         * NEWS: Update fixed bug list.
44699 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44701         * benchtests/Makefile: Depend on libraries in build directory.
44702         (bench-math): Separate out math tests.
44703         (bench-pthread): Separate out pthread tests.
44704         (bench): Include math and pthread tests.
44706 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44708         [BZ #16831]
44709         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44710         _dl_debug_initialize.
44712         * configure.ac: Remove SELinux header check.
44713         * configure: Regenerate.
44714         * nscd/selinux.c (perms): Array of const char* to permission names.
44715         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44716         default policy. Call string_to_security_class and string_to_av_perm to
44717         translate strings. Enforce default policy and call avs_has_perm with
44718         results of translated strings.
44720 2014-04-13  David S. Miller  <davem@davemloft.net>
44722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44724 2014-04-12  Allan McRae  <allan@archlinux.org>
44726         [BZ #16838]
44727         * manual/string.texi (Collation Functions): Fix qsort argument
44728         order in example.
44729         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44731 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44733         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44734         Make the test a no-op if there are no exceptions defined.
44736 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44738         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44739         enable-hardcoded-path-in-tests
44741 2014-04-11  Will Newton  <will.newton@linaro.org>
44743         * benchtests/Makefile (extra-objs): Add json-lib.o.
44744         (bench-func): Tidy up JSON output.
44745         * benchtests/bench-skeleton.c: Include json-lib.h.
44746         (main): Use JSON library functions to do output of
44747         benchmark results.
44748         * benchtests/bench-timing-type.c (main): Output the
44749         timing type simply, leaving formatting to the user.
44750         * benchtests/json-lib.c: New file.
44751         * benchtests/json-lib.h: Likewise.
44753 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44755         [BZ #15215]
44756         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44757         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44758         memory barriers.  Add comments.
44759         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44760         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44761         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44762         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44763         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44764         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44766 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44768         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44769         * sysdeps/s390/s390-64/configure.ac: ... this ...
44770         * sysdeps/s390/configure.ac: ... to here.
44771         * sysdeps/s390/s390-32/configure: Delete file.
44772         * sysdeps/s390/s390-64/configure: Delete file.
44773         * sysdeps/s390/configure: Regenerate.
44775 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44777         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44779 2014-04-11  Will Newton  <will.newton@linaro.org>
44781         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44782         to zero if it is not defined elsewhere.  (mtrim): Test
44783         the value of MALLOC_DEBUG with #if rather than #ifdef.
44785 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44787         * benchtests/pthread_once-inputs: New file.
44788         * benchtests/pthread_once-source.c: New file.
44789         * benchtests/README: Update documentation.
44791 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44792             H.J. Lu  <hongjiu.lu@intel.com>
44794         [BZ #16275]
44795         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44796         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44797         * sysdeps/x86_64/configure: Regenerated.
44798         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44799         macro.
44800         (REGISTER_SAVE_RAX): Likewise.
44801         (REGISTER_SAVE_RCX): Likewise.
44802         (REGISTER_SAVE_RDX): Likewise.
44803         (REGISTER_SAVE_RSI): Likewise.
44804         (REGISTER_SAVE_RDI): Likewise.
44805         (REGISTER_SAVE_R8): Likewise.
44806         (REGISTER_SAVE_R9): Likewise.
44807         (REGISTER_SAVE_BND0): Likewise.
44808         (REGISTER_SAVE_BND1): Likewise.
44809         (REGISTER_SAVE_BND2): Likewise.
44810         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44811         bound registers when calling _dl_fixup.
44813 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44815         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44816         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44817         of its definition.
44818         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44819         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44820         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44821         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44822         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44823         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44824         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44826 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44828         [BZ #15514]
44829         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44830         pathconf(_PC_NAME_MAX).
44832 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44834         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44835         Remove macro usage.
44836         (__PTHREAD_SPINS): Move definition to ...
44837         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44838         (__PTHREAD_SPINS): ... here.
44839         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44840         (__PTHREAD_SPIN): Likewise.
44841         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44842         (__PTHREAD_SPIN): Likewise.
44843         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44844         (__PTHREAD_SPIN): Likewise.
44845         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44846         (__PTHREAD_SPIN): Likewise.
44847         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44848         (__PTHREAD_SPIN): Likewise.
44849         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44850         (__PTHREAD_SPIN): Likewise.
44851         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44852         (__PTHREAD_SPIN): Likewise.
44853         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44854         (__PTHREAD_SPIN): Likewise.
44855         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44856         (__PTHREAD_SPIN): Likewise.
44857         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44858         (__PTHREAD_SPIN): Likewise.
44859         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44860         (__PTHREAD_SPIN): Likewise.
44861         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44862         (__PTHREAD_SPIN): Likewise.
44864         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44865         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44866         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44867         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44868         imply folder.
44869         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44870         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44871         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44872         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
44873         correct imply path.
44874         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
44875         strlen symbol for non multi-arch builds.
44876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44877         missing hidden_def and weak_alias.
44879 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
44881         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
44883 2014-04-07  Will Newton  <will.newton@linaro.org>
44885         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
44886         and contents.  [!_LIBC] Remove #ifndef and contents.
44887         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
44888         * string/memccpy.c (__memccpy): Use ANSI prototype.
44889         * string/memfrob.c (memfrob): Likewise.
44890         * string/strcoll.c (STRCOLL): Likewise.
44891         * string/strlen.c (strlen): Likewise.
44892         * string/strtok.c (STRTOK): Likewise.
44893         * string/strcat.c: Remove unused #include of memcopy.h.
44894         (strcat): Use ANSI prototype.
44895         * string/strchr.c: Remove unused #include of memcopy.h.
44896         (strchr): Use ANSI prototype.
44897         * string/strcmp.c: Remove unused #include of memcopy.h.
44898         (strcmp): Use ANSI prototype.
44899         * string/strcpy.c: Remove unused #include of memcopy.h.
44900         (strcpy): Use ANSI prototype.
44902 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44904         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
44905         * config.make.in (config-extra-cppflags): Set it from
44906         libc_extra_cppflags.
44907         * configure.ac (libc_extra_cflags): Make it accumulate over
44908         configure fragments.
44909         (libc_extra_cppflags): New flag.
44910         * configure. Regenerate.
44911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44912         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
44913         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
44916         [BZ #16815]
44917         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
44918         result for FE_DOWNWARD rounding mode.
44919         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
44920         Likewise.
44921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44923 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
44925         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
44926         in function argument name.
44928 2014-04-03  David Svoboda  <svoboda@cert.org>
44930         [BZ #5666]
44931         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
44932         explicitly.
44934 2014-04-03  Roland McGrath  <roland@hack.frob.com>
44936         * elf/dl-unmap-segments.h: New file.
44937         * sysdeps/generic/ldsodefs.h
44938         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
44939         * elf/dl-close.c: Include <dl-unmap-segments.h>.
44940         * elf/dl-fptr.c: Likewise.
44941         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
44942         * sysdeps/aarch64/tlsdesc.c: Likewise.
44943         * sysdeps/arm/tlsdesc.c: Likewise.
44944         * sysdeps/i386/tlsdesc.c: Likewise.
44945         * sysdeps/tile/dl-runtime.c: Likewise.
44946         * sysdeps/x86_64/tlsdesc.c: Likewise.
44947         * elf/dl-load.h: New file.
44948         * elf/dl-load.c: Include it.
44949         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
44950         Macros moved to dl-load.h.
44951         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
44952         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
44953         Use _dl_unmap_segments in place of __munmap.
44954         Break out segment-mapping loop into ...
44955         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
44957 2014-04-03  Will Newton  <will.newton@linaro.org>
44959         * elf/dl-lookup.c (do_lookup_x): Remove comment
44960         referring to nested function and move variable
44961         declarations down to before first use.
44963 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
44965         [BZ #16799]
44966         [BZ #16800]
44967         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
44968         with 0 numerator.
44969         * math/s_catanf.c (__catanf): Likewise.
44970         * math/s_catanh.c (__catanh): Likewise.
44971         * math/s_catanhf.c (__catanhf): Likewise.
44972         * math/s_catanhl.c (__catanhl): Likewise.
44973         * math/s_catanl.c (__catanl): Likewise.
44974         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
44975         by positive zero when computing -Inf result.
44976         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
44977         (catanh_test): Likewise.
44978         * sysdeps/i386/fpu/libm-test-ulps: Update.
44979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44981         [BZ #16789]
44982         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
44983         instead of using underflowing value in computing result.
44984         * math/s_clog10.c (__clog10): Likewise.
44985         * math/s_clog10f.c (__clog10f): Likewise.
44986         * math/s_clog10l.c (__clog10l): Likewise.
44987         * math/s_clogf.c (__clogf): Likewise.
44988         * math/s_clogl.c (__clogl): Likewise.
44989         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
44990         (clog10_test): Likewise.
44991         * sysdeps/i386/fpu/libm-test-ulps: Update.
44992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44994 2014-04-02  Alan Modra  <amodra@gmail.com>
44996         [BZ #16739]
44997         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
44998         output when value is near a power of two.  Use int64_t for lx and
44999         remove casts.  Use decimal rather than hex exponent constants.
45000         Don't use long double multiplication when double will suffice.
45001         * math/libm-test.inc (nextafter_test_data): Add tests.
45002         * NEWS: Add 16739 and 16786 to bug list.
45004         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45006         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45008 2014-04-01  Will Newton  <will.newton@linaro.org>
45010         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45011         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45013 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45015         [BZ #13347]
45016         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45017         * nptl/tst-setuid2.c: New file.
45018         * nptl/Makefile (xtests): Add tst-setuid2.
45020 2014-04-01  Alan Modra  <amodra@gmail.com>
45022         [BZ #16786]
45023         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45025 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45027         [BZ #6803]
45028         [BZ #6804]
45029         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45030         set errno as appropriate.
45031         * math/w_scalbf.c (__scalbf): Likewise.
45032         * math/w_scalbl.c (__scalbl): Likewise.
45033         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45034         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45035         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45036         Add more NaN tests.
45038         [BZ #16349]
45039         * math/w_atan2.c: Include <errno.h>.
45040         (__atan2): Set errno for result underflowing to zero.
45041         * math/w_atan2f.c: Include <errno.h>.
45042         (__atan2f): Set errno for result underflowing to zero.
45043         * math/w_atan2l.c: Include <errno.h>.
45044         (__atan2l): Set errno for result underflowing to zero.
45045         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45046         tests.
45047         * math/auto-libm-test-out: Regenerated.
45049 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45051         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45052         Encode instruction correctly in little endian.
45053         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45054         Likewise.
45055         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45056         Likewise.
45057         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45058         Likewise.
45059         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45060         Likewise.
45062 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45064         [BZ #9894]
45065         * sysdeps/unix/sysv/linux/kernel-features.h
45066         [__sparc__ && !__arch64__ && !__sparc_v9__]
45067         (__ASSUME_SET_ROBUST_LIST): Do not define.
45068         [__sparc__ && !__arch64__ && !__sparc_v9__]
45069         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45070         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45071         Likewise.
45072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45073         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45074         (__ASSUME_REQUEUE_PI): Likewise.
45075         (__ASSUME_SET_ROBUST_LIST): Likewise.
45076         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45077         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45078         Undefine.
45079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45080         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45081         Likewise.
45082         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45083         Likewise.
45084         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45085         Likewise.
45086         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45087         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45088         Undefine.
45089         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45090         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45091         Likewise.
45093         [BZ #16648]
45094         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45096         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45098 2014-03-31  Will Newton  <will.newton@linaro.org>
45100         * benchtests/Makefile (bench): Add ffs and ffsll to list
45101         of tests.
45102         * benchtests/ffs-inputs: New file.
45103         * benchtests/ffsll-inputs: Likewise.
45105 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45107         [BZ #16770]
45108         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45109         too large before casting to int.
45110         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45111         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45112         * math/libm-test.inc (scalb_test_data): Add more tests.
45114 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45116         * benchtests/Makefile (DETAILED_OPT): New make option.
45117         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45118         set.
45119         * benchtests/bench-skeleton.c: Include stdbool.h.
45120         (main): Store and print timings per input.
45121         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45122         member to each argument value.
45123         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45124         (_print_arg_data): Initialize per-input timing to 0.
45126         * benchtests/Makefile (timing-type): New binary.
45127         (bench-clean): Also remove bench-timing-type.
45128         (bench): New target for timing-type.
45129         (bench-func): Print output in JSON format.
45130         * benchtests/bench-skeleton.c (main): Print output in JSON
45131         format.
45132         * benchtests/bench-timing-type.c: New file.
45133         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45134         (TIMING_PRINT_STATS): Remove.
45135         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45136         name separately.
45138         * benchtests/bench-modf.c: Remove.
45139         * benchtests/modf-inputs: New inputs file.
45141 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45143         [BZ #16362]
45144         * math/s_clog10.c (M_PI_LOG10E): New macro.
45145         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45146         imaginary parts are 0.
45147         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45148         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45149         imaginary parts are 0.
45150         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45151         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45152         imaginary parts are 0.
45153         * math/libm-test.inc (clog10_test_data): Update expected results
45154         for when real and imaginary parts are 0.
45156 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45158         * elf/dl-load.c: Finish conversion of __builtin_expect into
45159         __glibc_{un}likely.
45161 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45163         [BZ #16348]
45164         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45165         1+x for argument with exponent below -67.
45166         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45167         Likewise.
45168         * math/auto-libm-test-in: Add more tests of exp.
45169         * math/auto-libm-test-out: Regenerated.
45171 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45173         [BZ #16759]
45174         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45175         (nscd_getnetgrent): Use it.
45177         [BZ #16760]
45178         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45179         of stpcpy.
45181 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45183         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
45184         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45185         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45186         (lll_robust_unlock): Remove out of line section. Use cfi
45187         intrinsics.
45188         (LLL_STUB_UNWIND_INFO*): Remove.
45189         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
45190         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45191         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45192         (lll_robust_unlock): Remove out of line section. Use cfi
45193         intrinsics.
45194         (LLL_STUB_UNWIND_INFO*): Remove.
45196 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45198         [BZ #16758]
45199         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
45200         blank values.
45202 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
45204         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
45206 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
45208         [BZ #16198]
45209         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
45210         fnstenv.
45211         * math/test-fenv-preserve.c: New file.
45212         * math/Makefile (tests): Add test-fenv-preserve.
45214 2014-03-26  Will Newton <will.newton@linaro.org>
45216         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45218 2014-03-25  Roland McGrath  <roland@hack.frob.com>
45220         * scripts/versionlist.awk: Partition the version sets and emit all
45221         GLIBC_* (sorted) before all others (sorted).
45223 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45225         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
45226         GLIBC_2.2.5 version.
45228 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45230         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
45231         calls.
45233         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
45234         previous change.
45236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45238 2014-03-25  Andreas Schwab  <schwab@suse.de>
45240         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
45241         label to be used after in6ailist is initialized.
45243 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45245         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45246         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45248 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45250         [BZ #16357]
45251         [BZ #16599]
45252         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
45253         min_plus_half.
45254         (fp_formats): Update initializers.
45255         (init_fp_formats): Initialize new field.
45256         (output_for_one_input_case): Allow underflow for results up to
45257         min_plus_half.
45258         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
45259         * math/auto-libm-test-in: Don't mark some underflows from asin and
45260         atanh as spurious.
45261         * math/auto-libm-test-out: Regenerated.
45262         * sysdeps/i386/fpu/libm-test-ulps: Update.
45263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45265 2014-03-25  Andreas Schwab  <schwab@suse.de>
45267         * libio/Makefile (tst-ftell-partial-wide-ENV)
45268         (tst-ftell-active-handler-ENV): Define.
45270 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45272         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45274 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45276         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45278 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45280         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45281         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45282         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45284 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45286         [BZ #16634]
45287         * elf/dl-load.c (open_verify): Add mode parameter.
45288         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45289         (open_path): Change from boolean 'secure' to complete flag 'mode'
45290         (_dl_map_object): Adjust.
45291         * elf/Makefile (tests): Add tst-dlopen-aout.
45292         * elf/tst-dlopen-aout.c: New test.
45294 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45296         [BZ #16714]
45297         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45298         (struct stat): Rename member pad0 to __glibc_reserved0.
45300         [BZ #16712]
45301         * sysdeps/s390/s390-32/bits/wordsize.h
45302         (__WORDSIZE32_SIZE_ULONG): New define.
45303         * sysdeps/s390/s390-64/bits/wordsize.h
45304         (__WORDSIZE32_SIZE_ULONG): Likewise.
45305         * sysdeps/generic/stdint.h (SIZE_MAX):
45306         Define as UL if __WORDSIZE32_SIZE_ULONG.
45308         [BZ #16713]
45309         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45310         (__glibc_reserved0): New variable.
45311         (sa_flags): Change type to int.
45313         * posix/Makefile (before-compile): Use += before-compile instead
45314         of a :=.
45316         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45317         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45319 2014-03-20  Andreas Schwab  <schwab@suse.de>
45321         [BZ #16743]
45322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45323         non-matching result from nscd.
45325 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45327         * scripts/bench.py: Moved to ...
45328         * benchtests/scripts/bench.py: ... here.
45329         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45331 2014-03-24  Andreas Schwab  <schwab@suse.de>
45333         [BZ #16002]
45334         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45335         alloca_account and account alloca use for struct in6ailist.
45337 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45339         [BZ #16284]
45340         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45341         rounding mode to recompute results that overflow to infinity or
45342         underflow to zero.
45343         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45344         bug 16284.
45345         * math/auto-libm-test-out: Regenerated.
45346         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45347         (ccosh_test): Likewise.
45348         (csin_test_data): Use plus_oflow.
45349         (csin_test): Use ALL_RM_TEST.
45350         (csinh_test_data): Use plus_oflow.
45351         (csinh_test): Use ALL_RM_TEST.
45352         * sysdeps/i386/fpu/libm-test-ulps: Update.
45353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45355 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45357         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45358         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45359         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45361         [BZ #16731]
45362         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45363         when x - 1 is zero.
45364         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45365         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45366         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45367         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45368         argument is 1.
45369         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45370         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45371         zero.
45372         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45373         * sysdeps/i386/fpu/libm-test-ulps: Update.
45374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45376 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45378         * scripts/bench.pl: Remove file.
45379         * scripts/bench.py: New benchmark script.
45380         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45381         * benchtests/README: Mention python dependency.
45382         * scripts/pylintrc: New file.
45383         * scripts/pylint: New file.
45385         * bits/mathdef.h: Use #ifdef instead of #if.
45386         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45387         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45388         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45389         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45390         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45391         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45393 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45394             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45396         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45398         and strpbrk-ppc64 objects.
45399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45400         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45401         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45402         multiarch strpbrk for POWER7.
45403         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45404         multiarch strpbrk for PPC64.
45405         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45406         ifunc selector.
45407         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45408         strpbrk for POWER7.
45410 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45412         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45413         (atan_test): Likewise.
45414         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45415         (atanh_test): Use ALL_RM_TEST.
45416         (atan2_test_data): Likewise.
45417         (cabs_test): Likewise.
45418         (cacosh_test): Likewise.
45419         (carg_test): Likewise.
45420         (casin_test): Likewise.
45421         (casinh_test): Likewise.
45422         (cbrt_test): Likewise.
45423         (csqrt_test): Likewise.
45424         (erf_test): Likewise.
45425         (erfc_test): Likewise.
45426         (pow10_test): Likewise.
45427         (exp2_test): Likewise.
45428         (hypot_test): Likewise.
45429         (j0_test): Likewise.
45430         (j1_test): Likewise.
45431         (lgamma_test): Likewise.
45432         (gamma_test): Likewise.
45433         (sincos_test): Likewise.
45434         (tanh_test): Likewise.
45435         (y0_test): Likewise.
45436         (y1_test): Likewise.
45437         * sysdeps/i386/fpu/libm-test-ulps: Update.
45438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45440 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45442         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45444         and strcspn-ppc64 objects.
45445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45446         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45447         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45448         multiarch strcspn for POWER7.
45449         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45450         multiarch strcspn for PPC64.
45451         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45452         ifunc selector.
45453         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45454         strcspn for POWER7.
45456 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45458         * math/gen-libm-test.pl (generate_testfile): Expect only function
45459         name as argument to AUTO_TESTS_* and pass results for all rounding
45460         modes to parse_args.
45461         (parse_auto_input): Separate inputs of automatic tests from
45462         outputs before storing in %auto_tests.
45463         * math/libm-test.inc (acos_test_data): Update call to
45464         AUTO_TESTS_f_f.
45465         (acos_test): Use ALL_RM_TEST.
45466         (acos_tonearest_test_data): Remove.
45467         (acos_test_tonearest): Likewise.
45468         (acos_towardzero_test_data): Likewise.
45469         (acos_test_towardzero): Likewise.
45470         (acos_downward_test_data): Likewise.
45471         (acos_test_downward): Likewise.
45472         (acos_upward_test_data): Likewise.
45473         (acos_test_upward): Likewise.
45474         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45475         (asin_test_data): Likewise.
45476         (asin_test): Use ALL_RM_TEST.
45477         (asin_tonearest_test_data): Remove.
45478         (asin_test_tonearest): Likewise.
45479         (asin_towardzero_test_data): Likewise.
45480         (asin_test_towardzero): Likewise.
45481         (asin_downward_test_data): Likewise.
45482         (asin_test_downward): Likewise.
45483         (asin_upward_test_data): Likewise.
45484         (asin_test_upward): Likewise.
45485         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45486         (atan_test_data): Likewise.
45487         (atanh_test_data): Likewise.
45488         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45489         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45490         (carg_test_data): Likewise.
45491         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45492         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45493         (ccosh_test_data): Likewise.
45494         (cexp_test_data): Likewise.
45495         (clog_test_data): Likewise.
45496         (clog10_test_data): Likewise.
45497         (cos_test_data): Update call to AUTO_TESTS_f_f.
45498         (cos_test): Use ALL_RM_TEST.
45499         (cos_tonearest_test_data): Remove.
45500         (cos_test_tonearest): Likewise.
45501         (cos_towardzero_test_data): Likewise.
45502         (cos_test_towardzero): Likewise.
45503         (cos_downward_test_data): Likewise.
45504         (cos_test_downward): Likewise.
45505         (cos_upward_test_data): Likewise.
45506         (cos_test_upward): Likewise.
45507         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45508         (cosh_test): Use ALL_RM_TEST.
45509         (cosh_tonearest_test_data): Remove.
45510         (cosh_test_tonearest): Likewise.
45511         (cosh_towardzero_test_data): Likewise.
45512         (cosh_test_towardzero): Likewise.
45513         (cosh_downward_test_data): Likewise.
45514         (cosh_test_downward): Likewise.
45515         (cosh_upward_test_data): Likewise.
45516         (cosh_test_upward): Likewise.
45517         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45518         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45519         (ctan_test_data): Likewise.
45520         (ctan_test): Use ALL_RM_TEST.
45521         (ctan_tonearest_test_data): Remove.
45522         (ctan_test_tonearest): Likewise.
45523         (ctan_towardzero_test_data): Likewise.
45524         (ctan_test_towardzero): Likewise.
45525         (ctan_downward_test_data): Likewise.
45526         (ctan_test_downward): Likewise.
45527         (ctan_upward_test_data): Likewise.
45528         (ctan_test_upward): Likewise.
45529         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45530         (ctanh_test): Use ALL_RM_TEST.
45531         (ctanh_tonearest_test_data): Remove.
45532         (ctanh_test_tonearest): Likewise.
45533         (ctanh_towardzero_test_data): Likewise.
45534         (ctanh_test_towardzero): Likewise.
45535         (ctanh_downward_test_data): Likewise.
45536         (ctanh_test_downward): Likewise.
45537         (ctanh_upward_test_data): Likewise.
45538         (ctanh_test_upward): Likewise.
45539         (erf_test_data): Update call to AUTO_TESTS_f_f.
45540         (erfc_test_data): Likewise.
45541         (exp_test_data): Likewise.
45542         (exp_test): Use ALL_RM_TEST.
45543         (exp_tonearest_test_data): Remove.
45544         (exp_test_tonearest): Likewise.
45545         (exp_towardzero_test_data): Likewise.
45546         (exp_test_towardzero): Likewise.
45547         (exp_downward_test_data): Likewise.
45548         (exp_test_downward): Likewise.
45549         (exp_upward_test_data): Likewise.
45550         (exp_test_upward): Likewise.
45551         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45552         (exp10_test): Use ALL_RM_TEST.
45553         (exp10_tonearest_test_data): Remove.
45554         (exp10_test_tonearest): Likewise.
45555         (exp10_towardzero_test_data): Likewise.
45556         (exp10_test_towardzero): Likewise.
45557         (exp10_downward_test_data): Likewise.
45558         (exp10_test_downward): Likewise.
45559         (exp10_upward_test_data): Likewise.
45560         (exp10_test_upward): Likewise.
45561         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45562         (expm1_test_data): Likewise.
45563         (expm1_test): Use ALL_RM_TEST.
45564         (expm1_tonearest_test_data): Remove.
45565         (expm1_test_tonearest): Likewise.
45566         (expm1_towardzero_test_data): Likewise.
45567         (expm1_test_towardzero): Likewise.
45568         (expm1_downward_test_data): Likewise.
45569         (expm1_test_downward): Likewise.
45570         (expm1_upward_test_data): Likewise.
45571         (expm1_test_upward): Likewise.
45572         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45573         (fma_test): Use ALL_RM_TEST.
45574         (fma_towardzero_test_data): Remove.
45575         (fma_test_towardzero): Likewise.
45576         (fma_downward_test_data): Likewise.
45577         (fma_test_downward): Likewise.
45578         (fma_upward_test_data): Likewise.
45579         (fma_test_upward): Likewise.
45580         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45581         (j0_test_data): Update call to AUTO_TESTS_f_f.
45582         (j1_test_data): Likewise.
45583         (jn_test_data): Update call to AUTO_TESTS_if_f.
45584         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45585         (log_test_data): Update call to AUTO_TESTS_f_f.
45586         (log10_test_data): Likewise.
45587         (log1p_test_data): Likewise.
45588         (log2_test_data): Likewise.
45589         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45590         (pow_tonearest_test_data): Likewise.
45591         (sin_test_data): Update call to AUTO_TESTS_f_f.
45592         (sin_test): Use ALL_RM_TEST.
45593         (sin_tonearest_test_data): Remove.
45594         (sin_test_tonearest): Likewise.
45595         (sin_towardzero_test_data): Likewise.
45596         (sin_test_towardzero): Likewise.
45597         (sin_downward_test_data): Likewise.
45598         (sin_test_downward): Likewise.
45599         (sin_upward_test_data): Likewise.
45600         (sin_test_upward): Likewise.
45601         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45602         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45603         (sinh_test): Use ALL_RM_TEST.
45604         (sinh_tonearest_test_data): Remove.
45605         (sinh_test_tonearest): Likewise.
45606         (sinh_towardzero_test_data): Likewise.
45607         (sinh_test_towardzero): Likewise.
45608         (sinh_downward_test_data): Likewise.
45609         (sinh_test_downward): Likewise.
45610         (sinh_upward_test_data): Likewise.
45611         (sinh_test_upward): Likewise.
45612         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45613         (sqrt_test): Use ALL_RM_TEST.
45614         (sqrt_tonearest_test_data): Remove.
45615         (sqrt_test_tonearest): Likewise.
45616         (sqrt_towardzero_test_data): Likewise.
45617         (sqrt_test_towardzero): Likewise.
45618         (sqrt_downward_test_data): Likewise.
45619         (sqrt_test_downward): Likewise.
45620         (sqrt_upward_test_data): Likewise.
45621         (sqrt_test_upward): Likewise.
45622         (tan_test_data): Update call to AUTO_TESTS_f_f.
45623         (tan_test): Use ALL_RM_TEST.
45624         (tan_tonearest_test_data): Remove.
45625         (tan_test_tonearest): Likewise.
45626         (tan_towardzero_test_data): Likewise.
45627         (tan_test_towardzero): Likewise.
45628         (tan_downward_test_data): Likewise.
45629         (tan_test_downward): Likewise.
45630         (tan_upward_test_data): Likewise.
45631         (tan_test_upward): Likewise.
45632         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45633         (tgamma_test_data): Likewise.
45634         (y0_test_data): Likewise.
45635         (y1_test_data): Likewise.
45636         (yn_test_data): Update call to AUTO_TESTS_if_f.
45637         (main): Do not call removed functions.
45639 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45641         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45642         (ldexp_test_data): Remove.
45643         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45644         scalbn_test_data.
45645         (scalb_test): Use ALL_RM_TEST.
45647 2014-03-19  Andreas Schwab  <schwab@suse.de>
45649         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45651 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45653         [BZ #16649]
45654         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45655         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45656         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45658         (__ASSUME_PREADV): Undefine.
45659         (__ASSUME_PWRITEV): Likewise.
45661 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45663         * bits/mman-linux.h: Add comment about non-Linux use.
45664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45665         bits/mman-linux.h resting place.
45667         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45668         * bits/mman-linux.h: ... here.
45670 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45672         * conform/conformtest.pl: Add standard definition when calling C
45673         preprocessor on data files.
45674         (checknamespace): Remove unused variable.
45676 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45678         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45679         minus_oflow, plus_uflow and minus_uflow in expected results.
45680         * math/libm-test.inc (scalbn_test_data): Add more tests of
45681         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45682         minus_uflow.
45683         (scalbn_test): Use ALL_RM_TEST.
45684         (scalbln_test_data): Add more tests of negative arguments.  Use
45685         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45686         (scalbln_test): Use ALL_RM_TEST.
45688 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45690         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45692 2014-03-18  Will Newton  <will.newton@linaro.org>
45694         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45695         inaccurate comment.
45697 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45699         * Makerules [!subdir] (check-abi): Exit with error status if a
45700         test failed.
45702 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45704         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45705         for rint.  Include results for all rounding modes.
45706         (nearbyint_test): Use ALL_RM_TEST.
45707         (rint_test_data): Include all tests used for nearbyint.
45709 2014-03-17  Will Newton  <will.newton@linaro.org>
45711         * nptl/sysdeps/pthread/pthread.h: Revert previous
45712         change.
45714         * sysdeps/generic/ldsodefs.h: Revert previous
45715         change.
45717         * libio/genops.c: Revert previous change.
45718         * libio/libioP.h: Likewise.
45719         * stdio-common/vfprintf.c: Likewise.
45721         * sysdeps/generic/math_private.h: Revert previous
45722         change.
45724         * sysdeps/generic/math_private.h: Check whether
45725         HAVE_RM_CTX is defined with #ifdef rather
45726         than #if.
45728         * argp/argp-fmtstream.h: Check whether
45729         __STRICT_ANSI__ is defined with #ifdef rather
45730         than #if.
45731         * argp/argp.h: Likewise.
45733         * libio/genops.c: Check whether
45734         _IO_JUMPS_OFFSET is defined with #ifdef rather
45735         than #if.
45736         * libio/libioP.h: Likewise.
45737         * stdio-common/vfprintf.c: Likewise.
45739         * sysdeps/generic/ldsodefs.h: Check whether
45740         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45741         than #if.
45743         * nptl/sysdeps/pthread/pthread.h: Check
45744         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45745         its value.
45747 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45749         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45750         setting O_APPEND.
45751         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45752         test case.
45754         [BZ #16680]
45755         * libio/fileops.c (_IO_file_open): Seek to end of file but
45756         don't cache the offset.
45757         (get_file_offset): Remove function.
45758         (do_ftell): Use cached offset when available.
45759         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45760         don't cache the offset.
45761         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45762         case.
45763         (do_one_test): Call it.
45764         (do_ftell_test): Fix up expected old offset for a+ mode.
45765         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45766         available.
45768         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45769         up test status with function return status.
45770         (do_write_test): Likewise.
45771         (do_append_test): Likewise.
45773         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45774         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45775         Remove.
45777 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45779         * math/gen-libm-test.pl (parse_args): Handle results specified for
45780         each rounding mode separately.
45781         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45782         tests and results from lrint_tonearest_test_data,
45783         lrint_towardzero_test_data, lrint_downward_test_data and
45784         lrint_upward_test_data.
45785         (lrint_test): Use ALL_RM_TEST.
45786         (lrint_tonearest_test_data): Remove.
45787         (lrint_test_tonearest): Likewise.
45788         (lrint_towardzero_test_data): Likewise.
45789         (lrint_test_towardzero): Likewise.
45790         (lrint_downward_test_data): Likewise.
45791         (lrint_test_downward): Likewise.
45792         (lrint_upward_test_data): Likewise.
45793         (lrint_test_upward): Likewise.
45794         (llrint_test_data): Merge in per-rounding-mode tests and results
45795         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45796         llrint_downward_test_data and llrint_upward_test_data.
45797         (llrint_test): Use ALL_RM_TEST.
45798         (llrint_tonearest_test_data): Remove.
45799         (llrint_test_tonearest): Likewise.
45800         (llrint_towardzero_test_data): Likewise.
45801         (llrint_test_towardzero): Likewise.
45802         (llrint_downward_test_data): Likewise.
45803         (llrint_test_downward): Likewise.
45804         (llrint_upward_test_data): Likewise.
45805         (llrint_test_upward): Likewise.
45806         (rint_test_data): Merge in per-rounding-mode tests and results
45807         from rint_tonearest_test_data, rint_towardzero_test_data,
45808         rint_downward_test_data and rint_upward_test_data.  Add
45809         per-rounding-mode results for tests not in those arrays.
45810         (rint_test): Use ALL_RM_TEST.
45811         (rint_tonearest_test_data): Remove.
45812         (rint_test_tonearest): Likewise.
45813         (rint_towardzero_test_data): Likewise.
45814         (rint_test_towardzero): Likewise.
45815         (rint_downward_test_data): Likewise.
45816         (rint_test_downward): Likewise.
45817         (rint_upward_test_data): Likewise.
45818         (rint_test_upward): Likewise.
45819         (main): Don't call removed functions.
45821 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45823         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45824         "Compiled on ..." crapola.  It is anti-useful.
45826 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45828         * scripts/evaluate-test.sh: Handle fourth argument to determine
45829         whether test run should stop on failure.
45830         * Makeconfig (stop-on-test-failure): New variable.
45831         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45832         $(stop-on-test-failure).
45833         * Makefile (tests): Give a summary of results from testing and
45834         exit with failure status if they include an ERROR or FAIL.
45835         (xtests): Likewise.
45836         * manual/install.texi (Configuring and compiling): Mention
45837         stop-on-test-failure=y.
45838         * INSTALL: Regenerated.
45840 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45842         * scripts/versionlist.awk: New file.
45843         * Makerules [$(build-shared) = yes]
45844         (postclean-generated): Add Versions.def, not Versions.def.v and
45845         Versions.def.v.i.
45846         ($(common-objpfx)Versions.def.v.i): Target removed.
45847         ($(common-objpfx)Versions.def): New target.
45848         ($(common-objpfx)Versions.all): Depend on that rather that
45849         $(common-objpfx)Versions.def.v.
45850         * Versions.def: File removed.
45852         * Makeconfig (+gccwarn): Add -Wundef.
45853         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45854         a dl-sysdep.h breaking its contract.
45855         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45856         * include/stackinfo.h: New file.
45857         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45858         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45859         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45860         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45861         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45862         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45863         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45864         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45865         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45866         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45867         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45868         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45869         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45870         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45871         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45873 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45875         [BZ #16707]
45876         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
45877         implementation.
45878         * math/libm-test.inc (round_test_data): Add more tests.
45880         [BZ #16706]
45881         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45882         implementation.
45883         * math/libm-test.inc (nearbyint_test_data): Add more tests.
45885         [BZ #16701]
45886         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
45887         implementation.
45888         * math/libm-test.inc (ceil_test_data): Add more tests.
45890         * math/libm-test.inc (trunc_test_data): Add more tests related to
45891         BZ#16414.
45893 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45895         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
45896         with #if rather than #ifdef.
45897         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
45899 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
45901         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
45902         first.  Disable AVX-512 GCC support if assembler doesn't support
45903         it.
45904         * sysdeps/x86_64/configure: Regenerated.
45906 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
45908         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
45909         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
45910         (__old_pthread_attr_setstack): Likewise.
45911         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
45912         [!_STACK_GROWS_DOWN]: Likewise.
45914 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
45916         * config.make.in (have-bash2): Delete.
45917         * configure.ac (libc_cv_have_bash2): Delete.
45918         * configure: Regenerate.
45919         * elf/Makefile (common-ldd-rewrite): Rename to ...
45920         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
45921         (sh-ldd-rewrite): Delete.
45922         (bash-ldd-rewrite): Delete.
45923         (have-bash2): Delete checks.
45924         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
45925         ldd-rewrite.
45927         * config.make.in (have-ksh): Delete.
45928         (KSH): Delete.
45929         * configure.ac (libc_cv_have_ksh): Delete.
45930         * configure: Regenerate.
45932         * elf/Makefile: Delete $(have-ksh) check.
45933         ($(objpfx)sotruss): Change KSH to BASH.
45934         * elf/sotruss.ksh: Rename to ...
45935         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
45936         function style to match POSIX.  Drop ksh vim mode setting.
45938         * manual/time.texi (Specifying the Time Zone with TZ): Change
45939         Tuesday to Thursday.
45941         * debug/tst-longjmp_chk2.c: Update header comment.
45942         (stackoverflow_handler): Add comment.  Call assert on pass value.
45944 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
45946         [BZ #16194]
45947         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
45948         (HAVE_AVX512_ASM_SUPPORT): Likewise.
45949         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
45950         (La_x86_64_vector): Add zmm.
45951         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
45952         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
45953         ($(objpfx)tst-audit10): New target.
45954         ($(objpfx)tst-audit10.out): Likewise.
45955         (tst-audit10-ENV): New.
45956         (AVX512-CFLAGS): Likewise.
45957         (CFLAGS-tst-audit10.c): Likewise.
45958         (CFLAGS-tst-auditmod10a.c): Likewise.
45959         (CFLAGS-tst-auditmod10b.c): Likewise.
45960         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
45961         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
45962         * sysdeps/x86_64/configure: Regenerated.
45963         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
45964         AVX-512 zmm register support.
45965         (_dl_x86_64_save_sse): Likewise.
45966         (_dl_x86_64_restore_sse): Likewise.
45967         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
45968         size vector registers.
45969         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
45970         (ZMM_SIZE): Likewise.
45971         * sysdeps/x86_64/tst-audit10.c: New file.
45972         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
45973         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
45975 2014-03-13  Roland McGrath  <roland@hack.frob.com>
45977         * configure.ac (HAVE_EHDR_START): New check.
45978         * configure: Regenerated.
45979         * config.h.in (HAVE_EHDR_START): New #undef.
45980         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
45981         assuming the lowest-addressed segment maps the start of the file.
45983 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
45985         * INSTALL: Regenerated.
45987 2014-03-13  Will Newton  <will.newton@linaro.org>
45989         * manual/setjmp.texi (System V contexts): Improve
45990         clarity and grammar of documentation.
45992 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
45994         [BZ #16381]
45995         * elf/Makefile (tests): Add tst-pie2.
45996         (tests-pie): Add tst-pie2.
45997         * elf/tst-pie2.c: New file.
45998         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
45999         for ET_EXEC.
46000         * elf/rtld.c (map_doit): Load executable as lt_executable.
46001         (dl_main): Likewise.
46003 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46005         [BZ #16642]
46006         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46007         (__ASSUME_PSELECT): Undefine.
46009 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46011         [BZ #16689]
46012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46013         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46014         static build.
46015         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46016         selector for static builds.
46018 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46020         [BZ #16695]
46021         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46022         key in the buffer.
46024 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46026         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46027         IFUNC selector for static builds.
46029 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46031         * sysdeps/mips/math_private.h [__mips_hard_float]
46032         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46033         libc_feresetround_mips_ctx.
46034         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46035         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46036         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46038         [BZ #16677]
46039         * math/s_nextafter.c (__nextafter): Do not return value from
46040         overflowing computation.
46041         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46042         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46043         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46044         Likewise.
46045         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46046         Likewise.
46047         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46048         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46050 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46052         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46053         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46054         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46055         the new mov targetting sp.
46057 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46059         [BZ #16683]
46060         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46061         Define it for static builds as well.
46062         (NO_BZERO_IMPL): Likewise.
46064 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46066         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46067         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46068         multiarch strspn for PPC64.
46069         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46070         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46072         (__libc_ifunc_impl_list): Likewise.
46073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46074         multiarch optimizations
46075         * string/strspn.c (strspn): Using macro to redefine symbol name.
46077 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46078             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46080         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46081         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46082         multiarch strncat for PPC64.
46083         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46084         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46086         (__libc_ifunc_impl_list): Likewise.
46087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46088         multiarch optimizations
46090 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46092         [BZ #16639]
46093         * nscd/nscd.service: Make service type forking.
46095 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46097         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46098         sign in non default rounding modes.
46099         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46101 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46103         * math/libm-test.inc (ALL_RM_TEST): New macro.
46104         (ceil_test): Use ALL_RM_TEST.
46105         (cimag_test): Likewise.
46106         (conj_test): Likewise.
46107         (copysign_test): Likewise.
46108         (cproj_test): Likewise.
46109         (creal_test): Likewise.
46110         (fabs_test): Likewise.
46111         (floor_test): Likewise.
46112         (fmax_test): Likewise.
46113         (fmin_test): Likewise.
46114         (fmod_test): Likewise.
46115         (fpclassify_test): Likewise.
46116         (frexp_test): Likewise.
46117         (ilogb_test): Likewise.
46118         (isfinite_test): Likewise.
46119         (finite_test): Likewise.
46120         (isgreater_test): Likewise.
46121         (isgreaterequal_test): Likewise.
46122         (isinf_test): Likewise.
46123         (isless_test): Likewise.
46124         (islessequal_test): Likewise.
46125         (islessgreater_test): Likewise.
46126         (isnan_test): Likewise.
46127         (isnormal_test): Likewise.
46128         (issignaling_test): Likewise.
46129         (isunordered_test): Likewise.
46130         (logb_test): Likewise.
46131         (logb_downward_test_data): Remove.
46132         (logb_test_downward): Likewise.
46133         (lround_test): Use ALL_RM_TEST.
46134         (llround_test): Likewise.
46135         (modf_test): Likewise.
46136         (nexttoward_test): Likewise.
46137         (remainder_test): Likewise.
46138         (drem_test): Likewise.
46139         (remainder_tonearest_test_data): Likewise.
46140         (remainder_test_tonearest): Likewise.
46141         (drem_test_tonearest): Likewise.
46142         (remainder_towardzero_test_data): Likewise.
46143         (remainder_test_towardzero): Likewise.
46144         (drem_test_towardzero): Likewise.
46145         (remainder_downward_test_data): Likewise.
46146         (remainder_test_downward): Likewise.
46147         (drem_test_downward): Likewise.
46148         (remainder_upward_test_data): Likewise.
46149         (remainder_test_upward): Likewise.
46150         (drem_test_upward): Likewise.
46151         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46152         (round_test): Use ALL_RM_TEST.
46153         (signbit_test): Likewise.
46154         (trunc_test): Likewise.
46155         (significand_test): Likewise.
46156         (main): Don't call removed functions.
46158 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46160         [BZ #16674]
46161         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46162         || __USE_XOPEN2K8].
46163         (ILL_ILLOPN): Likewise.
46164         (ILL_ILLADR): Likewise.
46165         (ILL_ILLTRP): Likewise.
46166         (ILL_PRVOPC): Likewise.
46167         (ILL_PRVREG): Likewise.
46168         (ILL_COPROC): Likewise.
46169         (ILL_BADSTK): Likewise.
46170         (FPE_INTDIV): Likewise.
46171         (FPE_INTOVF): Likewise.
46172         (FPE_FLTDIV): Likewise.
46173         (FPE_FLTOVF): Likewise.
46174         (FPE_FLTUND): Likewise.
46175         (FPE_FLTRES): Likewise.
46176         (FPE_FLTINV): Likewise.
46177         (FPE_FLTSUB): Likewise.
46178         (SEGV_MAPERR): Likewise.
46179         (SEGV_ACCERR): Likewise.
46180         (BUS_ADRALN): Likewise.
46181         (BUS_ADRERR): Likewise.
46182         (BUS_OBJERR): Likewise.
46183         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46184         (TRAP_TRACE): Likewise.
46185         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46186         __USE_XOPEN2K8].
46187         (CLD_KILLED): Likewise.
46188         (CLD_DUMPED): Likewise.
46189         (CLD_TRAPPED): Likewise.
46190         (CLD_STOPPED): Likewise.
46191         (CLD_CONTINUED): Likewise.
46192         (POLL_IN): Likewise.
46193         (POLL_OUT): Likewise.
46194         (POLL_MSG): Likewise.
46195         (POLL_ERR): Likewise.
46196         (POLL_PRI): Likewise.
46197         (POLL_HUP): Likewise.
46198         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
46199         Likewise.
46200         (ILL_ILLOPN): Likewise.
46201         (ILL_ILLADR): Likewise.
46202         (ILL_ILLTRP): Likewise.
46203         (ILL_PRVOPC): Likewise.
46204         (ILL_PRVREG): Likewise.
46205         (ILL_COPROC): Likewise.
46206         (ILL_BADSTK): Likewise.
46207         (FPE_INTDIV): Likewise.
46208         (FPE_INTOVF): Likewise.
46209         (FPE_FLTDIV): Likewise.
46210         (FPE_FLTOVF): Likewise.
46211         (FPE_FLTUND): Likewise.
46212         (FPE_FLTRES): Likewise.
46213         (FPE_FLTINV): Likewise.
46214         (FPE_FLTSUB): Likewise.
46215         (SEGV_MAPERR): Likewise.
46216         (SEGV_ACCERR): Likewise.
46217         (BUS_ADRALN): Likewise.
46218         (BUS_ADRERR): Likewise.
46219         (BUS_OBJERR): Likewise.
46220         (BUS_MCEERR_AR): Likewise.
46221         (BUS_MCEERR_AO): Likewise.
46222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46223         (TRAP_TRACE): Likewise.
46224         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46225         __USE_XOPEN2K8].
46226         (CLD_KILLED): Likewise.
46227         (CLD_DUMPED): Likewise.
46228         (CLD_TRAPPED): Likewise.
46229         (CLD_STOPPED): Likewise.
46230         (CLD_CONTINUED): Likewise.
46231         (POLL_IN): Likewise.
46232         (POLL_OUT): Likewise.
46233         (POLL_MSG): Likewise.
46234         (POLL_ERR): Likewise.
46235         (POLL_PRI): Likewise.
46236         (POLL_HUP): Likewise.
46237         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
46238         (ILL_ILLOPN): Likewise.
46239         (ILL_ILLADR): Likewise.
46240         (ILL_ILLTRP): Likewise.
46241         (ILL_PRVOPC): Likewise.
46242         (ILL_PRVREG): Likewise.
46243         (ILL_COPROC): Likewise.
46244         (ILL_BADSTK): Likewise.
46245         (FPE_INTDIV): Likewise.
46246         (FPE_INTOVF): Likewise.
46247         (FPE_FLTDIV): Likewise.
46248         (FPE_FLTOVF): Likewise.
46249         (FPE_FLTUND): Likewise.
46250         (FPE_FLTRES): Likewise.
46251         (FPE_FLTINV): Likewise.
46252         (FPE_FLTSUB): Likewise.
46253         (SEGV_MAPERR): Likewise.
46254         (SEGV_ACCERR): Likewise.
46255         (BUS_ADRALN): Likewise.
46256         (BUS_ADRERR): Likewise.
46257         (BUS_OBJERR): Likewise.
46258         (BUS_MCEERR_AR): Likewise.
46259         (BUS_MCEERR_AO): Likewise.
46260         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46261         (TRAP_TRACE): Likewise.
46262         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46263         __USE_XOPEN2K8].
46264         (CLD_KILLED): Likewise.
46265         (CLD_DUMPED): Likewise.
46266         (CLD_TRAPPED): Likewise.
46267         (CLD_STOPPED): Likewise.
46268         (CLD_CONTINUED): Likewise.
46269         (POLL_IN): Likewise.
46270         (POLL_OUT): Likewise.
46271         (POLL_MSG): Likewise.
46272         (POLL_ERR): Likewise.
46273         (POLL_PRI): Likewise.
46274         (POLL_HUP): Likewise.
46275         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46276         Likewise.
46277         (ILL_ILLOPN): Likewise.
46278         (ILL_ILLADR): Likewise.
46279         (ILL_ILLTRP): Likewise.
46280         (ILL_PRVOPC): Likewise.
46281         (ILL_PRVREG): Likewise.
46282         (ILL_COPROC): Likewise.
46283         (ILL_BADSTK): Likewise.
46284         (ILL_BADIADDR): Likewise.
46285         (ILL_BREAK): Likewise.
46286         (FPE_INTDIV): Likewise.
46287         (FPE_INTOVF): Likewise.
46288         (FPE_FLTDIV): Likewise.
46289         (FPE_FLTOVF): Likewise.
46290         (FPE_FLTUND): Likewise.
46291         (FPE_FLTRES): Likewise.
46292         (FPE_FLTINV): Likewise.
46293         (FPE_FLTSUB): Likewise.
46294         (FPE_DECOVF): Likewise.
46295         (FPE_DECDIV): Likewise.
46296         (FPE_DECERR): Likewise.
46297         (FPE_INVASC): Likewise.
46298         (FPE_INVDEC): Likewise.
46299         (SEGV_MAPERR): Likewise.
46300         (SEGV_ACCERR): Likewise.
46301         (SEGV_PSTKOVF): Likewise.
46302         (BUS_ADRALN): Likewise.
46303         (BUS_ADRERR): Likewise.
46304         (BUS_OBJERR): Likewise.
46305         (BUS_MCEERR_AR): Likewise.
46306         (BUS_MCEERR_AO): Likewise.
46307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46308         (TRAP_TRACE): Likewise.
46309         (TRAP_BRANCH): Likewise.
46310         (TRAP_HWBKPT): Likewise.
46311         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46312         __USE_XOPEN2K8].
46313         (CLD_KILLED): Likewise.
46314         (CLD_DUMPED): Likewise.
46315         (CLD_TRAPPED): Likewise.
46316         (CLD_STOPPED): Likewise.
46317         (CLD_CONTINUED): Likewise.
46318         (POLL_IN): Likewise.
46319         (POLL_OUT): Likewise.
46320         (POLL_MSG): Likewise.
46321         (POLL_ERR): Likewise.
46322         (POLL_PRI): Likewise.
46323         (POLL_HUP): Likewise.
46324         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46325         (ILL_ILLOPN): Likewise.
46326         (ILL_ILLADR): Likewise.
46327         (ILL_ILLTRP): Likewise.
46328         (ILL_PRVOPC): Likewise.
46329         (ILL_PRVREG): Likewise.
46330         (ILL_COPROC): Likewise.
46331         (ILL_BADSTK): Likewise.
46332         (FPE_INTDIV): Likewise.
46333         (FPE_INTOVF): Likewise.
46334         (FPE_FLTDIV): Likewise.
46335         (FPE_FLTOVF): Likewise.
46336         (FPE_FLTUND): Likewise.
46337         (FPE_FLTRES): Likewise.
46338         (FPE_FLTINV): Likewise.
46339         (FPE_FLTSUB): Likewise.
46340         (SEGV_MAPERR): Likewise.
46341         (SEGV_ACCERR): Likewise.
46342         (BUS_ADRALN): Likewise.
46343         (BUS_ADRERR): Likewise.
46344         (BUS_OBJERR): Likewise.
46345         (BUS_MCEERR_AR): Likewise.
46346         (BUS_MCEERR_AO): Likewise.
46347         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46348         (TRAP_TRACE): Likewise.
46349         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46350         __USE_XOPEN2K8].
46351         (CLD_KILLED): Likewise.
46352         (CLD_DUMPED): Likewise.
46353         (CLD_TRAPPED): Likewise.
46354         (CLD_STOPPED): Likewise.
46355         (CLD_CONTINUED): Likewise.
46356         (POLL_IN): Likewise.
46357         (POLL_OUT): Likewise.
46358         (POLL_MSG): Likewise.
46359         (POLL_ERR): Likewise.
46360         (POLL_PRI): Likewise.
46361         (POLL_HUP): Likewise.
46362         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46363         (ILL_ILLOPN): Likewise.
46364         (ILL_ILLADR): Likewise.
46365         (ILL_ILLTRP): Likewise.
46366         (ILL_PRVOPC): Likewise.
46367         (ILL_PRVREG): Likewise.
46368         (ILL_COPROC): Likewise.
46369         (ILL_BADSTK): Likewise.
46370         (FPE_INTDIV): Likewise.
46371         (FPE_INTOVF): Likewise.
46372         (FPE_FLTDIV): Likewise.
46373         (FPE_FLTOVF): Likewise.
46374         (FPE_FLTUND): Likewise.
46375         (FPE_FLTRES): Likewise.
46376         (FPE_FLTINV): Likewise.
46377         (FPE_FLTSUB): Likewise.
46378         (SEGV_MAPERR): Likewise.
46379         (SEGV_ACCERR): Likewise.
46380         (BUS_ADRALN): Likewise.
46381         (BUS_ADRERR): Likewise.
46382         (BUS_OBJERR): Likewise.
46383         (BUS_MCEERR_AR): Likewise.
46384         (BUS_MCEERR_AO): Likewise.
46385         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46386         (TRAP_TRACE): Likewise.
46387         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46388         __USE_XOPEN2K8].
46389         (CLD_KILLED): Likewise.
46390         (CLD_DUMPED): Likewise.
46391         (CLD_TRAPPED): Likewise.
46392         (CLD_STOPPED): Likewise.
46393         (CLD_CONTINUED): Likewise.
46394         (POLL_IN): Likewise.
46395         (POLL_OUT): Likewise.
46396         (POLL_MSG): Likewise.
46397         (POLL_ERR): Likewise.
46398         (POLL_PRI): Likewise.
46399         (POLL_HUP): Likewise.
46400         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46401         (ILL_ILLOPN): Likewise.
46402         (ILL_ILLADR): Likewise.
46403         (ILL_ILLTRP): Likewise.
46404         (ILL_PRVOPC): Likewise.
46405         (ILL_PRVREG): Likewise.
46406         (ILL_COPROC): Likewise.
46407         (ILL_BADSTK): Likewise.
46408         (FPE_INTDIV): Likewise.
46409         (FPE_INTOVF): Likewise.
46410         (FPE_FLTDIV): Likewise.
46411         (FPE_FLTOVF): Likewise.
46412         (FPE_FLTUND): Likewise.
46413         (FPE_FLTRES): Likewise.
46414         (FPE_FLTINV): Likewise.
46415         (FPE_FLTSUB): Likewise.
46416         (SEGV_MAPERR): Likewise.
46417         (SEGV_ACCERR): Likewise.
46418         (BUS_ADRALN): Likewise.
46419         (BUS_ADRERR): Likewise.
46420         (BUS_OBJERR): Likewise.
46421         (BUS_MCEERR_AR): Likewise.
46422         (BUS_MCEERR_AO): Likewise.
46423         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46424         (TRAP_TRACE): Likewise.
46425         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46426         __USE_XOPEN2K8].
46427         (CLD_KILLED): Likewise.
46428         (CLD_DUMPED): Likewise.
46429         (CLD_TRAPPED): Likewise.
46430         (CLD_STOPPED): Likewise.
46431         (CLD_CONTINUED): Likewise.
46432         (POLL_IN): Likewise.
46433         (POLL_OUT): Likewise.
46434         (POLL_MSG): Likewise.
46435         (POLL_ERR): Likewise.
46436         (POLL_PRI): Likewise.
46437         (POLL_HUP): Likewise.
46438         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46439         (ILL_ILLOPN): Likewise.
46440         (ILL_ILLADR): Likewise.
46441         (ILL_ILLTRP): Likewise.
46442         (ILL_PRVOPC): Likewise.
46443         (ILL_PRVREG): Likewise.
46444         (ILL_COPROC): Likewise.
46445         (ILL_BADSTK): Likewise.
46446         (ILL_DBLFLT): Likewise.
46447         (ILL_HARDWALL): Likewise.
46448         (FPE_INTDIV): Likewise.
46449         (FPE_INTOVF): Likewise.
46450         (FPE_FLTDIV): Likewise.
46451         (FPE_FLTOVF): Likewise.
46452         (FPE_FLTUND): Likewise.
46453         (FPE_FLTRES): Likewise.
46454         (FPE_FLTINV): Likewise.
46455         (FPE_FLTSUB): Likewise.
46456         (SEGV_MAPERR): Likewise.
46457         (SEGV_ACCERR): Likewise.
46458         (BUS_ADRALN): Likewise.
46459         (BUS_ADRERR): Likewise.
46460         (BUS_OBJERR): Likewise.
46461         (BUS_MCEERR_AR): Likewise.
46462         (BUS_MCEERR_AO): Likewise.
46463         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46464         (TRAP_TRACE): Likewise.
46465         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46466         __USE_XOPEN2K8].
46467         (CLD_KILLED): Likewise.
46468         (CLD_DUMPED): Likewise.
46469         (CLD_TRAPPED): Likewise.
46470         (CLD_STOPPED): Likewise.
46471         (CLD_CONTINUED): Likewise.
46472         (POLL_IN): Likewise.
46473         (POLL_OUT): Likewise.
46474         (POLL_MSG): Likewise.
46475         (POLL_ERR): Likewise.
46476         (POLL_PRI): Likewise.
46477         (POLL_HUP): Likewise.
46478         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46479         (ILL_ILLOPN): Likewise.
46480         (ILL_ILLADR): Likewise.
46481         (ILL_ILLTRP): Likewise.
46482         (ILL_PRVOPC): Likewise.
46483         (ILL_PRVREG): Likewise.
46484         (ILL_COPROC): Likewise.
46485         (ILL_BADSTK): Likewise.
46486         (FPE_INTDIV): Likewise.
46487         (FPE_INTOVF): Likewise.
46488         (FPE_FLTDIV): Likewise.
46489         (FPE_FLTOVF): Likewise.
46490         (FPE_FLTUND): Likewise.
46491         (FPE_FLTRES): Likewise.
46492         (FPE_FLTINV): Likewise.
46493         (FPE_FLTSUB): Likewise.
46494         (SEGV_MAPERR): Likewise.
46495         (SEGV_ACCERR): Likewise.
46496         (BUS_ADRALN): Likewise.
46497         (BUS_ADRERR): Likewise.
46498         (BUS_OBJERR): Likewise.
46499         (BUS_MCEERR_AR): Likewise.
46500         (BUS_MCEERR_AO): Likewise.
46501         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46502         (TRAP_TRACE): Likewise.
46503         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46504         __USE_XOPEN2K8].
46505         (CLD_KILLED): Likewise.
46506         (CLD_DUMPED): Likewise.
46507         (CLD_TRAPPED): Likewise.
46508         (CLD_STOPPED): Likewise.
46509         (CLD_CONTINUED): Likewise.
46510         (POLL_IN): Likewise.
46511         (POLL_OUT): Likewise.
46512         (POLL_MSG): Likewise.
46513         (POLL_ERR): Likewise.
46514         (POLL_PRI): Likewise.
46515         (POLL_HUP): Likewise.
46516         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46517         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46519         [BZ #16670]
46520         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46521         before #include of <time.h>.
46522         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46523         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46524         (test-xfail-UNIX98/sched.h/conform): Likewise.
46526 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46528         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46529         error absence of trapping exception support.
46530         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46532 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46534         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46535         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46536         * timezone/Makefile (testdata): Move definition above include of
46537         Rules.
46538         (test-zones): New variable.
46539         (tests-special): Add zone files.
46540         (build-testdata): Use $(evaluate-test).
46542         * elf/Makefile (tests-special): Rename tests to end with .out.
46543         ($(objpfx)noload-mem): Likewise.
46544         ($(objpfx)tst-leaks1-mem): Likewise.
46545         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46546         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46547         $(objpfx)test-iconvconfig.out.
46548         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46549         set -e inside subshell and redirect output to file.
46550         * iconvdata/Makefile (generated): Rename tests to end with .out.
46551         Correct type.
46552         (tests-special): Rename tests to end with .out.
46553         ($(objpfx)mtrace-tst-loading): Likewise.
46554         * intl/Makefile (generated): Likewise.
46555         (tests-special): Likewise.
46556         ($(objpfx)mtrace-tst-gettext): Likewise.
46557         * misc/Makefile (generated): Likewise.
46558         (tests-special): Likewise.
46559         ($(objpfx)tst-error1-mem): Likewise.
46560         * nptl/Makefile (tests-special): Likewise.
46561         ($(objpfx)tst-stack3-mem): Likewise.
46562         (generated): Likewise.
46563         * posix/Makefile (generated): Likewise.
46564         (tests-special): Likewise.
46565         (xtests-special): Likewise.
46566         ($(objpfx)tst-fnmatch-mem): Likewise.
46567         ($(objpfx)bug-regex2-mem): Likewise.
46568         ($(objpfx)bug-regex14-mem): Likewise.
46569         ($(objpfx)bug-regex21-mem): Likewise.
46570         ($(objpfx)bug-regex31-mem): Likewise.
46571         ($(objpfx)tst-vfork3-mem): Likewise.
46572         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46573         ($(objpfx)tst-pcre-mem): Likewise.
46574         ($(objpfx)tst-boost-mem): Likewise.
46575         ($(objpfx)bug-ga2-mem): Likewise.
46576         ($(objpfx)bug-glob2-mem): Likewise.
46577         * resolv/Makefile (generate): Likewise.
46578         (tests-special): Likewise.
46579         (xtests-special): Likewise.
46580         (generated): Likewise.
46581         ($(objpfx)mtrace-tst-leaks): Likewise.
46582         ($(objpfx)mtrace-tst-leaks2): Likewise.
46584         * scripts/merge-test-results.sh: New file.
46585         * Makefile (tests-special-notdir): New variable.
46586         (tests): Run merge-test-results.sh.
46587         (xtests): Likewise.
46588         * Rules (tests-special-notdir): New variable.
46589         (xtests-special-notdir): Likewise.
46590         (tests): Run merge-test-results.sh
46591         (xtests): Likewise.
46593         * Makeconfig (test-xfail-name): New variable.
46594         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46595         compute variable name for expected failures.
46596         * conform/Makefile (conformtest-headers-data): New variable.
46597         (conformtest-standards): Likewise.
46598         (conformtest-headers-ISO): Likewise.
46599         (conformtest-headers-ISO99): Likewise.
46600         (conformtest-headers-ISO11): Likewise.
46601         (conformtest-headers-POSIX): Likewise.
46602         (conformtest-headers-XPG3): Likewise.
46603         (conformtest-headers-XPG4): Likewise.
46604         (conformtest-headers-UNIX98): Likewise.
46605         (conformtest-headers-XOPEN2K): Likewise.
46606         (conformtest-headers-POSIX2008): Likewise.
46607         (conformtest-headers-XOPEN2K8): Likewise.
46608         (conformtest-header-list-base): Likewise.
46609         (conformtest-header-list-tests): Likewise.
46610         (conformtest-header-base): Likewise.
46611         (conformtest-header-tests): Likewise.
46612         (tests-special): Add $(conformtest-header-list-tests).  If
46613         [$(fast-check) && !$(cross-compiling)], add
46614         $(conformtest-header-tests) instead of
46615         $(objpfx)run-conformtest.out.
46616         (generated): Add $(conformtest-header-list-base).  If
46617         [$(fast-check) && !$(cross-compiling)], add
46618         $(conformtest-header-base).  Remove previous setting.
46619         ($(conformtest-header-list-tests)): New target.
46620         (test-xfail-run-conformtest): Remove variable.
46621         ($(objpfx)run-conformtest.out): Remove target.
46622         (test-xfail-ISO11/complex.h/conform): New variable.
46623         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46624         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46625         (test-xfail-XPG3/varargs.h/conform): Likewise.
46626         (test-xfail-XPG4/varargs.h/conform): Likewise.
46627         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46628         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46629         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46630         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46631         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46632         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46633         (test-xfail-XPG3/ftw.h/conform): Likewise.
46634         (test-xfail-XPG3/grp.h/conform): Likewise.
46635         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46636         (test-xfail-XPG3/limits.h/conform): Likewise.
46637         (test-xfail-XPG3/pwd.h/conform): Likewise.
46638         (test-xfail-XPG3/search.h/conform): Likewise.
46639         (test-xfail-XPG3/signal.h/conform): Likewise.
46640         (test-xfail-XPG3/stdio.h/conform): Likewise.
46641         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46642         (test-xfail-XPG3/string.h/conform): Likewise.
46643         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46644         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46645         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46646         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46647         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46648         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46649         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46650         (test-xfail-XPG3/termios.h/conform): Likewise.
46651         (test-xfail-XPG3/time.h/conform): Likewise.
46652         (test-xfail-XPG3/unistd.h/conform): Likewise.
46653         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46654         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46655         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46656         (test-xfail-XPG4/netdb.h/conform): Likewise.
46657         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46658         (test-xfail-XPG4/signal.h/conform): Likewise.
46659         (test-xfail-XPG4/stdio.h/conform): Likewise.
46660         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46661         (test-xfail-XPG4/stropts.h/conform): Likewise.
46662         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46663         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46664         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46665         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46666         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46667         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46668         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46669         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46670         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46671         (test-xfail-XPG4/termios.h/conform): Likewise.
46672         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46673         (test-xfail-XPG4/unistd.h/conform): Likewise.
46674         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46675         (test-xfail-POSIX/sched.h/conform): Likewise.
46676         (test-xfail-POSIX/signal.h/conform): Likewise.
46677         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46678         (test-xfail-POSIX/tar.h/conform): Likewise.
46679         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46680         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46681         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46682         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46683         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46684         (test-xfail-UNIX98/sched.h/conform): Likewise.
46685         (test-xfail-UNIX98/signal.h/conform): Likewise.
46686         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46687         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46688         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46689         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46690         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46691         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46692         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46693         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46694         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46695         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46696         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46697         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46698         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46699         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46700         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46701         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46702         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46703         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46704         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46705         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46706         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46707         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46708         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46709         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46710         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46711         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46712         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46713         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46714         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46715         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46716         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46717         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46718         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46719         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46720         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46721         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46722         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46723         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46724         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46725         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46726         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46727         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46728         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46729         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46730         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46731         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46732         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46733         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46734         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46735         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46736         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46737         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46738         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46739         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46740         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46741         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46742         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46743         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46744         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46745         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46746         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46747         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46748         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46749         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46750         (conformtest-cc-flags): Likewise.
46751         ($(conformtest-header-tests): New target.
46752         * conform/check-header-lists.sh: New file.
46753         * conform/run-conformtest.sh: Remove.
46755         * conform/conformtest.pl: Allow ' and \ in values given for
46756         constants.
46757         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46758         inclusion.
46759         [POSIX] (sys/types.h): Likewise.
46760         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46761         inclusion.
46762         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46763         inclusion.
46764         * conform/data/signal.h-data (SIGIO): Remove expectation.
46765         [XPG3] (SIGBUS): Do not expect.
46766         [POSIX || XPG3] (SIGPOLL): Likewise.
46767         [POSIX || XPG3] (SIGPROF): Likewise.
46768         [POSIX || XPG3] (SIGSYS): Likewise.
46769         [XPG3] (SIGTRAP): Likewise.
46770         [POSIX || XPG3] (SIGURG): Likewise.
46771         [POSIX || XPG3] (SIGVTALRM): Likewise.
46772         [POSIX || XPG3] (SIGXCPU): Likewise.
46773         [POSIX || XPG3] (SIGXFSZ): Likewise.
46774         [POSIX] (SA_SIGINFO): Expect.
46775         [XPG3] (siginfo_t): Do not expect type or contents.
46776         [POSIX] (si_pid): Do not expect element.
46777         [POSIX] (si_uid): Likewise.
46778         [POSIX] (si_addr): Likewise.
46779         [POSIX] (si_status): Likewise.
46780         [POSIX] (si_band): Likewise.
46781         [XPG4] (si_value): Likewise.
46782         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46783         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46784         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46785         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46786         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46787         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46788         [POSIX || XPG3] (ILL_COPROC): Likewise.
46789         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46790         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46791         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46792         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46793         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46794         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46795         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46796         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46797         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46798         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46799         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46800         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46801         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46802         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46803         [POSIX || XPG3] (CLD_EXITED): Likewise.
46804         [POSIX || XPG3] (CLD_KILLED): Likewise.
46805         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46806         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46807         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46808         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46809         [POSIX || XPG3] (POLL_IN): Likewise.
46810         [POSIX || XPG3] (POLL_OUT): Likewise.
46811         [POSIX || XPG3] (POLL_MSG): Likewise.
46812         [POSIX || XPG3] (POLL_ERR): Likewise.
46813         [POSIX || XPG3] (POLL_PRI): Likewise.
46814         [POSIX || XPG3] (POLL_HUP): Likewise.
46815         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46816         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46817         (SIG*): Do not allow.
46818         [XPG3] (si_*): Likewise.
46819         [XPG3] (SI_*): Likewise.
46820         [XPG3 || XPG4] (sigev_*): Likewise.
46821         [XPG3 || XPG4] (SIGEV_*): Likewise.
46822         [XPG3 || XPG4] (sival_*): Likewise.
46823         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46824         [POSIX || XPG3] (BUS_*): Likewise.
46825         [POSIX || XPG3] (CLD_*): Likewise.
46826         [POSIX || XPG3] (FPE_*): Likewise.
46827         [POSIX || XPG3] (ILL_*): Likewise.
46828         [POSIX || XPG3] (POLL_*): Likewise.
46829         [POSIX || XPG3] (SEGV_*): Likewise.
46830         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46831         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46832         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46833         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46834         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46835         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46836         Specify type and value.
46837         (TVERSLEN): Likewise.
46838         (REGTYPE): Likewise.
46839         (AREGTYPE): Likewise.
46840         (LNKTYPE): Likewise.
46841         (SYMTYPE): Likewise.
46842         (CHRTYPE): Likewise.
46843         (BLKTYPE): Likewise.
46844         (DIRTYPE): Likewise.
46845         (FIFOTYPE): Likewise.
46846         (CONTTYPE): Likewise.
46847         (TSUID): Likewise.
46848         (TSGID): Likewise.
46849         (TSVTX): Likewise.
46850         (TUREAD): Likewise.
46851         (TUWRITE): Likewise.
46852         (TUEXEC): Likewise.
46853         (TGREAD): Likewise.
46854         (TGWRITE): Likewise.
46855         (TGEXEC): Likewise.
46856         (TOREAD): Likewise.
46857         (TOWRITE): Likewise.
46858         (TOEXEC): Likewise.
46859         [POSIX] (TSVTX): Expect constant.
46861 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
46863         * Makefile (tests): Change dependencies to ....
46864         (tests-special): ... additions to this variable.
46865         (tests): Depend on $(tests-special).
46866         * Makerules (check-abi-list): New variable.
46867         (check-abi): Depend on $(check-abi-list).
46868         [$(subdir) = elf] (tests-special): Add
46869         $(objpfx)check-abi-libc.out.
46870         [$(build-shared) = yes && subdir] (tests-special): Add
46871         $(check-abi-list).
46872         [$(build-shared) = yes && subdir] (tests): Do not depend on
46873         check-abi.
46874         * Rules (tests): Depend on $(tests-special).
46875         (xtests): Depend on $(xtests-special).
46876         * catgets/Makefile (tests): Change dependencies to ....
46877         (tests-special): ... additions to this variable.
46878         * conform/Makefile (tests): Change dependencies to ....
46879         (tests-special): ... additions to this variable.
46880         * elf/Makefile (tests): Change dependencies to ....
46881         (tests-special): ... additions to this variable.
46882         * grp/Makefile (tests): Change dependencies to ....
46883         (tests-special): ... additions to this variable.
46884         * iconv/Makefile (xtests): Change dependencies to ....
46885         (xtests-special): ... additions to this variable.
46886         * iconvdata/Makefile (tests): Change dependencies to ....
46887         (tests-special): ... additions to this variable.
46888         * intl/Makefile (tests): Change dependencies to ....
46889         (tests-special): ... additions to this variable.  Also add
46890         $(objpfx)tst-gettext.out.
46891         * io/Makefile (tests): Change dependencies to ....
46892         (tests-special): ... additions to this variable.
46893         * libio/Makefile (tests): Change dependencies to ....
46894         (tests-special): ... additions to this variable.
46895         * malloc/Makefile (tests): Change dependencies to ....
46896         (tests-special): ... additions to this variable.
46897         * misc/Makefile (tests): Change dependencies to ....
46898         (tests-special): ... additions to this variable.
46899         * nptl/Makefile (tests): Change dependencies to ....
46900         (tests-special): ... additions to this variable.
46901         * nptl_db/Makefile (tests): Change dependencies to ....
46902         (tests-special): ... additions to this variable.
46903         * posix/Makefile (tests): Change dependencies to ....
46904         (tests-special): ... additions to this variable.
46905         (xtests): Change dependencies to ....
46906         (xtests-special): ... additions to this variable.
46907         * resolv/Makefile (tests): Change dependencies to ....
46908         (tests-special): ... additions to this variable.
46909         (xtests): Change dependencies to ....
46910         (xtests-special): ... additions to this variable.
46911         * stdio-common/Makefile (tests): Change dependencies to ....
46912         (tests-special): ... additions to this variable.
46913         (do-tst-unbputc): Remove target.
46914         (do-tst-printf): Likewise.
46915         * stdlib/Makefile (tests): Change dependencies to ....
46916         (tests-special): ... additions to this variable.
46917         * string/Makefile (tests): Change dependencies to ....
46918         (tests-special): ... additions to this variable.
46919         * sysdeps/x86/Makefile (tests): Change dependencies to ....
46920         (tests-special): ... additions to this variable.
46922         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
46923         whole file.
46924         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
46925         whole file.
46926         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
46927         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
46929         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
46930         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
46931         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
46932         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
46933         * conform/data/libgen.h-data [XPG3]: Likewise.
46934         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
46935         * conform/data/ndbm.h-data [XPG3]: Likewise.
46936         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46937         * conform/data/netdb.h-data [XPG3]: Likewise.
46938         * conform/data/netinet/in.h-data [XPG3]: Likewise.
46939         * conform/data/poll.h-data [XPG3]: Likewise.
46940         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46941         * conform/data/strings.h-data [XPG3]: Likewise.
46942         * conform/data/stropts.h-data [XPG3]: Likewise.
46943         * conform/data/sys/mman.h-data [XPG3]: Likewise.
46944         * conform/data/sys/resource.h-data [XPG3]: Likewise.
46945         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
46946         Likewise.
46947         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
46948         * conform/data/sys/time.h-data [XPG3]: Likewise.
46949         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
46950         * conform/data/sys/uio.h-data [XPG3]: Likewise.
46951         * conform/data/sys/un.h-data [XPG3]: Likewise.
46952         * conform/data/syslog.h-data [XPG3]: Likewise.
46953         * conform/data/ucontext.h-data [XPG3]: Likewise.
46954         * conform/data/utmpx.h-data [XPG3]: Likewise.
46955         * conform/data/varargs.h-data [UNIX98]: Enable file.
46957         * manual/Makefile (INSTALL_INFO): Remove variable setting.
46959         * math/libm-test.inc (struct test_f_f_data): Move expected results
46960         into structure for each rounding mode.
46961         (struct test_ff_f_data): Likewise.
46962         (struct test_ff_f_data_nexttoward): Likewise.
46963         (struct test_fi_f_data): Likewise.
46964         (struct test_fl_f_data): Likewise.
46965         (struct test_if_f_data): Likewise.
46966         (struct test_fff_f_data): Likewise.
46967         (struct test_c_f_data): Likewise.
46968         (struct test_f_f1_data): Likewise.
46969         (struct test_fF_f1_data): Likewise.
46970         (struct test_ffI_f1_data): Likewise.
46971         (struct test_c_c_data): Likewise.
46972         (struct test_cc_c_data): Likewise.
46973         (struct test_f_i_data): Likewise.
46974         (struct test_ff_i_data): Likewise.
46975         (struct test_f_l_data): Likewise.
46976         (struct test_f_L_data): Likewise.
46977         (struct test_fFF_11_data): Likewise.
46978         (RM_): New macro.
46979         (RM_FE_DOWNWARD): Likewise.
46980         (RM_FE_TONEAREST): Likewise.
46981         (RM_FE_TOWARDZERO): Likewise.
46982         (RM_FE_UPWARD): Likewise.
46983         (RUN_TEST_LOOP_f_f): Update references to expected results.
46984         (RUN_TEST_LOOP_2_f): Likewise.
46985         (RUN_TEST_LOOP_fff_f): Likewise.
46986         (RUN_TEST_LOOP_c_f): Likewise.
46987         (RUN_TEST_LOOP_f_f1): Likewise.
46988         (RUN_TEST_LOOP_fF_f1): Likewise.
46989         (RUN_TEST_LOOP_fI_f1): Likewise.
46990         (RUN_TEST_LOOP_ffI_f1): Likewise.
46991         (RUN_TEST_LOOP_c_c): Likewise.
46992         (RUN_TEST_LOOP_cc_c): Likewise.
46993         (RUN_TEST_LOOP_f_i): Likewise.
46994         (RUN_TEST_LOOP_f_i_tg): Likewise.
46995         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46996         (RUN_TEST_LOOP_f_b): Likewise.
46997         (RUN_TEST_LOOP_f_b_tg): Likewise.
46998         (RUN_TEST_LOOP_f_l): Likewise.
46999         (RUN_TEST_LOOP_f_L): Likewise.
47000         (RUN_TEST_LOOP_fFF_11): Likewise.
47001         * math/gen-libm-test.pl (parse_args): Output four copies of
47002         expected results for each test.
47004         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47005         (__ASSUME_UTIMES): Remove.
47006         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47007         (__ASSUME_UTIMES): Likewise.
47009         * math/gen-auto-libm-tests.c: Update comment on output format.
47010         (output_for_one_input_case): Generate before-rounding and
47011         after-rounding information as conditions on output flags not
47012         floating-point format.
47013         * math/auto-libm-test-out: Regenerated.
47014         * math/gen-libm-test.pl (cond_value): New function.
47015         (or_cond_value): Use cond_value.
47016         (generate_testfile): Handle conditional exceptions.
47018 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47020         * math/libm-test.inc (max_valid_error): New variable.
47021         (init_max_error): Take new argument specifying whether function
47022         results are exactly determined.  Set max_valid_error and bound
47023         other variables for errors based on this argument.
47024         (set_max_error): Do not record results above max_valid_error.
47025         (check_float_internal): Only accept errors of up to 0.5ulps if
47026         also at most max_valid_error.
47027         (START): Take new argument EXACT and pass it to init_max_error.
47028         (acos_test): Update call to START.
47029         (acos_test_tonearest): Likewise.
47030         (acos_test_towardzero): Likewise.
47031         (acos_test_downward): Likewise.
47032         (acos_test_upward): Likewise.
47033         (acosh_test): Likewise.
47034         (asin_test): Likewise.
47035         (asin_test_tonearest): Likewise.
47036         (asin_test_towardzero): Likewise.
47037         (asin_test_downward): Likewise.
47038         (asin_test_upward): Likewise.
47039         (asinh_test): Likewise.
47040         (atan_test): Likewise.
47041         (atanh_test): Likewise.
47042         (atan2_test): Likewise.
47043         (cabs_test): Likewise.
47044         (cacos_test): Likewise.
47045         (cacosh_test): Likewise.
47046         (carg_test): Likewise.
47047         (casin_test): Likewise.
47048         (casinh_test): Likewise.
47049         (catan_test): Likewise.
47050         (catanh_test): Likewise.
47051         (cbrt_test): Likewise.
47052         (ccos_test): Likewise.
47053         (ccosh_test): Likewise.
47054         (ceil_test): Likewise.
47055         (cexp_test): Likewise.
47056         (cimag_test): Likewise.
47057         (clog_test): Likewise.
47058         (clog10_test): Likewise.
47059         (conj_test): Likewise.
47060         (copysign_test): Likewise.
47061         (cos_test): Likewise.
47062         (cos_test_tonearest): Likewise.
47063         (cos_test_towardzero): Likewise.
47064         (cos_test_downward): Likewise.
47065         (cos_test_upward): Likewise.
47066         (cosh_test): Likewise.
47067         (cosh_test_tonearest): Likewise.
47068         (cosh_test_towardzero): Likewise.
47069         (cosh_test_downward): Likewise.
47070         (cosh_test_upward): Likewise.
47071         (cpow_test): Likewise.
47072         (cproj_test): Likewise.
47073         (creal_test): Likewise.
47074         (csin_test): Likewise.
47075         (csinh_test): Likewise.
47076         (csqrt_test): Likewise.
47077         (ctan_test): Likewise.
47078         (ctan_test_tonearest): Likewise.
47079         (ctan_test_towardzero): Likewise.
47080         (ctan_test_downward): Likewise.
47081         (ctan_test_upward): Likewise.
47082         (ctanh_test): Likewise.
47083         (ctanh_test_tonearest): Likewise.
47084         (ctanh_test_towardzero): Likewise.
47085         (ctanh_test_downward): Likewise.
47086         (ctanh_test_upward): Likewise.
47087         (erf_test): Likewise.
47088         (erfc_test): Likewise.
47089         (exp_test): Likewise.
47090         (exp_test_tonearest): Likewise.
47091         (exp_test_towardzero): Likewise.
47092         (exp_test_downward): Likewise.
47093         (exp_test_upward): Likewise.
47094         (exp10_test): Likewise.
47095         (exp10_test_tonearest): Likewise.
47096         (exp10_test_towardzero): Likewise.
47097         (exp10_test_downward): Likewise.
47098         (exp10_test_upward): Likewise.
47099         (pow10_test): Likewise.
47100         (exp2_test): Likewise.
47101         (expm1_test): Likewise.
47102         (expm1_test_tonearest): Likewise.
47103         (expm1_test_towardzero): Likewise.
47104         (expm1_test_downward): Likewise.
47105         (expm1_test_upward): Likewise.
47106         (fabs_test): Likewise.
47107         (fdim_test): Likewise.
47108         (floor_test): Likewise.
47109         (fma_test): Likewise.
47110         (fma_test_towardzero): Likewise.
47111         (fma_test_downward): Likewise.
47112         (fma_test_upward): Likewise.
47113         (fmax_test): Likewise.
47114         (fmin_test): Likewise.
47115         (fmod_test): Likewise.
47116         (fpclassify_test): Likewise.
47117         (frexp_test): Likewise.
47118         (hypot_test): Likewise.
47119         (ilogb_test): Likewise.
47120         (isfinite_test): Likewise.
47121         (finite_test): Likewise.
47122         (isgreater_test): Likewise.
47123         (isgreaterequal_test): Likewise.
47124         (isinf_test): Likewise.
47125         (isless_test): Likewise.
47126         (islessequal_test): Likewise.
47127         (islessgreater_test): Likewise.
47128         (isnan_test): Likewise.
47129         (isnormal_test): Likewise.
47130         (issignaling_test): Likewise.
47131         (isunordered_test): Likewise.
47132         (j0_test): Likewise.
47133         (j1_test): Likewise.
47134         (jn_test): Likewise.
47135         (ldexp_test): Likewise.
47136         (lgamma_test): Likewise.
47137         (gamma_test): Likewise.
47138         (lrint_test): Likewise.
47139         (lrint_test_tonearest): Likewise.
47140         (lrint_test_towardzero): Likewise.
47141         (lrint_test_downward): Likewise.
47142         (lrint_test_upward): Likewise.
47143         (llrint_test): Likewise.
47144         (llrint_test_tonearest): Likewise.
47145         (llrint_test_towardzero): Likewise.
47146         (llrint_test_downward): Likewise.
47147         (llrint_test_upward): Likewise.
47148         (log_test): Likewise.
47149         (log10_test): Likewise.
47150         (log1p_test): Likewise.
47151         (log2_test): Likewise.
47152         (logb_test): Likewise.
47153         (logb_test_downward): Likewise.
47154         (lround_test): Likewise.
47155         (llround_test): Likewise.
47156         (modf_test): Likewise.
47157         (nearbyint_test): Likewise.
47158         (nextafter_test): Likewise.
47159         (nexttoward_test): Likewise.
47160         (pow_test): Likewise.
47161         (pow_test_tonearest): Likewise.
47162         (pow_test_towardzero): Likewise.
47163         (pow_test_downward): Likewise.
47164         (pow_test_upward): Likewise.
47165         (remainder_test): Likewise.
47166         (drem_test): Likewise.
47167         (remainder_test_tonearest): Likewise.
47168         (drem_test_tonearest): Likewise.
47169         (remainder_test_towardzero): Likewise.
47170         (drem_test_towardzero): Likewise.
47171         (remainder_test_downward): Likewise.
47172         (drem_test_downward): Likewise.
47173         (remainder_test_upward): Likewise.
47174         (drem_test_upward): Likewise.
47175         (remquo_test): Likewise.
47176         (rint_test): Likewise.
47177         (rint_test_tonearest): Likewise.
47178         (rint_test_towardzero): Likewise.
47179         (rint_test_downward): Likewise.
47180         (rint_test_upward): Likewise.
47181         (round_test): Likewise.
47182         (scalb_test): Likewise.
47183         (scalbn_test): Likewise.
47184         (scalbln_test): Likewise.
47185         (signbit_test): Likewise.
47186         (sin_test): Likewise.
47187         (sin_test_tonearest): Likewise.
47188         (sin_test_towardzero): Likewise.
47189         (sin_test_downward): Likewise.
47190         (sin_test_upward): Likewise.
47191         (sincos_test): Likewise.
47192         (sinh_test): Likewise.
47193         (sinh_test_tonearest): Likewise.
47194         (sinh_test_towardzero): Likewise.
47195         (sinh_test_downward): Likewise.
47196         (sinh_test_upward): Likewise.
47197         (sqrt_test): Likewise.
47198         (sqrt_test_tonearest): Likewise.
47199         (sqrt_test_towardzero): Likewise.
47200         (sqrt_test_downward): Likewise.
47201         (sqrt_test_upward): Likewise.
47202         (tan_test): Likewise.
47203         (tan_test_tonearest): Likewise.
47204         (tan_test_towardzero): Likewise.
47205         (tan_test_downward): Likewise.
47206         (tan_test_upward): Likewise.
47207         (tanh_test): Likewise.
47208         (tgamma_test): Likewise.
47209         (trunc_test): Likewise.
47210         (y0_test): Likewise.
47211         (y1_test): Likewise.
47212         (yn_test): Likewise.
47213         (significand_test): Likewise.
47215         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
47216         individual tests in comment.
47217         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
47218         (prev_max_error): New variable.
47219         (prev_real_max_error): Likewise.
47220         (prev_imag_max_error): Likewise.
47221         (compare_ulp_data): Don't refer to test names in comment.
47222         (find_test_ulps): Remove function.
47223         (find_function_ulps): Likewise.
47224         (find_complex_function_ulps): Likewise.
47225         (init_max_error): Take function name as argument.  Look up ulps
47226         for that function.
47227         (print_ulps): Remove function.
47228         (print_max_error): Use prev_max_error instead of calling
47229         find_function_ulps.
47230         (print_complex_max_error): Use prev_real_max_error and
47231         prev_imag_max_error instead of calling find_complex_function_ulps.
47232         (check_float_internal): Take max_ulp parameter instead of calling
47233         find_test_ulps.  Don't call print_ulps.
47234         (check_float): Update call to check_float_internal.
47235         (check_complex): Update calls to check_float_internal.
47236         (START): Pass argument to init_max_error.
47237         * math/gen-libm-test.pl (%results): Don't include "kind"
47238         information.
47239         (parse_ulps): Don't handle ulps of individual tests.
47240         (print_ulps_file): Likewise.
47241         (output_ulps): Likewise.
47242         * math/README.libm-test: Update.
47243         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
47244         individual tests.
47245         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
47246         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
47247         * sysdeps/arm/libm-test-ulps: Likewise.
47248         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
47249         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
47250         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
47251         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
47252         * sysdeps/microblaze/libm-test-ulps: Likewise.
47253         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
47254         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47256         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47257         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47258         * sysdeps/sh/libm-test-ulps: Likewise.
47259         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47260         * sysdeps/tile/libm-test-ulps: Likewise.
47261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47263 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47265         * math/libm-test.inc (print_complex_max_error): Check separately
47266         whether real and imaginary errors are within allowed range and
47267         pass 0 to print_complex_function_ulps instead of value within
47268         allowed range.
47270 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47272         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47273         formatting.
47274         (get_handles_fopen): Likewise.
47275         (do_write_test): Likewise.
47277         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47279         * libio/fileops.c (do_ftell): Use cached offset when
47280         available.
47281         * libio/iofwide.c (do_ftell_wide): Likewise.
47282         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47283         _IO_file_attach.
47284         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47286         [BZ #16532]
47287         * libio/libioP.h (get_file_offset): New function.
47288         * libio/fileops.c (get_file_offset): Likewise.
47289         (do_ftell): Likewise.
47290         (_IO_new_file_seekoff): Split out ftell logic.
47291         * libio/wfileops.c (do_ftell_wide): Likewise.
47292         (_IO_wfile_seekoff): Split out ftell logic.
47293         * libio/tst-ftell-active-handler.c: New test case.
47294         * libio/Makefile (tests): Add it.
47296 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47298         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47299         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47301 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47303         [BZ #16639]
47304         * nscd/connections.c (nscd_init): Call do_exit.
47305         (start_threads): Call do_exit and notify_parent.
47306         (begin_drop_privileges): Call do_exit.
47307         (finish_drop_privileges): Likewise.
47308         * nscd/selinux.c (preserve_capabilities): Likewise.
47309         (install_real_capabilities): Likewise.
47310         (nscd_selinux_enabled): Likewise.
47311         (avc_create_thread): Likewise.
47312         (avc_alloc_lock): Likewise.
47313         (nscd_avc_init): Likewise.
47314         * nscd/nscd.c (parent_fd): New static variable.
47315         (main): Create a pipe between parent and child processes.
47316         Skip closing parent_fd.
47317         (monitor_child): New function.
47318         (do_exit): Likewise.
47319         (notify_parent): Likewise.
47320         * nscd/nscd.h (notify_parent): Likewise.
47321         (do_exit): Likewise.
47323 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47325         * malloc/malloc.c (__libc_calloc): Revert last change.
47327 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47331 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47333         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47335         implementation.
47336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47337         (__libc_ifunc_impl_list): Likewise.
47338         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47339         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47340         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47341         * string/strrchr.c: Define STRRCHR.
47343 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47345         * benchtest/bench-strtok.c (simple_strtok): Delete.
47346         (strtok_string): Use as benchmark.
47347         * string/strtok (STRTOK): New macro.
47349 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47351         * manual/threads.texi: Add header and standard comments to all
47352         functions.
47354         * elf/dl-lookup.c (check_match): New function.
47355         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47356         (do_lookup_x): Remove nested function check_match. Use non-nested
47357         function check_match.
47359 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47361         * csu/Makefile (generated, before-compile): Use += rather than =.
47362         * catgets/Makefile (generated, generated-dirs): Likewise.
47363         * debug/Makefile (generated): Likewise.
47364         * dlfcn/Makefile (generated): Likewise.
47365         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47366         * iconvdata/Makefile (before-compile, generated): Likewise.
47367         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47368         * libio/Makefile (generated): Likewise.
47369         * malloc/Makefile (generated): Likewise.
47370         * manual/Makefile (generated, generated-dirs): Likewise.
47371         * misc/Makefile (generated): Likewise.
47372         * posix/Makefile (generated): Likewise.
47373         * resolv/Makefile (generated): Likewise.
47374         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47375         * timezone/Makefile (generated, generated-dirs): Likewise.
47377         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47379 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47382         power8 implementation.
47383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47384         file: POWER8 llround ifunc implementation.
47385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47386         (__lllround): Add POWER8 implementation.
47387         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47388         POWER8 llround implementation.
47390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47391         power8 implementation.
47392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47393         file: POWER8 llrint ifunc implementation.
47394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47395         Add POWER8 implementation.
47396         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47397         POWER8 llrint implementation.
47399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47400         power8 implementation.
47401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47402         file: POWER8 finite ifunc implementation.
47403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47404         Add POWER8 implementation.
47405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47406         Likewise.
47407         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47408         POWER8 finite implementation.
47409         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47412         power8 implementation.
47413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47414         file: POWER8 isinf ifunc implementation.
47415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47416         POWER8 implementation.
47417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47418         Likewise.
47419         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47420         isinf implementation.
47421         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47423         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47424         (INIT_ARCH): Add hwcap2 initialization.
47425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47426         power8 implementation.
47427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47428         file: POWER8 isnan ifunc implementation.
47429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47430         POWER8 implementation.
47431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47432         Likewise.
47433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47434         isnan implementation.
47435         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47437 2014-02-27  Joey Ye  <joey.ye@arm.com>
47439         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47440         (_FP_NANFRAC_Q): Set to zero.
47442 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47444         [BZ #16623]
47445         * math/auto-libm-test-in: New test inputs.
47446         * math/auto-libm-test-out: Regenerate.
47447         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47448         and DA.
47449         (__cos): Likewise.
47450         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47452 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47454         * scripts/evaluate-test.sh: Take new argument indicating whether
47455         failure is expected.
47456         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47457         indicating whether failure is expected.
47458         * conform/Makefile (test-xfail-run-conformtest): New variable.
47459         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47460         level.
47461         * posix/Makefile (test-xfail-annexc): New variable.
47462         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47464 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47466         * argp/Makefile: Include Makeconfig immediately after defining
47467         subdir.
47468         * assert/Makefile: Likewise.
47469         * benchtests/Makefile: Likewise.
47470         * catgets/Makefile: Likewise.
47471         * conform/Makefile: Likewise.
47472         * crypt/Makefile: Likewise.
47473         * csu/Makefile: Likewise.
47474         (all): Remove target.
47475         * ctype/Makefile: Include Makeconfig immediately after defining
47476         subdir.
47477         * debug/Makefile: Likewise.
47478         * dirent/Makefile: Likewise.
47479         * dlfcn/Makefile: Likewise.
47480         * gmon/Makefile: Likewise.
47481         * gnulib/Makefile: Likewise.
47482         * grp/Makefile: Likewise.
47483         * gshadow/Makefile: Likewise.
47484         * hesiod/Makefile: Likewise.
47485         * hurd/Makefile: Likewise.
47486         (all): Remove target.
47487         * iconvdata/Makefile: Include Makeconfig immediately after
47488         defining subdir.
47489         * inet/Makefile: Likewise.
47490         * intl/Makefile: Likewise.
47491         * io/Makefile: Likewise.
47492         * libio/Makefile: Likewise.
47493         (all): Remove target.
47494         * locale/Makefile: Include Makeconfig immediately after defining
47495         subdir.
47496         * login/Makefile: Likewise.
47497         * mach/Makefile: Likewise.
47498         (all): Remove target.
47499         * malloc/Makefile: Include Makeconfig immediately after defining
47500         subdir.
47501         (all): Remove target.
47502         * manual/Makefile: Include Makeconfig immediately after defining
47503         subdir.
47504         * math/Makefile: Likewise.
47505         * misc/Makefile: Likewise.
47506         * nis/Makefile: Likewise.
47507         * nss/Makefile: Likewise.
47508         * po/Makefile: Likewise.
47509         (all): Remove target.
47510         * posix/Makefile: Include Makeconfig immediately after defining
47511         subdir.
47512         * pwd/Makefile: Likewise.
47513         * resolv/Makefile: Likewise.
47514         * resource/Makefile: Likewise.
47515         * rt/Makefile: Likewise.
47516         * setjmp/Makefile: Likewise.
47517         * shadow/Makefile: Likewise.
47518         * signal/Makefile: Likewise.
47519         * socket/Makefile: Likewise.
47520         * soft-fp/Makefile: Likewise.
47521         * stdio-common/Makefile: Likewise.
47522         * stdlib/Makefile: Likewise.
47523         * streams/Makefile: Likewise.
47524         * string/Makefile: Likewise.
47525         * sunrpc/Makefile: Likewise.
47526         (all): Remove target.
47527         * sysvipc/Makefile: Include Makeconfig immediately after defining
47528         subdir.
47529         * termios/Makefile: Likewise.
47530         * time/Makefile: Likewise.
47531         * timezone/Makefile: Likewise.
47532         (all): Remove target.
47533         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47534         subdir.
47535         * wctype/Makefile: Likewise.
47537 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47539         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47540         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47541         (libc_feholdexcept_setround_mips): Ditto.
47542         (libc_feholdsetround): New.
47543         (libc_feholdsetroundf): New.
47544         (libc_feholdsetroundl): New.
47545         (libc_feupdateenv_test_mips): New.
47546         (libc_feupdateenv_test): New.
47547         (libc_feupdateenv_testf): New.
47548         (libc_feupdateenv_testl): New.
47549         (libc_feresetround): New.
47550         (libc_feresetroundf): New.
47551         (libc_feresetroundl): New.
47552         (libc_fetestexcept_mips): New.
47553         (libc_fetestexcept): New.
47554         (libc_fetestexceptf): New.
47555         (libc_fetestexceptl): New.
47556         (HAVE_RM_CTX): New.
47557         (libc_feholdexcept_setround_mips_ctx): New.
47558         (libc_feholdexcept_setround_ctx): New.
47559         (libc_feholdexcept_setroundf_ctx): New.
47560         (libc_feholdexcept_setroundl_ctx): New.
47561         (libc_fesetenv_mips_ctx): New.
47562         (libc_fesetenv_ctx): New.
47563         (libc_fesetenv_ctxf): New.
47564         (libc_fesetenv_ctxl): New.
47565         (libc_feupdateenv_mips_ctx): New.
47566         (libc_feupdateenv_ctx): New.
47567         (libc_feupdateenvf_ctx): New.
47568         (libc_feupdateenvl_ctx): New.
47569         (libc_feholdsetround_mips_ctx): New.
47570         (libc_feholdsetround_ctx): New.
47571         (libc_feholdsetroundf_ctx): New.
47572         (libc_feholdsetroundl_ctx): New.
47573         (libc_feresetround_mips_ctx): New.
47574         (libc_feresetround_ctx): New.
47575         (libc_feresetroundf_ctx): New.
47576         (libc_feresetroundl_ctx): New.
47578 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47580         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47582         * manual/ipc.texi: New file.
47583         * manual/Makefile (chapters): Add ipc.
47584         * manual/job.texi: Add "Inter-Process Communication" to next.
47585         * manual/process.texi: Add "Inter-Process Communication" to prev.
47587 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47591 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47593         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47595         * manual/arith.texi: Fix spaces after sentences.
47596         * manual/charset.texi: Likewise.
47597         * manual/errno.texi: Likewise.
47598         * manual/install.texi: Likewise.
47599         * manual/llio.texi: Likewise.
47600         * manual/locale.texi: Likewise.
47601         * manual/maint.texi: Likewise.
47602         * manual/math.texi: Likewise.
47603         * manual/memory.texi: Likewise.
47604         * manual/message.texi: Likewise.
47605         * manual/probes.texi: Likewise.
47606         * manual/resource.texi: Likewise.
47607         * manual/signal.texi: Likewise.
47608         * manual/socket.texi: Likewise.
47609         * manual/stdio.texi: Likewise.
47610         * manual/string.texi: Likewise.
47611         * manual/time.texi: Likewise.
47612         * manual/users.texi: Likewise.
47614 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47616         [BZ #16632]
47617         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47618         _DEFAULT_SOURCE is defined.
47620 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47621             Carlos O'Donell  <carlos@redhat.com>
47623         [BZ #16613]
47624         * elf/dl-tls.c (_dl_count_modids): New function.
47625         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47626         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47627         audit library and increment generation counter.
47628         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47629         * elf/tst-audit9.c: New file.
47630         * elf/tst-auditmod9a.c: New file.
47631         * elf/tst-auditmod9b.c: New file.
47632         * elf/Makefile: Add rules to build and run tst-audit9.
47634 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47636         [BZ #15347]
47637         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47639 2014-02-25  Will Newton  <will.newton@linaro.org>
47641         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47642         (__longjmp): Restore sp and lr before restoring callee
47643         saved registers.  Add longjmp and longjmp_target
47644         SystemTap probe point.
47645         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47646         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47647         Define to zero to match jmpbuf layout.
47648         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47649         (__sigsetjmp): Save sp and lr before saving callee
47650         saved registers.  Add setjmp SystemTap probe point.
47652 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47654         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47656 2014-02-24  Andreas Schwab  <schwab@suse.de>
47658         [BZ #15804]
47659         * elf/pldd.c (wait_for_ptrace_stop): New function.
47660         (main): Call it after attaching.
47662 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47664         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47665         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47666         Versions files is now verboten.
47667         * hurd/Versions (libc: GLIBC_2.0):
47668         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47669         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47670         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47671         * mach/Versions: Likewise.
47673         * csu/Versions: Remove unused %include.
47674         * resolv/Versions: Likewise.
47676 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47678         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47679         ($(objpfx)check-local-headers.out): Likewise.
47680         ($(objpfx)begin-end-check.out): Likewise.
47681         * Makerules (check-abi-%.out): Likewise.
47682         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47683         ($(objpfx)test2.cat): Likewise.
47684         ($(objpfx)de/libc.cat): Likewise.
47685         ($(objpfx)test-gencat.out): Likewise.
47686         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47687         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47688         ($(objpfx)noload-mem): Likewise.
47689         ($(objpfx)tst-pathopt.out): Likewise.
47690         ($(objpfx)tst-rtld-load-self.out): Likewise.
47691         ($(objpfx)tst-array1-cmp.out): Likewise.
47692         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47693         ($(objpfx)tst-array2-cmp.out): Likewise.
47694         ($(objpfx)tst-array3-cmp.out): Likewise.
47695         ($(objpfx)tst-array4-cmp.out): Likewise.
47696         ($(objpfx)tst-array5-cmp.out): Likewise.
47697         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47698         ($(objpfx)check-textrel.out): Likewise.
47699         ($(objpfx)check-execstack.out): Likewise.
47700         ($(objpfx)check-localplt.out): Likewise.
47701         ($(objpfx)order2-cmp.out): Likewise.
47702         ($(objpfx)tst-leaks1-mem): Likewise.
47703         ($(objpfx)tst-leaks1-static-mem): Likewise.
47704         ($(objpfx)tst-initorder-cmp.out): Likewise.
47705         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47706         ($(objpfx)tst-unused-dep.out): Likewise.
47707         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47708         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47709         * iconv/Makefile (test-iconvconfig): Likewise.
47710         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47711         ($(objpfx)iconv-test.out): Likewise.
47712         ($(objpfx)tst-tables.out): Likewise.
47713         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47714         ($(objpfx)tst-gettext.out): Likewise.
47715         ($(objpfx)tst-translit.out): Likewise.
47716         ($(objpfx)tst-gettext2.out): Likewise.
47717         ($(objpfx)tst-gettext4.out): Likewise.
47718         ($(objpfx)tst-gettext6.out): Likewise.
47719         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47720         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47721         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47722         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47723         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47724         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47725         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47726         ($(objpfx)wordexp-tst.out): Likewise.
47727         ($(objpfx)annexc.out): Likewise.
47728         ($(objpfx)tst-fnmatch-mem): Likewise.
47729         ($(objpfx)bug-regex2-mem): Likewise.
47730         ($(objpfx)bug-regex14-mem): Likewise.
47731         ($(objpfx)bug-regex21-mem): Likewise.
47732         ($(objpfx)bug-regex31-mem): Likewise.
47733         ($(objpfx)tst-vfork3-mem): Likewise.
47734         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47735         ($(objpfx)tst-pcre-mem): Likewise.
47736         ($(objpfx)tst-boost-mem): Likewise.
47737         ($(objpfx)tst-getconf.out): Likewise.
47738         ($(objpfx)bug-ga2-mem): Likewise.
47739         ($(objpfx)bug-glob2-mem): Likewise.
47740         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47741         ($(objpfx)mtrace-tst-leaks2): Likewise.
47742         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47743         ($(objpfx)tst-printf.out): Likewise.
47744         ($(objpfx)tst-setvbuf1.out): Likewise.
47745         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47746         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47747         ($(objpfx)tst-fmtmsg.out): Likewise.
47748         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47749         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47751         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47752         * bits/sigaction.h [__USE_MISC]: Likewise.
47753         * bits/waitstatus.h: Update #endif comments.
47754         * ctype/ctype.h: Likewise.
47755         * dirent/dirent.h: Likewise.
47756         [__USE_MISC]: Remove redundant conditionals.
47757         * grp/grp.h: Update #endif comments.
47758         [__USE_GNU]: Remove redundant conditionals.
47759         [__USE_MISC]: Likewise.
47760         * inet/netinet/in.h [__USE_GNU]: Likewise.
47761         * io/sys/stat.h [__USE_MISC]: Likewise.
47762         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47763         * libio/bits/stdio.h: Update #endif comments.
47764         [__USE_MISC]: Remove redundant conditionals.
47765         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47766         * libio/stdio.h: Update #endif comments.
47767         [__USE_MISC]: Remove redundant conditionals.
47768         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47769         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47770         * math/math.h: Update #else and #endif comments.
47771         [__USE_MISC]: Remove redundant conditionals.
47772         * misc/sys/uio.h: Update #endif comments.
47773         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47774         * posix/glob.h [__USE_MISC]: Likewise.
47775         * posix/sys/types.h: Update #endif comments.
47776         [__USE_MISC]: Remove redundant conditionals.
47777         * posix/sys/wait.h: Update #endif comments.
47778         [__USE_MISC]: Remove redundant conditionals.
47779         * posix/unistd.h: Update #endif comments.
47780         [__USE_MISC]: Remove redundant conditionals.
47781         * pwd/pwd.h [__USE_GNU]: Likewise.
47782         [__USE_MISC]: Likewise.
47783         * resolv/netdb.h [__USE_GNU]: Likewise.
47784         * signal/signal.h: Update #endif comments.
47785         [__USE_MISC]: Remove redundant conditionals.
47786         * stdlib/stdlib.h: Update #else and #endif comments.
47787         [__USE_MISC]: Remove redundant conditionals.
47788         [__USE_GNU]: Likewise.
47789         * string/bits/string2.h [__USE_MISC]: Likewise.
47790         * string/string.h: Update #endif comments.
47791         [__USE_MISC]: Remove redundant conditionals.
47792         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47793         Likewise.
47794         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47795         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47796         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47797         Likewise.
47798         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47799         Likewise.
47800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47801         comments.
47802         [__USE_MISC]: Remove redundant conditionals.
47803         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47804         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47805         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47806         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47807         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47808         Likewise.
47809         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47810         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47811         Likewise.
47812         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47813         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47814         Likewise.
47815         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47816         Likewise.
47817         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47818         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47819         Likewise.
47820         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47821         Likewise.
47822         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47823         * sysdeps/x86/bits/string.h: Update #endif comments.
47824         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47825         conditionals.
47826         * time/sys/time.h: Update #endif comments.
47827         * time/time.h: Likewise.
47828         [__USE_MISC]: Remove redundant conditionals.
47830 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47832         [BZ #16600]
47833         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47835 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47837         * Versions.def (librt): Add GLIBC_2.17.
47839 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47841         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47842         synonym for _SYS_AUXV_H to allow direct inclusion.
47843         * sysdeps/sparc/bits/hwcap.h: Likewise.
47844         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47845         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47846         * sysdeps/sparc/sysdep.h: Likewise.
47848 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47850         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47852 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47854         * benchtests/bench-strrchr.c: Print length instead of position.
47856 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
47858         [BZ #16611]
47859         * sysdeps/unix/sysv/linux/kernel-features.h
47860         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47861         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47862         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47863         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47864         Likewise.
47865         [__i386__ || __powerpc__ || __sh__ || __sparc__]
47866         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47867         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47868         (__ASSUME_SENDMMSG): Define instead of using previous
47869         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47870         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47871         (__ASSUME_SENDMMSG_SYSCALL): Define.
47872         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47873         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
47874         Likewise.
47875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47877         Likewise.
47878         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47879         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47880         Likewise.
47881         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
47882         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47883         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47884         [__ASSUME_SENDMMSG]: Change conditionals to
47885         [__ASSUME_SENDMMSG_SOCKETCALL].
47886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47887         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
47888         Define.
47889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47890         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
47891         Likewise.
47892         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
47893         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47894         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47895         [!__ASSUME_SENDMMSG]: Change conditional to
47896         [!__ASSUME_SENDMMSG_SOCKETCALL].
47897         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47898         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47899         Define.
47901         [BZ #16610]
47902         * sysdeps/unix/sysv/linux/kernel-features.h
47903         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
47904         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
47905         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
47906         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
47907         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47908         [__i386__ || __sparc__]
47909         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47910         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
47911         (__ASSUME_RECVMMSG): Define instead of using previous
47912         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
47913         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47914         (__ASSUME_RECVMMSG_SYSCALL): Define.
47915         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47917         Likewise.
47918         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47919         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47920         Likewise.
47921         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47922         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47923         Likewise.
47924         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
47925         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47926         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47927         [__ASSUME_RECVMMSG]: Change condition to
47928         [__ASSUME_RECVMMSG_SOCKETCALL].
47929         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47930         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47931         Define.
47932         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47933         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47934         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47935         Likewise.
47936         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
47937         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47938         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47939         [!__ASSUME_RECVMMSG]: Change condition to
47940         [!__ASSUME_RECVMMSG_SOCKETCALL].
47941         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47942         (__ASSUME_RECVMMSG_SYSCALL): Define.
47944         [BZ #16609]
47945         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
47946         __powerpc__ || __s390__ || __sh__ || __sparc__]
47947         (__ASSUME_SOCKETCALL): Define.
47948         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
47949         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
47950         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
47951         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
47952         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47953         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47954         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
47955         (__ASSUME_ACCEPT4): Define instead of using previous
47956         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
47957         __powerpc__ || __sparc__ || __s390__)] condition.
47958         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47959         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47960         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
47961         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47962         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47963         [!__ASSUME_ACCEPT4]: Change condition to
47964         [!__ASSUME_ACCEPT4_SOCKETCALL].
47965         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47966         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
47967         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
47968         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47969         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
47970         __ASSUME_ACCEPT4_SYSCALL.
47971         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
47972         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
47973         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47974         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
47975         __ASSUME_ACCEPT4_SYSCALL.
47976         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
47977         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47978         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47979         [__ASSUME_ACCEPT4]: Change condition to
47980         [__ASSUME_ACCEPT4_SOCKETCALL].
47981         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47982         (__ASSUME_SOCKETCALL): Define.
47983         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
47984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47985         (__ASSUME_SOCKETCALL): Define.
47986         (__ASSUME_ACCEPT4): Remove.
47987         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
47988         Define.
47989         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47990         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
47991         Likewise.
47992         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47993         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47995         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
47996         macro.
47997         (HWCAP_ARM_LPAE): Likewise.
47998         (HWCAP_ARM_EVTSTRM): Likewise.
47999         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48000         Add vpfd32, lpae and evtstrm.
48001         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48002         Increase to 22.
48004 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48006         * math/auto-libm-test-in: Add tests of clog10.
48007         * math/auto-libm-test-out: Regenerated.
48008         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48009         * sysdeps/i386/fpu/libm-test-ulps: Update.
48010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48012 2014-02-18  Andreas Schwab  <schwab@suse.de>
48014         [BZ #16574]
48015         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48016         Store non-zero if the second buffer was newly allocated.
48017         (send_dg): Likewise.
48018         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48019         to send_vc and send_dg.
48020         (res_nsend): Pass NULL for ansp2_malloced.
48021         * resolv/res_query.c (__libc_res_nquery): Add parameter
48022         answerp2_malloced and pass it down to __libc_res_nsend.
48023         (res_nquery): Pass additional NULL to __libc_res_nquery.
48024         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48025         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48026         second answer buffer if answerp2_malloced was set.
48027         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48028         (__libc_res_nquerydomain): Add parameter
48029         answerp2_malloced and pass it down to __libc_res_nquery.
48030         (res_nquerydomain): Pass additional NULL to
48031         __libc_res_nquerydomain.
48032         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48033         additional NULL to __libc_res_nsend and __libc_res_nquery.
48034         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48035         additional NULL to __libc_res_nsearch.
48036         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48037         parameter of __libc_res_nsearch to check for separately allocated
48038         second buffer.
48039         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48040         __libc_res_nquery.
48041         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48042         additional NULL to __libc_res_nquery.
48043         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48044         __libc_res_nsearch.
48045         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48046         * include/resolv.h: Update prototypes of __libc_res_nquery,
48047         __libc_res_nsearch, __libc_res_nsend.
48049 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48051         * math/auto-libm-test-in: Add tests of fma.
48052         * math/auto-libm-test-out: Regenerated.
48053         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48054         (fma_towardzero_test_data): Likewise.
48055         (fma_downward_test_data): Likewise.
48056         (fma_upward_test_data): Likewise.
48057         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48058         mpc_mode.
48059         (rounding_modes): Add values for new field.
48060         (func_calc_method): Add value mpfr_fff_f.
48061         (func_calc_desc): Add mpfr_fff_f union field.
48062         (test_function): Add field exact_args.
48063         (FUNC): Add macro argument EXACT_ARGS.
48064         (FUNC_mpfr_f_f): Update call to FUNC.
48065         (FUNC_mpfr_f_f): Likewise.
48066         (FUNC_mpfr_ff_f): Likewise.
48067         (FUNC_mpfr_if_f): Likewise.
48068         (FUNC_mpc_c_f): Likewise.
48069         (FUNC_mpc_c_c): Likewise.
48070         (test_functions): Add fma.  Update calls to FUNC.
48071         (handle_input_arg): Add argument exact_args.
48072         (add_test): Update call to handle_input_arg.
48073         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48074         (output_for_one_input_case): Update call to calc_generic_results.
48075         Recalculate exact zero results in each rounding mode.
48077         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48078         non-negative before setting low bit.
48079         * math/auto-libm-test-in: Mark one asin test possibly having
48080         spurious underflow.
48081         * math/auto-libm-test-out: Regenerated.
48082         * sysdeps/i386/fpu/libm-test-ulps: Update.
48083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48085 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48087         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48088         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48089         ports/sysdeps/unix/sysv/linux/microblaze.
48090         * README: Add missing listing for microblaze*-*-linux-gnu.
48092 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48094         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48095         duplicate code
48097 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48099         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48100         * sysdeps/unix/sysv/linux/ia64: Move directory from
48101         ports/sysdeps/unix/sysv/linux/ia64.
48102         * README: Update listing for ia64-*-linux-gnu.
48104 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48105             Joseph Myers  <joseph@codesourcery.com>
48107         * Makeconfig (test-name): New variable.
48108         (evaluate-test): Likewise.
48109         * Makerules (do-test-clean): Remove .test-result files.
48110         (common-mostlyclean): Likewise.
48111         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48112         * scripts/evaluate-test.sh: New file.
48114 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48116         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48117         separate $(objpfx)tst-fopenloc-cmp.out and
48118         $(objpfx)tst-fopenloc-mem.out targets.
48119         (tests): Update dependencies.
48120         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48121         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48122         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48123         (tst-rxspencer-no-utf8-ARGS): New variable.
48124         (tst-rxspencer-no-utf8-ENV): Likewise.
48125         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48126         instead of $(objpfx)tst-rxspencer-mem.
48127         ($(objpfx)tst-rxspencer-mem): Change target to
48128         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48129         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48130         * posix/tst-rxspencer-no-utf8.c: New file.
48132         * elf/Makefile ($(objpfx)order.out): Remove rule.
48133         [$(run-built-tests) = yes] (tests): Depend on
48134         $(objpfx)order-cmp.out.
48135         ($(objpfx)order-cmp.out): New rule.
48136         [$(run-built-tests) = yes] (tests): Depend on
48137         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48138         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48139         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48140         $(objpfx)tst-array5-static-cmp.out.
48141         ($(objpfx)tst-array1.out): Remove rule.
48142         ($(objpfx)tst-array1-cmp.out): New rule.
48143         ($(objpfx)tst-array1-static.out): Remove rule.
48144         ($(objpfx)tst-array1-static-cmp.out): New rule.
48145         ($(objpfx)tst-array2.out): Remove rule.
48146         ($(objpfx)tst-array2-cmp.out): New rule.
48147         ($(objpfx)tst-array3.out): Remove rule.
48148         ($(objpfx)tst-array3-cmp.out): New rule.
48149         ($(objpfx)tst-array4.out): Remove rule.
48150         ($(objpfx)tst-array4-cmp.out): New rule.
48151         ($(objpfx)tst-array5.out): Remove rule.
48152         ($(objpfx)tst-array5-cmp.out): New rule.
48153         ($(objpfx)tst-array5-static.out): Remove rule.
48154         ($(objpfx)tst-array5-static-cmp.out): New rule.
48155         [$(run-built-tests) = yes] (tests): Depend on
48156         $(objpfx)order2-cmp.out.
48157         ($(objpfx)order2.out): Remove rule.
48158         ($(objpfx)order2-cmp.out): New rule.
48159         ($(objpfx)tst-initorder.out): Remove rule.
48160         [$(run-built-tests) = yes] (tests): Depend on
48161         $(objpfx)tst-initorder-cmp.out.
48162         ($(objpfx)tst-initorder-cmp.out): New rule.
48163         ($(objpfx)tst-initorder2.out): Remove rule.
48164         [$(run-built-tests) = yes] (tests): Depend on
48165         $(objpfx)tst-initorder2-cmp.out.
48166         ($(objpfx)tst-initorder2-cmp.out): New rule.
48167         [$(run-built-tests) = yes] (tests): Depend on
48168         $(objpfx)tst-unused-dep-cmp.out.
48169         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48170         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48171         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48172         on $(objpfx)tst-setvbuf1-cmp.out.
48173         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48174         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48175         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48176         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48177         ($(objpfx)tst-svc.out): Remove rule.
48178         ($(objpfx)tst-svc-cmp.out): New rule.
48180 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48182         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48183         * ctype/ctype.h [__USE_MISC]: Likewise.
48184         * dirent/dirent.h [__USE_MISC]: Likewise.
48185         * grp/grp.h [__USE_MISC]: Likewise.
48186         * io/fcntl.h [__USE_MISC]: Likewise.
48187         * io/sys/stat.h [__USE_MISC]: Likewise.
48188         * libio/stdio.h [__USE_MISC]: Likewise.
48189         * posix/unistd.h [__USE_MISC]: Likewise.
48190         * pwd/pwd.h [__USE_MISC]: Likewise.
48191         * stdlib.h [__USE_MISC]: Likewise.
48192         * string/bits/string2.h [__USE_MISC]: Likewise.
48193         * string/string.h [__USE_MISC]: Likewise.
48194         * time/time.h [__USE_MISC]: Likewise.
48196 2014-02-13  Andreas Schwab  <schwab@suse.de>
48198         [BZ #16574]
48199         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
48200         second answer buffer if it was separately allocated.
48202 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
48204         * sysdeps/mips/math-tests.h: Include <features.h>.
48205         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48206         (ROUNDING_TESTS_long_double): Do not define.
48207         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48208         (EXCEPTION_TESTS_long_double): Likewise.
48209         * sysdeps/mips/mips64/libm-test-ulps: Update.
48211         * include/features.h (__USE_BSD): Remove macro definitions.
48212         (__USE_SVID): Likewise.
48213         (_BSD_SOURCE): Likewise.
48214         (_SVID_SOURCE): Likewise.
48215         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
48216         from definition of _DEFAULT_SOURCE.
48217         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
48218         [_DEFAULT_SOURCE].
48219         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
48220         * bits/mman.h [__USE_BSD]: Likewise.
48221         * bits/termios.h [__USE_BSD]: Likewise.
48222         * bits/waitstatus.h [__USE_BSD]: Likewise.
48223         * ctype/ctype.h [__USE_SVID]: Likewise.
48224         * dirent/dirent.h [__USE_BSD]: Likewise.
48225         * grp/grp.h [__USE_SVID]: Likewise.
48226         [__USE_BSD]: Likewise.
48227         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
48228         * io/fcntl.h [__USE_BSD]: Likewise.
48229         * io/ftw.h [__USE_BSD]: Likewise.
48230         * io/sys/stat.h [__USE_BSD]: Likewise.
48231         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
48232         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
48233         * libio/stdio.h [__USE_SVID]: Likewise.
48234         [__USE_BSD]: Likewise.
48235         * math/math.h [__USE_SVID]: Likewise.
48236         [__USE_BSD]: Likewise.
48237         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
48238         * misc/bits/syslog.h [__USE_BSD]: Likewise.
48239         * misc/search.h [__USE_SVID]: Likewise.
48240         * misc/sys/mman.h [__USE_BSD]: Likewise.
48241         * misc/sys/syslog.h [__USE_BSD]: Likewise.
48242         * misc/sys/uio.h [__USE_BSD]: Likewise.
48243         * posix/bits/unistd.h [__USE_BSD]: Likewise.
48244         * posix/glob.h [__USE_BSD]: Likewise.
48245         * posix/regex.h [__USE_BSD]: Likewise.
48246         * posix/sys/types.h [__USE_BSD]: Likewise.
48247         [__USE_SVID]: Likewise.
48248         * posix/sys/utsname.h [__USE_SVID]: Likewise.
48249         * posix/sys/wait.h [__USE_BSD]: Likewise.
48250         [__USE_SVID]: Likewise.
48251         * posix/unistd.h [__USE_BSD]: Likewise.
48252         [__USE_SVID]: Likewise.
48253         * pwd/pwd.h [__USE_SVID]: Likewise.
48254         * resolv/netdb.h [__USE_BSD]: Likewise.
48255         * setjmp/setjmp.h [__USE_BSD]: Likewise.
48256         * signal/signal.h [__USE_BSD]: Likewise.
48257         [__USE_SVID]: Likewise.
48258         * socket/sys/socket.h [__USE_BSD]: Likewise.
48259         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
48260         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48261         [__USE_SVID]: Likewise.
48262         * string/bits/string2.h [__USE_BSD]: Likewise.
48263         [__USE_SVID]: Likewise.
48264         * string/bits/string3.h [__USE_BSD]: Likewise.
48265         * string/endian.h [__USE_BSD]: Likewise.
48266         * string/string.h [__USE_SVID]: Likewise.
48267         [__USE_BSD]: Likewise.
48268         * string/strings.h [__USE_BSD]: Likewise.
48269         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48270         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48271         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48272         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48273         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48274         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48275         Likewise.
48276         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48277         Likewise.
48278         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48279         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48280         Likewise.
48281         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48282         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48283         Likewise.
48284         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48285         Likewise.
48286         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48287         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48288         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48289         Likewise.
48290         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48291         Likewise.
48292         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48293         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48294         * termios/termios.h [__USE_BSD]: Likewise.
48295         * time/sys/time.h [__USE_BSD]: Likewise.
48296         * time/time.h [__USE_BSD]: Likewise.
48297         [__USE_SVID]: Likewise.
48299         * Makefile (subdir_targets): Remove subdir_lint.out.
48301         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48302         (do-tst-printf): Likewise.
48303         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48304         $(objpfx)tst-printf.out.
48306         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48308         * Makerules (check-abi-%): Change target to
48309         $(objpfx)check-abi-%.out.
48310         (check-abi target): Update dependencies.
48311         (check-abi-pattern variable): Redirect output of diff to $@.
48312         (check-abi variable): Likewise.
48313         * elf/Makefile (check-abi): Update dependencies.
48315         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48316         unused.
48317         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48318         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48319         subnormal range.
48320         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48321         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48322         value has largest subnormal exponent.
48323         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48324         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48325         * sysdeps/aarch64/soft-fp/sfp-machine.h
48326         (_FP_TININESS_AFTER_ROUNDING): New macro.
48327         * sysdeps/alpha/soft-fp/sfp-machine.h
48328         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48329         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48330         Likewise.
48331         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48332         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48333         * sysdeps/mips/soft-fp/sfp-machine.h
48334         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48335         * sysdeps/powerpc/soft-fp/sfp-machine.h
48336         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48337         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48338         Likewise.
48339         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48340         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48341         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48342         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48343         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48344         Likewise.
48346 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48348         [BZ #16545]
48349         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48350         model 1.
48352 2014-02-12  Richard Henderson  <rth@redhat.com>
48354         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48355         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48356         * sysdeps/unix/sysv/linux/alpha: Move directory from
48357         ports/sysdeps/unix/sysv/linux/alpha.
48358         * README: Update listing for alpha-*-linux-gnu.
48360 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48362         * include/features.h: Update comment documenting feature test
48363         macros.
48364         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48365         _DEFAULT_SOURCE.
48366         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48367         (_SVID_SOURCE): Likewise.
48368         (_DEFAULT_SOURCE): Update description of default features.
48369         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48370         with _GNU_SOURCE.
48371         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48372         (S_ISVTX): Likewise.
48373         * manual/math.texi (Mathematical Constants): Likewise.
48374         * manual/signal.texi (Interrupted Primitives): Likewise.
48375         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48376         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48377         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48378         Don't refer to _SVID_SOURCE in warning text.
48380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48382         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48383         already defined.
48384         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48385         * sysdeps/mips/dl-lookup.c: Remove.
48386         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48388 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48390         [BZ #16447]
48391         * math/auto-libm-test-in: Add testcase for expl.
48392         * math/auto-libm-test-out: Regenerate.
48393         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48394         calculation of unsafe.
48395         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48397 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48399         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48400         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48401         ports/sysdeps/unix/sysv/linux/aarch64.
48402         * README: Update listing for aarch64*-*-linux-gnu.
48404 2014-02-11  Will Newton  <will.newton@linaro.org>
48406         * manual/probes.texi (Mathematical Function Probes): Use
48407         "triggered" instead of "hit".
48409         * manual/probes.texi (Internal Probes): Add documentation
48410         of setjmp, longjmp and longjmp_target probes.
48412         * include/stap-probe.h: Add comment about probe argument
48413         format.
48415         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48416         definition.  (tr_where, tr_freehook, tr_mallochook,
48417         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48419 2014-02-11  David S. Miller  <davem@davemloft.net>
48421         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48422         processing int_tests.
48424 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48426         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48427         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48428         * sysdeps/unix/sysv/linux/mips: Move directory from
48429         ports/sysdeps/unix/sysv/linux/mips.
48430         * README: Update listing for mips-*-linux-gnu and
48431         mips64-*-linux-gnu.
48433 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48435         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48436         * sysdeps/unix/sysv/linux/m68k: Move directory from
48437         ports/sysdeps/unix/sysv/linux/m68k.
48438         * README: Update listing for m68k-*-linux-gnu.
48440 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48442         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48443         * sysdeps/unix/sysv/linux/generic: Move directory from
48444         ports/sysdeps/unix/sysv/linux/generic.
48445         * sysdeps/unix/sysv/linux/tile: Move directory from
48446         ports/sysdeps/unix/sysv/linux/tile.
48447         * README: Update listing for tile*-*-linux-gnu.
48449 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48451         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48452         __builtin_expect.
48453         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48454         * catgets/open_catalog.c (__open_catalog): Likewise.
48455         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48456         * debug/confstr_chk.c: Likewise.
48457         * debug/fread_chk.c (__fread_chk): Likewise.
48458         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48459         * debug/getgroups_chk.c: Likewise.
48460         * debug/mbsnrtowcs_chk.c: Likewise.
48461         * debug/mbsrtowcs_chk.c: Likewise.
48462         * debug/mbstowcs_chk.c: Likewise.
48463         * debug/memcpy_chk.c: Likewise.
48464         * debug/memmove_chk.c: Likewise.
48465         * debug/mempcpy_chk.c: Likewise.
48466         * debug/memset_chk.c: Likewise.
48467         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48468         * debug/strcat_chk.c (__strcat_chk): Likewise.
48469         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48470         * debug/strncat_chk.c (__strncat_chk): Likewise.
48471         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48472         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48473         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48474         * debug/wcpncpy_chk.c: Likewise.
48475         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48476         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48477         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48478         * debug/wcsncpy_chk.c: Likewise.
48479         * debug/wcsnrtombs_chk.c: Likewise.
48480         * debug/wcsrtombs_chk.c: Likewise.
48481         * debug/wcstombs_chk.c: Likewise.
48482         * debug/wmemcpy_chk.c: Likewise.
48483         * debug/wmemmove_chk.c: Likewise.
48484         * debug/wmempcpy_chk.c: Likewise.
48485         * debug/wmemset_chk.c: Likewise.
48486         * dirent/scandirat.c (SCANDIRAT): Likewise.
48487         * dlfcn/dladdr1.c (dladdr1): Likewise.
48488         * dlfcn/dladdr.c (dladdr): Likewise.
48489         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48490         * dlfcn/dlerror.c (__dlerror): Likewise.
48491         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48492         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48493         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48494         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48495         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48496         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48497         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48498         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48499         Likewise.
48500         * elf/dl-conflict.c: Likewise.
48501         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48502         * elf/dl-dst.h: Likewise.
48503         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48504         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48505         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48506         * elf/dl-init.c (call_init, _dl_init): Likewise.
48507         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48508         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48509         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48510         Likewise.
48511         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48512         Likewise.
48513         * elf/dl-minimal.c (__libc_memalign): Likewise.
48514         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48515         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48516         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48517         * elf/dl-sym.c (do_sym): Likewise.
48518         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48519         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48520         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48521         * elf/dl-writev.h (_dl_writev): Likewise.
48522         * elf/ldconfig.c (search_dir): Likewise.
48523         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48524         (dl_main): Likewise.
48525         * elf/setup-vdso.h (setup_vdso): Likewise.
48526         * grp/compat-initgroups.c (compat_call): Likewise.
48527         * grp/fgetgrent.c (fgetgrent): Likewise.
48528         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48529         * grp/putgrent.c (putgrent): Likewise.
48530         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48531         Likewise.
48532         * hurd/hurdinit.c: Likewise.
48533         * iconvdata/8bit-gap.c (struct): Likewise.
48534         * iconvdata/ansi_x3.110.c : Likewise.
48535         * iconvdata/big5.c : Likewise.
48536         * iconvdata/big5hkscs.c : Likewise.
48537         * iconvdata/cp1255.c: Likewise.
48538         * iconvdata/cp1258.c : Likewise.
48539         * iconvdata/cp932.c : Likewise.
48540         * iconvdata/euc-cn.c: Likewise.
48541         * iconvdata/euc-jisx0213.c : Likewise.
48542         * iconvdata/euc-jp.c: Likewise.
48543         * iconvdata/euc-jp-ms.c : Likewise.
48544         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48545         * iconvdata/gb18030.c : Likewise.
48546         * iconvdata/gbbig5.c (const): Likewise.
48547         * iconvdata/gbgbk.c: Likewise.
48548         * iconvdata/gbk.c : Likewise.
48549         * iconvdata/ibm1364.c : Likewise.
48550         * iconvdata/ibm930.c : Likewise.
48551         * iconvdata/ibm932.c: Likewise.
48552         * iconvdata/ibm933.c : Likewise.
48553         * iconvdata/ibm935.c : Likewise.
48554         * iconvdata/ibm937.c : Likewise.
48555         * iconvdata/ibm939.c : Likewise.
48556         * iconvdata/ibm943.c: Likewise.
48557         * iconvdata/iso_11548-1.c: Likewise.
48558         * iconvdata/iso-2022-cn.c : Likewise.
48559         * iconvdata/iso-2022-cn-ext.c : Likewise.
48560         * iconvdata/iso-2022-jp-3.c: Likewise.
48561         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48562         * iconvdata/iso-2022-kr.c : Likewise.
48563         * iconvdata/iso646.c (gconv_end): Likewise.
48564         * iconvdata/iso_6937-2.c : Likewise.
48565         * iconvdata/iso_6937.c : Likewise.
48566         * iconvdata/iso8859-1.c: Likewise.
48567         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48568         * iconvdata/shift_jisx0213.c : Likewise.
48569         * iconvdata/sjis.c : Likewise.
48570         * iconvdata/t.61.c : Likewise.
48571         * iconvdata/tcvn5712-1.c : Likewise.
48572         * iconvdata/tscii.c: Likewise.
48573         * iconvdata/uhc.c : Likewise.
48574         * iconvdata/unicode.c (gconv_end): Likewise.
48575         * iconvdata/utf-16.c (gconv_end): Likewise.
48576         * iconvdata/utf-32.c (gconv_end): Likewise.
48577         * iconvdata/utf-7.c (base64): Likewise.
48578         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48579         * iconv/gconv_close.c (__gconv_close): Likewise.
48580         * iconv/gconv_open.c (__gconv_open): Likewise.
48581         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48582         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48583         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48584         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48585         (ucs4le_internal_loop_single): Likewise.
48586         * iconv/iconv.c (iconv): Likewise.
48587         * iconv/iconv_close.c: Likewise.
48588         * iconv/loop.c (SINGLE): Likewise.
48589         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48590         * include/atomic.h: Likewise.
48591         * inet/inet6_option.c (option_alloc): Likewise.
48592         * intl/bindtextdom.c (set_binding_values): Likewise.
48593         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48594         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48595         * intl/localealias.c (read_alias_file): Likewise.
48596         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48597         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48598         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48599         * libio/fmemopen.c (fmemopen): Likewise.
48600         * libio/iofgets.c (_IO_fgets): Likewise.
48601         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48602         * libio/iofgetws.c (fgetws): Likewise.
48603         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48604         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48605         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48606         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48607         * locale/findlocale.c (_nl_find_locale): Likewise.
48608         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48609         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48610         Likewise.
48611         * locale/setlocale.c (setlocale): Likewise.
48612         * login/programs/pt_chown.c (main): Likewise.
48613         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48614         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48615         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48616         (mmap, mmap64, mremap, munmap): Likewise.
48617         * math/e_exp2l.c: Likewise.
48618         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48619         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48620         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48621         * math/s_catan.c (__catan): Likewise.
48622         * math/s_catanf.c (__catanf): Likewise.
48623         * math/s_catanh.c (__catanh): Likewise.
48624         * math/s_catanhf.c (__catanhf): Likewise.
48625         * math/s_catanhl.c (__catanhl): Likewise.
48626         * math/s_catanl.c (__catanl): Likewise.
48627         * math/s_ccosh.c (__ccosh): Likewise.
48628         * math/s_ccoshf.c (__ccoshf): Likewise.
48629         * math/s_ccoshl.c (__ccoshl): Likewise.
48630         * math/s_cexp.c (__cexp): Likewise.
48631         * math/s_cexpf.c (__cexpf): Likewise.
48632         * math/s_cexpl.c (__cexpl): Likewise.
48633         * math/s_clog10.c (__clog10): Likewise.
48634         * math/s_clog10f.c (__clog10f): Likewise.
48635         * math/s_clog10l.c (__clog10l): Likewise.
48636         * math/s_clog.c (__clog): Likewise.
48637         * math/s_clogf.c (__clogf): Likewise.
48638         * math/s_clogl.c (__clogl): Likewise.
48639         * math/s_csin.c (__csin): Likewise.
48640         * math/s_csinf.c (__csinf): Likewise.
48641         * math/s_csinh.c (__csinh): Likewise.
48642         * math/s_csinhf.c (__csinhf): Likewise.
48643         * math/s_csinhl.c (__csinhl): Likewise.
48644         * math/s_csinl.c (__csinl): Likewise.
48645         * math/s_csqrt.c (__csqrt): Likewise.
48646         * math/s_csqrtf.c (__csqrtf): Likewise.
48647         * math/s_csqrtl.c (__csqrtl): Likewise.
48648         * math/s_ctan.c (__ctan): Likewise.
48649         * math/s_ctanf.c (__ctanf): Likewise.
48650         * math/s_ctanh.c (__ctanh): Likewise.
48651         * math/s_ctanhf.c (__ctanhf): Likewise.
48652         * math/s_ctanhl.c (__ctanhl): Likewise.
48653         * math/s_ctanl.c (__ctanl): Likewise.
48654         * math/w_pow.c: Likewise.
48655         * math/w_powf.c: Likewise.
48656         * math/w_powl.c: Likewise.
48657         * math/w_scalb.c (sysv_scalb): Likewise.
48658         * math/w_scalbf.c (sysv_scalbf): Likewise.
48659         * math/w_scalbl.c (sysv_scalbl): Likewise.
48660         * misc/error.c (error_tail): Likewise.
48661         * misc/pselect.c (__pselect): Likewise.
48662         * nis/nis_callback.c (__nis_create_callback): Likewise.
48663         * nis/nis_call.c (__nisfind_server): Likewise.
48664         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48665         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48666         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48667         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48668         * nis/nis_lookup.c (nis_lookup): Likewise.
48669         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48670         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48671         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48672         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48673         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48674         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48675         * nis/nss_compat/compat-initgroups.c (add_group)
48676         (internal_getgrent_r): Likewise.
48677         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48678         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48679         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48680         (internal_getspnam_r): Likewise.
48681         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48682         (_nss_nis_getaliasbyname_r): Likewise.
48683         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48684         (_nss_nis_getntohost_r): Likewise.
48685         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48686         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48687         (_nss_nis_getgrgid_r): Likewise.
48688         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48689         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48690         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48691         (_nss_nis_gethostbyname4_r): Likewise.
48692         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48693         (initgroups_netid): Likewise.
48694         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48695         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48696         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48697         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48698         (_nss_nis_getprotobynumber_r): Likewise.
48699         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48700         (_nss_nis_getsecretkey): Likewise.
48701         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48702         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48703         (_nss_nis_getpwuid_r): Likewise.
48704         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48705         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48706         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48707         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48708         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48709         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48710         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48711         Likewise.
48712         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48713         (_nss_nisplus_getntohost_r): Likewise.
48714         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48715         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48716         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48717         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48718         Likewise.
48719         * nis/nss_nisplus/nisplus-initgroups.c
48720         (_nss_nisplus_initgroups_dyn): Likewise.
48721         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48722         (_nss_nisplus_getnetbyaddr_r): Likewise.
48723         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48724         (_nss_nisplus_getprotobynumber_r): Likewise.
48725         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48726         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48727         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48728         Likewise.
48729         * nis/nss_nisplus/nisplus-service.c
48730         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48731         (_nss_nisplus_getservbyport_r): Likewise.
48732         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48733         (_nss_nisplus_getspnam_r): Likewise.
48734         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48735         Likewise.
48736         * nscd/aicache.c (addhstaiX): Likewise.
48737         * nscd/cache.c (cache_search, prune_cache): Likewise.
48738         * nscd/connections.c (register_traced_file, send_ro_fd)
48739         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48740         (main_loop_epoll): Likewise.
48741         * nscd/grpcache.c (addgrbyX): Likewise.
48742         * nscd/hstcache.c (addhstbyX): Likewise.
48743         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48744         * nscd/mem.c (gc, mempool_alloc): Likewise.
48745         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48746         (addinnetgrX): Likewise.
48747         * nscd/nscd-client.h (__nscd_acquire_maplock)
48748         (__nscd_drop_map_ref): Likewise.
48749         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48750         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48751         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48752         Likewise.
48753         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48754         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48755         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48756         (__nscd_get_map_ref): Likewise.
48757         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48758         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48759         Likewise.
48760         * nscd/pwdcache.c (addpwbyX): Likewise.
48761         * nscd/selinux.c (preserve_capabilities): Likewise.
48762         * nscd/servicescache.c (addservbyX): Likewise.
48763         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48764         * posix/fnmatch.c (fnmatch): Likewise.
48765         * posix/getopt.c (_getopt_internal_r): Likewise.
48766         * posix/glob.c (glob, glob_in_dir): Likewise.
48767         * posix/wordexp.c (exec_comm_child): Likewise.
48768         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48769         (getanswer_r, gaih_getanswer_slice): Likewise.
48770         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48771         * resolv/res_init.c: Likewise.
48772         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48773         * resolv/res_query.c (__libc_res_nquery): Likewise.
48774         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48775         Likewise.
48776         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48777         * stdio-common/perror.c (perror): Likewise.
48778         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48779         * stdio-common/tmpnam.c (tmpnam): Likewise.
48780         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48781         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48782         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48783         Likewise.
48784         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48785         * stdlib/putenv.c (putenv): Likewise.
48786         * stdlib/setenv.c (__add_to_environ): Likewise.
48787         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48788         * stdlib/strtol_l.c (INTERNAL): Likewise.
48789         * string/memmem.c (memmem): Likewise.
48790         * string/strerror.c (strerror): Likewise.
48791         * string/strnlen.c (__strnlen): Likewise.
48792         * string/test-memmem.c (simple_memmem): Likewise.
48793         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48794         * sunrpc/pm_getport.c (__get_socket): Likewise.
48795         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48796         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48797         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48798         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48799         Likewise.
48800         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48801         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48802         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48803         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48804         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48805         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48806         Likewise.
48807         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48808         Likewise.
48809         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48810         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48811         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48812         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48813         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48815         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48816         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48817         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48818         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48819         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48820         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48821         Likewise.
48822         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48823         Likewise.
48824         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48825         Likewise.
48826         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48827         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48828         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48829         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48830         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48831         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48832         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48834         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48835         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48836         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48838         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48839         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48841         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48842         Likewise.
48843         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48844         Likewise.
48845         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48846         Likewise.
48847         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48848         Likewise.
48849         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48850         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48851         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48852         Likewise.
48853         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48854         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48855         * sysdeps/posix/opendir.c (__opendirat): Likewise.
48856         * sysdeps/posix/sleep.c: Likewise.
48857         * sysdeps/posix/tempname.c: Likewise.
48858         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48859         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48860         Likewise.
48861         * sysdeps/powerpc/powerpc32/dl-machine.h
48862         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48863         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48864         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48865         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48866         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48867         Likewise.
48868         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48869         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48870         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48871         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48872         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48873         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
48874         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
48875         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
48876         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48877         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
48878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
48879         (elf_machine_lazy_rel): Likewise.
48880         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
48882         (elf_machine_lazy_rel): Likewise.
48883         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
48884         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
48885         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
48886         * sysdeps/unix/grantpt.c (grantpt): Likewise.
48887         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
48888         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
48889         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
48890         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48891         Likewise.
48892         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
48893         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
48894         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
48895         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
48896         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48897         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48898         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
48899         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
48900         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
48901         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48902         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48903         Likewise.
48904         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
48905         (__posix_fallocate64_l64): Likewise.
48906         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
48907         (posix_fallocate): Likewise.
48908         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
48909         Likewise.
48910         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48911         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
48912         (getifaddrs_internal): Likewise.
48913         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
48914         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
48915         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
48916         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
48917         * sysdeps/unix/sysv/linux/posix_fallocate64.c
48918         (__posix_fallocate64_l64): Likewise.
48919         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
48920         Likewise.
48921         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
48922         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
48923         (__get_clockfreq): Likewise.
48924         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
48925         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
48926         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
48927         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48929         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
48930         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
48931         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
48932         Likewise.
48933         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
48934         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
48935         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
48936         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
48937         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48938         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
48939         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
48940         Likewise.
48941         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48942         (posix_fallocate): Likewise.
48943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48944         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
48945         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
48946         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
48947         (elf_machine_rela, elf_machine_rela_relative)
48948         (elf_machine_lazy_rel): Likewise.
48949         * time/asctime.c (asctime_internal): Likewise.
48950         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
48951         * time/tzset.c (__tzset_parse_tz): Likewise.
48952         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
48953         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
48954         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
48955         * wcsmbs/wcsmbsload.h: Likewise.
48957         [BZ #15894]
48958         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
48960         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
48961         (arena_get2): Remove THREAD_STATS conditionals.
48962         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
48963         (__malloc_stats, int): Likewise.
48965 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
48967         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
48968         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
48970         * manual/setjmp.texi: Fix typos/grammar errors.
48972         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
48973         Only return early when n is <= 0.  Delete unused return statement.
48975         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
48976         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
48977         * debug/tst-longjmp_chk3.c: New file.
48979         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
48980         (test_main): Replace code with set_fortify_handler call.
48981         * debug/test-strcpy_chk.c: Likewise.
48982         * debug/tst-chk1.c: Likewise.
48983         * debug/tst-longjmp_chk.c: Likewise.
48984         * test-skeleton.c: Include fcntl.h & paths.h
48985         (set_fortify_handler): Define.
48987         * debug/tst-longjmp_chk.c: Add header comment and include
48988         ../test-skeleton.c.
48989         (do_test): Mark static.
48990         (TEST_FUNCTION): Define.
48992         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
48993         (IP_PMTUDISC_INTERFACE): Likewise.
48994         (IP_MULTICAST_IF): Likewise.
48995         (IP_MULTICAST_TTL): Likewise.
48996         (IP_MULTICAST_LOOP): Likewise.
48997         (IP_ADD_MEMBERSHIP): Likewise.
48998         (IP_DROP_MEMBERSHIP): Likewise.
48999         (IP_UNBLOCK_SOURCE): Likewise.
49000         (IP_BLOCK_SOURCE): Likewise.
49001         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49002         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49003         (IP_MSFILTER): Likewise.
49004         (MCAST_JOIN_GROUP): Likewise.
49005         (MCAST_BLOCK_SOURCE): Likewise.
49006         (MCAST_UNBLOCK_SOURCE): Likewise.
49007         (MCAST_LEAVE_GROUP): Likewise.
49008         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49009         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49010         (MCAST_MSFILTER): Likewise.
49011         (IP_MULTICAST_ALL): Likewise.
49012         (IP_UNICAST_IF): Likewise.
49014         * timezone/Makefile: Delete $(have-ksh) check.
49015         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49016         * timezone/tzselect.ksh: Add +x mode bits.
49018         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49019         (ANON_INODE_FS_MAGIC): Likewise.
49020         (BDEVFS_MAGIC): Likewise.
49021         (BINFMTFS_MAGIC): Likewise.
49022         (BTRFS_TEST_MAGIC): Likewise.
49023         (CRAMFS_MAGIC_WEND): Likewise.
49024         (DEBUGFS_MAGIC): Likewise.
49025         (ECRYPTFS_SUPER_MAGIC): Likewise.
49026         (EXT3_SUPER_MAGIC): Likewise.
49027         (EXT4_SUPER_MAGIC): Likewise.
49028         (FUTEXFS_SUPER_MAGIC): Likewise.
49029         (HOSTFS_SUPER_MAGIC): Likewise.
49030         (HUGETLBFS_MAGIC): Likewise.
49031         (MINIX3_SUPER_MAGIC): Likewise.
49032         (MTD_INODE_FS_MAGIC): Likewise.
49033         (NILFS_SUPER_MAGIC): Likewise.
49034         (OPENPROM_SUPER_MAGIC): Likewise.
49035         (PIPEFS_MAGIC): Likewise.
49036         (PSTOREFS_MAGIC): Likewise.
49037         (QNX6_SUPER_MAGIC): Likewise.
49038         (RAMFS_MAGIC): Likewise.
49039         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49040         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49041         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49042         (SECURITYFS_MAGIC): Likewise.
49043         (SELINUX_MAGIC): Likewise.
49044         (SMACK_MAGIC): Likewise.
49045         (SOCKFS_MAGIC): Likewise.
49046         (SQUASHFS_MAGIC): Likewise.
49047         (STACK_END_MAGIC): Likewise.
49048         (TMPFS_MAGIC): Likewise.
49049         (USBDEVICE_SUPER_MAGIC): Likewise.
49050         (V9FS_MAGIC): Likewise.
49051         (XENFS_SUPER_MAGIC): Likewise.
49052         (CRAMFS_MAGIC): Fix typo in comment.
49053         (EXT2_SUPER_MAGIC): Update comment.
49054         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49056 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49058         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49059         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49060         * sysdeps/unix/sysv/linux/arm: Move directory from
49061         ports/sysdeps/unix/sysv/linux/arm.
49062         * README: Update listing for arm-*-linux-gnueabi.
49064         * README: Remove mention of am33.
49066 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49068         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49069         than the comma operator, to avoid "rhs of comma has no effect"
49070         compiler warnings.
49071         (__sigfillset, __sigandset, __sigorset): Likewise.
49072         * include/signal.h (__sigemptyset): Likewise.
49073         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49075 2014-02-07  Allan McRae  <allan@archlinux.org>
49077         * version.h (RELEASE): Set to "development".
49078         (VERSION): Set to "2.19.90"
49079         * NEWS: Add 2.20 section.
49081 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49083         [BZ #16529]
49084         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49086 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49088         * manual/contrib.texi: Update entry for Carlos O'Donell,
49089         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49091 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49093         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49095         * sysdeps/unix/sysv/linux/kernel-features.h
49096         [__LINUX_KERNEL_VERSION >= 0x020621]
49097         (__ASSUME_PROC_PID_TASK_COMM): Define.
49099 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49101         [BZ #16398]
49102         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49103         conversion when destination buffer does not have enough space.
49104         * libio/tst-ftell-partial-wide.c: New test case.
49105         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49107         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49108         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49109         Leonard and Allan McRae.
49111 2014-02-04  David S. Miller  <davem@davemloft.net>
49113         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49114         32-bit.
49116 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49119         New file
49120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49121         New file
49122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49123         New file.
49124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49125         New file.
49126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49127         New file.
49128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49129         New file.
49130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49131         New file.
49132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49133         New file.
49134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49135         New file.
49136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49137         New file.
49138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49139         New file.
49140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49141         New file.
49142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49143         New file.
49145 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49147         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49148         * shlib-versions: Likewise.
49150 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49151             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49153         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49154         (abilist-pattern): New variable, set to %-le.abilist.
49156         * Makerules (abilist-pattern): New variable.
49157         (vpath): Use $(abilist-pattern) in place of %.abilist.
49158         (check-abi-% pattern rule): Likewise.
49159         (check-abi, update-abi): Likewise.
49161 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49165 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49167         * manual/startup.texi: Add next, previous, and top entries for
49168         the `Program Arguments' and `Environment Variables' nodes.
49170 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49172         * manual/macros.texi: Add comments before MTASC-safety macros.
49174         * manual/users.texi: Document MTASC-safety properties.
49176         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49177         (pthread_getspecific, pthread_setspecific): Format with
49178         @deftypefun, and add @safety note.
49179         * manual/signal.texi: Move comments that analyze the above
49180         functions to their home place.
49182 2014-02-03  Allan McRae  <allan@archlinux.org>
49184         * po/sl.po: Update Slovenian translation from translation project.
49186 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
49188         * manual/time.texi (timegm): Add missing blank after @c.
49189         Reported by Joseph Myers <joseph@codesourcery.com>.
49191 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
49193         * manual/check-safety.sh: New.
49194         * manual/Makefile ($(objpfx)stamp-summary): Run it.
49196         * manual/terminal.texi: Document MTASC-safety properties.
49198         * manual/filesys.texi: Document MTASC-safety properties.
49200         * manual/errno.texi: Document MTASC-safety properties.
49202         * manual/intro.texi: Document safety identifiers and
49203         conditionals.
49205         * manual/string.texi (wcstok): Fix prototype.
49206         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
49208         * manual/time.texi: Document MTASC-safety properties.
49210         * manual/string.texi: Document MTASC-safety properties.
49212         * manual/threads.texi: Document MTASC-safety properties.
49214         * manual/stdio.texi: Document MTASC-safety properties.
49216         * manual/syslog.texi: Document MTASC-safety properties.
49218         * manual/sysinfo.texi: Document MTASC-safety properties.
49220         * manual/startup.texi: Document MTASC-safety properties.
49222         * manual/socket.texi: Document MTASC-safety properties.
49224         * manual/signal.texi: Document MTASC-safety properties.
49226 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
49228         * manual/setjmp.texi: Document MTASC-safety properties.
49230         * manual/search.texi: Document MTASC-safety properties.
49232         * manual/resource.texi: Document MTASC-safety properties.
49234         * manual/process.texi: Document MTASC-safety properties.
49236         * manual/platform.texi: Document MTASC-safety properties.
49238         * manual/pipe.texi: Document MTASC-safety properties.
49240         * manual/pattern.texi: Document MTASC-safety properties.
49242         * manual/message.texi: Document MTASC-safety properties.
49244         [BZ #12751]
49245         * manual/memory.texi: Document MTASC-safety properties.
49247         * manual/math.texi: Document MTASC-safety properties.
49249         * manual/locale.texi: Document MTASC-safety properties.
49251         * manual/llio.texi: Document MTASC-safety properties.
49253         * manual/libdl.texi: New.
49255         * manual/lang.texi: Document MTASC-safety properties.
49257         * manual/job.texi: Document MTASC-safety properties.
49259         * manual/getopt.texi: Document MTASC-safety properties.
49261         * manual/ctype.texi: Document MTASC-safety properties.
49263 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49265         [BZ #16046]
49266         * csu/libc-tls.c (static_map): Remove variable.
49267         (__libc_setup_tls): Use main executable's link map for TLS data.
49268         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49269         casing for LM_ID_BASE and GL(dl_nns).
49270         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49271         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49272         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49273         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49274         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49275         member.
49276         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49277         l_phnum members.
49279 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49281         * manual/debug.texi: Document MTASC-safety properties.
49283 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49285         [BZ #16510]
49286         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49287         of __x86_64__ when disabling x87 inline functions.
49289 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49291         * manual/charset.texi: Document MTASC-safety properties.
49293         * manual/crypt.texi: Document MTASC-safety properties.
49295         * manual/conf.texi: Document MTASC-safety properties.
49297         * manual/arith.texi: Document MTASC-safety properties.
49299         * manual/argp.texi: Document MTASC-safety properties.
49301         * manual/macros.texi: Introduce macros to document multi
49302         thread, asynchronous signal and asynchronous cancellation
49303         safety properties.
49304         * manual/intro.texi: Introduce the properties themselves.
49306 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49308         * sysdeps/sh/sh4/Makefile: New file.
49310 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49312         * math/gen-libm-test.pl ($srcdir): New variable.
49313         ($auto_input): Use it.
49315 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49317         [BZ #16506]
49318         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49319         access beyond array bounds when parsing netgroups file.
49321         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49322         the old buffer before realloc.
49324 2014-01-27  Allan McRae  <allan@archlinux.org>
49326         * po/fr.po: Update French translation from translation project.
49328 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49330         * sysdeps/sh/libm-test-ulps: Regenerate.
49332 2014-01-24  David S. Miller  <davem@davemloft.net>
49334         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49336 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49338         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49339         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49341 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49343         [BZ #16474]
49344         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49345         string pointers after reallocation.
49347 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49349         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49350         __SH4A__ instead of __SH_FPU_ANY__.
49352 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49354         * sysdeps/sh/fpu_control.h: New file.
49355         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49356         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49357         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49358         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49359         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49360         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49361         * sysdeps/sh/sys/ucontext.h: Remove.
49362         * sysdeps/sh/sys: Remove directory.
49364 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49366         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49367         s390/sys/ucontext.h.
49368         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49369         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49371 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49373         [BZ #15605]
49374         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49376 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49378         [BZ#16431]
49379         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49380         Adjust the vDSO correctly for internal calls.
49381         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49383 2014-01-20  Allan McRae  <allan@archlinux.org>
49385         * po/ca.po: Update Catalan translation from translation project.
49387 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49389         * sysdeps/s390/sotruss-lib.c: New file.
49391 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49393         [BZ#16430]
49394         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49395         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49396         local calls issues by not having a PLT stub required for IFUNC calls.
49397         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49399 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49401         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49402         * math/test-fpucw-static.c: Likewise.
49404 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49406         [BZ #16453]
49407         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49409 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49411         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49412         implementation for powerpc.
49414 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49416         [BZ #14782]
49417         * sysdeps/posix/system.c (__libc_system): Do not enable
49418         asynchronous cancellation.
49420 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49422         [BZ #16427]
49423         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49424         handling only for numbers special also in the IEEE case.
49426 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49428         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49430 2014-01-11  Allan McRae  <allan@archlinux.org>
49432         * po/bg.po: Update Bulgarian translation from translation project.
49434         * po/de.po: Update German translation from translation project.
49436 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49438         * sysdeps/generic/gcc-compat.h: New file.
49440 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49442         * benchtests/asin-inputs: Correct slow inputs.
49443         * benchtests/acos-inputs: Likewise.
49445 2014-01-10  Allan McRae  <allan@archlinux.org>
49447         * po:sv.po: Update Swedish translation from translation project.
49449         * po/vi.po: Update Vietnamese translation from translation project.
49451         * po/eo.po: Update Esperanto translation from translation project.
49453         * po/cs.po: Update Czech translation from translation project.
49455         * po/nl.po: Update Dutch translation from translation project.
49457         * po/pl.po: Update Polish translation from translation project.
49459         * po/ru.po: Update Russian translation from translation project.
49461         * po/uk.po: Update Ukrainian translation from translation project.
49463 2014-01-08  Brooks Moses  <bmoses@google.com>
49465         * elf/dl-load.c: Fix comment typo.
49467 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49469         * po/header.pot: Rename to...
49470         * po/pot.header: ... this.
49471         * po/Makefile: Use pot.header.
49473 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49474             Maxim Kuvyrkov  <maxim@kugelworks.com>
49476         [BZ #16394]
49477         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49478         SRC and DEST against LEN.
49480 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49482         [BZ #16414]
49483         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49484         implementation.
49485         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49487 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49491 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49493         [BZ #16408]
49494         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49495         for large positive arguments.
49497 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49499         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49501         * math/auto-libm-test-in: Mark various tests with
49502         xfail-rounding:ldbl-128ibm.
49503         * math/auto-libm-test-out: Regenerated.
49505         [BZ #16407]
49506         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49507         Increase overflow threshold.
49509 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49511         [BZ #14286]
49512         * stdio-common/vfprintf.c: Check for integer overflow.
49514 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49516         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49517         the first argument and return value of __tls_get_addr_internal.
49519 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49521         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49522         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49524 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49526         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49527         * sysdeps/s390/rtld-global-offsets.sym: New file.
49528         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49529         GLIBC_2.19 symbol.
49530         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49531         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49532         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49533         ... this.
49534         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49535         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49536         ... this.
49537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49538         Regenerate.
49539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49540         Regenerate.
49541         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49542         halfs of GPRs for high_gprs contexts.
49543         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49544         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49545         field.
49546         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49547         uc_flags field.
49548         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49549         64 bit versions:
49550         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49551         for high GPRs (uc_high_gprs) and for future extensions
49552         (__reserved).
49553         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49554         for future extensions (__reserved).
49555         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49556         64 bit versions:
49557         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49558         SC_HIGHGPRS offset definition.
49559         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49560         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49562         * Versions.def: Add GLIBC_2.19 for libpthread.
49563         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49564         siglongjmp for libpthread with GLIBC_2.19 symver.
49565         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49566         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49567         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49568         * sysdeps/s390/__longjmp.c: New file.
49569         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49570         * sysdeps/s390/longjmp.c: New file.
49571         * sysdeps/s390/setjmp.S: New file.
49572         * sysdeps/s390/sigjmp.S: New file.
49573         * sysdeps/s390/v1-longjmp.c: New file.
49574         * sysdeps/s390/v1-setjmp.h: New file.
49575         * sysdeps/s390/v1-sigjmp.c: New file.
49576         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49577         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49578         GLIBC_2.19 version.
49579         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49580         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49581         versioned symbols for ____longjmp_chk.
49582         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49583         Likewise.
49584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49585         Regenerate.
49586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49587         Regenerate.
49588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49589         Regenerate.
49590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49591         Regenerate.
49592         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49593         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49594         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49595         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49596         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49597         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49598         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49599         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49600         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49601         * sysdeps/s390/rtld-__longjmp.c: New file.
49602         * sysdeps/s390/rtld-setjmp.S: New file.
49604 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49606         [BZ #16400]
49607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49608         Return -__logl (x) for small positive arguments without evaluating
49609         a polynomial.
49611 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49613         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49614         Rename to ...
49615         (__ptrace_peeksiginfo_args): ... this.
49616         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49617         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49618         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49620 2014-01-06  Allan McRae  <allan@archlinux.org>
49622         * inet/netinet/in.h: Fix typo in comment.
49624 2014-01-05  Andreas Jaeger  <aj@suse.de>
49626         * sysdeps/i386/fpu/libm-test-ulps: Update.
49628 2014-01-05  Allan McRae  <allan@archlinux.org>
49630         * po/libc.pot: Regenerated.
49632         * malloc/memusagestat.c: Fix gettext call formatting.
49634 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49636         * nscd/nscd.c: Improve usage() output.
49638 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49640         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49641         * sysdeps/unix/sysv/linux/configure: Regenerated.
49642         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49643         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49645 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49647         [BZ #16390]
49648         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49649         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49651 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49654         extra tokens at end of #undef directive.
49655         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49656         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49657         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49659 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49661         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49663         * math/auto-libm-test-in: Mark various tests with
49664         xfail-rounding:ldbl-128ibm.
49665         * math/auto-libm-test-out: Regenerated.
49667 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49669         [BZ #16386]
49670         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49671         numbers with subnormal high part when calculating exponent.
49673         [BZ #16385]
49674         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49675         fabs.
49677         [BZ #16384]
49678         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49679         M_LN2l.
49680         (__ieee754_acoshl): Use __log1pl not __log1p.
49682 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49684         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49685         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49686         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49687         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49688         (reused_arena, arena_get2): Convert to GNU style.
49689         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49690         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49691         (memalign_check, __malloc_set_state): Likewise.
49692         * malloc/mallocbug.c (main): Likewise.
49693         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49694         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49695         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49696         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49697         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49698         (__posix_memalign, malloc_info): Likewise.
49699         * malloc/malloc.h: Likewise.
49700         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49701         (mallochook, memalignhook, reallochook, mabort): Likewise.
49702         * malloc/mcheck.h: Likewise.
49703         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49704         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49705         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49706         * malloc/morecore.c (__default_morecore): Likewise.
49707         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49708         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49709         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49710         (print_and_abort): Likewise.
49711         * malloc/obstack.h: Likewise.
49712         * malloc/set-freeres.c (__libc_freeres): Likewise.
49713         * malloc/tst-mallocstate.c (main): Likewise.
49714         * malloc/tst-mtrace.c (main): Likewise.
49715         * malloc/tst-realloc.c (do_test): Likewise.
49717 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49719         [BZ #16366]
49720         * nscd/netgroupcache.c (do_notfound): New function.
49721         (addgetnetgrentX): Use it.
49723         [BZ # 16365]
49724         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49725         NSS_STATUS_NOTFOUND.
49727 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49729         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49732 2014-01-01  Allan McRae  <allan@archlinux.org>
49734         * scripts/update-copyrights: Update configure input file suffix.
49736         * NEWS: Update copyright year.
49737         * catgets/gencat.c: Likewise.
49738         * csu/version.c: Likewise.
49739         * debug/catchsegv.sh: Likewise.
49740         * debug/pcprofiledump.c: Likewise.
49741         * debug/xtrace.sh: Likewise.
49742         * elf/ldconfig.c: Likewise.
49743         * elf/ldd.bash.in: Likewise.
49744         * elf/pldd.c: Likewise.
49745         * elf/sotruss.ksh: Likewise.
49746         * elf/sprof.c: Likewise.
49747         * iconv/iconv_prog.c: Likewise.
49748         * iconv/iconvconfig.c: Likewise.
49749         * locale/programs/locale.c: Likewise.
49750         * locale/programs/localedef.c: Likewise.
49751         * login/programs/pt_chown.c: Likewise.
49752         * malloc/memusage.sh: Likewise.
49753         * malloc/memusagestat.c: Likewise.
49754         * malloc/mtrace.pl: Likewise.
49755         * manual/libc.texinfo: Likewise.
49756         * nscd/nscd.c: Likewise.
49757         * nss/getent.c: Likewise.
49758         * nss/makedb.c: Likewise.
49759         * posix/getconf.c: Likewise.
49760         * scripts/test-installation.pl: Likewise.
49762         * All files with FSF copyright notices: Update copyright dates
49763         using scripts/update-copyrights.
49764         * intl/plural.c: Regenerated.
49765         * locale/programs/charmap-kw.h: Likewise.
49766         * locale/programs/locfile-kw.h: Likewise.
49768 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49770         * sysdeps/unix/sysv/linux/configure: Regenerated.
49771         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49772         the linux/fanotify.h header.
49773         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49774         HAVE_LINUX_FANOTIFY_H is defined.
49776 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49778         * benchtests/cos-inputs: New inputs.
49779         * benchtests/sin-inputs: Likewise.
49781         * benchtests/atan-inputs: New inputs. Fix name of multiple
49782         precision fallback inputs.
49784         * benchtests/atanh-inputs: New inputs.
49785         * benchtests/tanh-inputs: Likewise.
49787         * benchtests/acosh-inputs: New inputs.
49788         * benchtests/asinh-inputs: Likewise.
49790         * benchtests/cosh-inputs: New inputs.
49791         * benchtests/sinh-inputs: Likewise.
49793         * benchtests/acos-inputs: Add more inputs.
49794         * benchtests/asin-inputs: Likewise.
49796 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49798         [BZ #16375]
49799         * manual/arith.texi: Fix spelling.
49800         * manual/charset.texi: Likewise.
49801         * manual/errno.texi: Likewise.
49802         * manual/filesys.texi: Likewise.
49803         * manual/lang.texi: Likewise.
49804         * manual/llio.texi: Likewise.
49805         * manual/locale.texi: Likewise.
49806         * manual/message.texi: Likewise.
49807         * manual/resource.texi: Likewise.
49808         * manual/search.texi: Likewise.
49809         * manual/setjmp.texi: Likewise.
49810         * manual/stdio.texi: Likewise.
49811         * manual/string.texi: Likewise.
49812         * manual/sysinfo.texi: Likewise.
49813         * manual/time.texi: Likewise.
49815 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49817         * po/sl.po: New file.
49819 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49821         * .gitignore: Add core/.gdbinit/.gdb_history.
49823 2013-12-27  Allan McRae  <allan@archlinux.org>
49825         [BZ #16369]
49826         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49827         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49829 2013-12-24  Brooks Moses  <bmoses@google.com>
49831         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49832         all compilers that claim C++98 compliance, not just GCC.
49833         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49834         Likewise.
49836 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49838         * NEWS: Restore accidentally deleted bug-fix entries.
49840 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49841             Ondřej Bílka  <neleai@seznam.cz>
49843         [BZ #15073]
49844         * malloc/malloc.c (_int_free): Perform sanity check only if we
49845         have_lock.
49847 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
49849         [BZ #12986]
49850         * manual/stdio.texi (String Input Conversions): Clarify that character
49851         classes are not supported.
49853 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49857 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
49859         [BZ #16337]
49860         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49861         Calculate results for small negative arguments directly rather
49862         than using reflection formula with special underflow handling.
49864         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49865         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49866         sysdeps/unix/bsd/bsd4.4/syscalls.list.
49867         (fchflags): Likewise.
49868         (revoke): Likewise.
49869         (setlogin): Likewise.
49870         (sigaltstack): Likewise.
49871         (wait4): Likewise.
49872         (sigblock): Remove.
49873         (sigsetmask): Likewise.
49874         (wait3): Likewise.
49875         (waitpid): Likewise.
49876         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49877         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
49878         file.
49879         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
49880         * sysdeps/unix/bsd/Makefile: ... here.
49881         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
49882         * sysdeps/unix/bsd/Versions: ... here.
49883         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49884         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
49885         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
49886         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
49887         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49888         * sysdeps/unix/bsd/sigblock.c: ... here.
49889         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
49890         * sysdeps/unix/bsd/sigsetmask.c: ... here.
49891         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
49892         * sysdeps/unix/bsd/sigvec.c: ... here.
49893         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
49894         * sysdeps/unix/bsd/tcdrain.c: ... here.
49895         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
49896         * sysdeps/unix/bsd/tcgetattr.c: ... here.
49897         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
49898         * sysdeps/unix/bsd/tcsetattr.c: ... here.
49899         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
49900         * sysdeps/unix/bsd/wait.c: ... here.
49901         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
49902         * sysdeps/unix/bsd/wait3.c: ... here.
49903         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
49904         * sysdeps/unix/bsd/waitpid.c: ... here.
49906 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
49908         [BZ #16356]
49909         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
49910         round-to-nearest for [!USE_AS_EXPM1L].
49911         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
49912         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
49913         more tests of exp and exp10.  Expect some exp10 tests to miss
49914         exceptions or fail in directed rounding modes.
49915         * math/auto-libm-test-out: Regenerated.
49916         * math/libm-test.inc (exp10_tonearest_test_data): New array.
49917         (exp10_test_tonearest): New function.
49918         (exp10_towardzero_test_data): New array.
49919         (exp10_test_towardzero): New function.
49920         (exp10_downward_test_data): New array.
49921         (exp10_test_downward): New function.
49922         (exp10_upward_test_data): New array.
49923         (exp10_test_upward): New function.
49924         (main): Call the new functions.
49925         * sysdeps/i386/fpu/libm-test-ulps: Update.
49926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49928 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
49930         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
49931         asinh, atan, atan2, atanh, cbrt, cos and cosh.
49932         * math/auto-libm-test-out: Regenerated.
49933         * math/libm-test.inc (acosh_test_data): Add more tests.
49934         (atanh_test_data): Likewise.
49935         (ceil_test_data): Likewise.
49936         (copysign_test_data): Likewise.
49937         * sysdeps/i386/fpu/libm-test-ulps: Update.
49938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49940         * timezone/checktab.awk: Update from tzcode 2013i.
49941         * timezone/private.h: Likewise.
49942         * timezone/scheck.c: Likewise.
49943         * timezone/tzfile.h: Likewise.
49944         * timezone/tzselect.ksh: Likewise.
49945         * timezone/zdump.c: Likewise.
49946         * timezone/zic.c: Likewise.
49948         * math/auto-libm-test-in: Add tests of cpow.
49949         * math/auto-libm-test-out: Regenerated.
49950         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
49951         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49952         mpc_cc_c.
49953         (func_calc_desc): Add mpc_cc_c union field.
49954         (test_functions): Add cpow.
49955         (special_fill_2pi): New function.
49956         (special_real_inputs): Add 2pi.
49957         (calc_generic_results): Handle mpc_cc_c.
49958         * sysdeps/i386/fpu/libm-test-ulps: Update.
49959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49961         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
49962         csqrt, ctan and ctanh.
49963         * math/auto-libm-test-out: Regenerated.
49964         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49965         (TEST_COND_x86): Likewise.
49966         (ccos_test_data): Use AUTO_TESTS_c_c.
49967         (ccosh_test_data): Likewise.
49968         (cexp_test_data): Likewise.
49969         (clog_test_data): Likewise.
49970         (csqrt_test_data): Likewise.
49971         (ctan_test_data): Likewise.
49972         (ctan_tonearest_test_data): Likewise.
49973         (ctan_towardzero_test_data): Likewise.
49974         (ctan_downward_test_data): Likewise.
49975         (ctan_upward_test_data): Likewise.
49976         (ctanh_test_data): Likewise.
49977         (ctanh_tonearest_test_data): Likewise.
49978         (ctanh_towardzero_test_data): Likewise.
49979         (ctanh_downward_test_data): Likewise.
49980         (ctanh_upward_test_data): Likewise.
49981         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49982         mpc_c_c.
49983         (func_calc_desc): Add mpc_c_c union field.
49984         (FUNC_mpc_c_c): New macro.
49985         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
49986         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
49987         ctanh.
49988         (special_fill_min_subnorm_p120): New function.
49989         (special_real_inputs): Add min_subnorm_p120.
49990         (calc_generic_results): Handle mpc_c_c.
49991         * sysdeps/i386/fpu/libm-test-ulps: Update.
49992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49994 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49996         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
49997         (do_sin_slow): New functions.
49998         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
49999         (cslow2, csloww1, csloww2): Use the new functions.
50001         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50002         Use M to change sign of result instead of X.  Assume X is
50003         positive.
50004         (csloww1): Likewise.
50005         (__sin): Adjust.
50006         (__cos): Adjust.
50008         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50009         arguments A and DA.
50010         (__sin): Adjust.
50011         (__cos): Likewise.
50013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50014         (__cos): Likewise.
50015         (sloww1): Don't adjust sign of DX.
50016         (csloww1): Likewise.
50017         (sloww2): Use X directly and don't adjust sign of DX.
50018         (csloww2): Likewise.
50020 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50022         * math/auto-libm-test-in: Add tests of cabs and carg.
50023         * math/auto-libm-test-out: Regenerated.
50024         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50025         (carg_test_data): Likewise.
50026         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50027         mpc_c_f.
50028         (func_calc_desc): Add mpc_c_f union field.
50029         (test_functions): Add cabs and carg.
50030         (calc_generic_results): Handle mpc_c_f.
50032         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50033         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50034         as a macro and a compat symbol.
50035         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50036         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50037         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50038         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50039         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50040         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50041         not use .hidden.
50042         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50043         Likewise.
50044         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50045         Likewise.
50046         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50047         Likewise.
50048         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50049         Likewise.
50050         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50051         Likewise.
50052         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50053         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50054         from GLIBC_2.3.2.
50056 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50060 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50062         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50063         trailing whitespace removed.
50064         * scripts/config.guess: Update to version 2013-11-29.
50065         * scripts/config.sub: Update to version 2013-10-01.
50067         * math/auto-libm-test-in: Add tests of sincos.
50068         * math/auto-libm-test-out: Regenerated.
50069         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50070         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50071         mpfr_f_11.
50072         (func_calc_desc): Add mpfr_f_11 union field.
50073         (test_functions): Add sincos.
50074         (calc_generic_results): Handle mpfr_f_11.
50075         * sysdeps/i386/fpu/libm-test-ulps: Update.
50076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50078 2013-12-19  Andreas Schwab  <schwab@suse.de>
50080         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50081         CALL_MCOUNT.
50082         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50083         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50084         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50086 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50088         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50089         * sysdeps/i386/fpu/libm-test-ulps: Update.
50090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50092         [BZ #16293]
50093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50094         round-to-nearest mode when using frndint.
50095         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50096         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50097         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50098         Likewise.
50099         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50100         sinh test to fail.
50101         * math/auto-libm-test-out: Regenerated.
50102         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50103         (TEST_COND_x86): Likewise.
50104         (expm1_tonearest_test_data): New array.
50105         (expm1_test_tonearest): New function.
50106         (expm1_towardzero_test_data): New array.
50107         (expm1_test_towardzero): New function.
50108         (expm1_downward_test_data): New array.
50109         (expm1_test_downward): New function.
50110         (expm1_upward_test_data): New array.
50111         (expm1_test_upward): New function.
50112         (main): Run the new test functions.
50113         * sysdeps/i386/fpu/libm-test-ulps: Update.
50114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50116         * include/features.h: Update comment documenting feature test
50117         macros.  Mention _DEFAULT_SOURCE in comment.
50118         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50119         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50120         _BSD_SOURCE and _SVID_SOURCE.
50121         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50122         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50123         !_SVID_SOURCE]: Likewise.
50124         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50125         (__USE_POSIX_IMPLICITLY): Define.
50126         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50127         (_POSIX_SOURCE): Undefine and redefine.
50128         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50129         (_POSIX_C_SOURCE): Likewise.
50130         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50131         (Feature Test Macros): Update documentation of default features.
50133 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50135         * benchtests/Makefile: Add bench-strtok.
50136         * benchtests/bench-strtok.c: New file: strtok benchtest.
50138 2013-12-19  Allan McRae  <allan@archlinux.org>
50140         * manual/install.texi: Suppress menu for plain text output.
50141         * INSTALL: Regenerated.
50143 2013-12-18  Brooks Moses  <bmoses@google.com>
50145         [BZ #15846]
50146         * misc/getauxval.c: Include errno.h.
50147         (__getauxval): Set errno to ENOENT if the requested type is not
50148         found.
50149         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50150         don't declare with __attribute_const__.
50151         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50152         * manual/startup.texi: Document that getauxval sets errno.
50154 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50156         * math/auto-libm-test-in: Add tests of jn and yn.
50157         * math/auto-libm-test-out: Regenerated.
50158         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50159         (yn_test_data): Likewise.
50160         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50161         mpfr_if_f.
50162         (func_calc_desc): Add mpfr_if_f union field.
50163         (FUNC_mpfr_if_f): New macro.
50164         (test_functions): Add jn and yn.
50165         (calc_generic_results): Assert type of second input for
50166         mpfr_ff_f.  Handle mpfr_if_f.
50167         (output_for_one_input_case): Disable all checking for arguments
50168         fitting floating-point types in case of an integer argument.
50169         * sysdeps/i386/fpu/libm-test-ulps: Update.
50170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50173         Don't expect fegetround reference in libm.so.
50175 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50177         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50178         $(config-cflags-nofma).
50180 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50182         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50183         * math/auto-libm-test-out: Regenerated.
50185         [BZ #16338]
50186         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
50187         to determine exponent and adjust argument to have exponent of -1.
50188         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
50189         log2.
50190         * math/auto-libm-test-out: Regenerated.
50191         * sysdeps/i386/fpu/libm-test-ulps: Update.
50192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50194 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
50196         * manual/probes.texi: Remove cases when per-thread arenas are
50197         disabled.
50199 2013-12-18  Andreas Schwab  <schwab@suse.de>
50201         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
50202         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
50203         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
50204         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
50205         * sysdeps/i386/i686/multiarch/Makefile: Update.
50206         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
50208 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50210         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
50211         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
50213 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
50215         [BZ #15968]
50216         Support TZ transition times < 00:00:00.
50217         This is needed for version-3 tz-format files; it supports time
50218         stamps past 2037 for America/Godthab (the only entry in the tz
50219         database for which this change is relevant).
50220         * manual/time.texi (TZ Variable): Document transition times
50221         from -167:59:59 through -00:00:01.
50222         * time/tzset.c (tz_rule): Time of day is now signed.
50223         (__tzset_parse_tz): Parse negative time of day.
50225         Document TZ transition times >= 25:00:00.
50226         * manual/time.texi (TZ Variable): Document transition times from
50227         25:00:00 through 167:59:59.  These are already supported, and this
50228         support will help with version-3 tz-format files.
50230         * manual/time.texi (TZ Variable): Modernize North America example
50231         to reflect current (i.e., 2007-and-later) daylight saving rules.
50233         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
50235 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50237         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
50238         * sysdeps/unix/bsd/bits/stat.h: Likewise.
50239         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
50240         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50241         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
50242         * sysdeps/unix/bsd/bsdstat.h: Likewise.
50243         * sysdeps/unix/bsd/clock.c: Likewise.
50244         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
50245         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
50246         * sysdeps/unix/bsd/init-posix.c: Likewise.
50247         * sysdeps/unix/bsd/poll.c: Likewise.
50248         * sysdeps/unix/bsd/ptsname.c: Likewise.
50249         * sysdeps/unix/bsd/seekdir.c: Likewise.
50250         * sysdeps/unix/bsd/setegid.c: Likewise.
50251         * sysdeps/unix/bsd/seteuid.c: Likewise.
50252         * sysdeps/unix/bsd/setgid.c: Likewise.
50253         * sysdeps/unix/bsd/setrgid.c: Likewise.
50254         * sysdeps/unix/bsd/setruid.c: Likewise.
50255         * sysdeps/unix/bsd/setsid.c: Likewise.
50256         * sysdeps/unix/bsd/setuid.c: Likewise.
50257         * sysdeps/unix/bsd/sigaction.c: Likewise.
50258         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
50259         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
50260         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50261         * sysdeps/unix/bsd/telldir.c: Likewise.
50262         * sysdeps/unix/bsd/times.c: Likewise.
50263         * sysdeps/unix/bsd/usleep.c: Likewise.
50265         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50266         ($(objpfx)libbsd-compat.a): Remove rule.
50268         * include/features.h (__FAVOR_BSD): Do not define.
50269         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50270         features conflicting with POSIX.
50271         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50272         (_BSD_SOURCE): Remove description of not being a subset of other
50273         feature test macros.
50274         * manual/job.texi (getpgrp): Do not document BSD version.
50275         (getpgid): Do not document by reference to BSD getpgrp.
50276         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50277         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50278         * signal/signal.h [__FAVOR_BSD]: Likewise.
50279         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50280         instead of making contents conditional on [__FAVOR_BSD].
50281         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50283 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50287 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50289         [BZ #16314]
50290         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50291         values below 2**-450, not 2**-500.
50292         * math/auto-libm-test-in: Don't allow spurious underflow from
50293         hypot.
50294         * math/auto-libm-test-out: Regenerated.
50296         [BZ #16316]
50297         [BZ #16330]
50298         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50299         values of ha and hb and sort them after adjusting subnormal
50300         arguments.
50301         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50302         Likewise.
50303         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50304         values of ea and eb and sort them after adjusting subnormal
50305         arguments.
50306         * math/auto-libm-test-in: Do not expect some hypot tests of
50307         subnormals to fail.  Add more hypot tests.
50308         * math/auto-libm-test-out: Regenerated.
50310 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50312         [BZ #13304]
50313         * sysdeps/sh/s_fma.c: New file.
50314         * sysdeps/sh/s_fmaf.c: New file.
50315         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50316         version.
50317         * sysdeps/sh/Implies: Add sh/soft-fp.
50319 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50321         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50322         level of indirection to members `objname', `errstring', `malloced'.
50323         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50324         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50325         it as the __longjmp argument (just pass 1 instead).
50326         (_dl_catch_error): Initialize C with argument pointers and address of
50327         volatile local ERRCODE rather than copying values out of C at return.
50329 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50331         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50332         * math/auto-libm-test-out: Regenerated.
50333         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50334         (hypot_test_data): Likewise.
50335         (pow_test_data): Likewise.
50336         (pow_tonearest_test_data): Likewise.
50337         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50338         mpfr_ff_f.
50339         (func_calc_desc): Add mpfr_ff_f union field.
50340         (FUNC_mpfr_ff_f): New macro.
50341         (test_functions): Add atan2, hypot and pow.
50342         (special_fill_min): New function.
50343         (special_fill_minus_min): Likewise.
50344         (special_fill_min_subnorm): Likewise.
50345         (special_fill_minus_min_subnorm): Likewise.
50346         (special_real_inputs): Add min, -min, min_subnorm and
50347         -min_subnorm.
50348         (calc_generic_results): Handle mpfr_ff_f.
50349         * sysdeps/i386/fpu/libm-test-ulps: Update.
50350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50352 2013-12-16  Will Newton  <will.newton@linaro.org>
50354         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50355         (Aligned Memory Blocks): Add documentation for aligned_alloc
50356         and suggest it as an alternative to posix_memalign.
50357         (Hooks for Malloc): Document __memalign_hook is also called
50358         for aligned_alloc.  (Summary of Malloc): Add summary for
50359         aligned alloc.  Document __memalign_hook is also called
50360         for aligned_alloc.
50362 2013-12-16  Will Newton  <will.newton@linaro.org>
50364         * manual/memory.texi (Malloc Examples): Clarify default
50365         alignment documentation.  Suggest posix_memalign rather
50366         than memalign or valloc.
50367         (Aligned Memory Blocks): Remove suggestion to use memalign
50368         or valloc.  Remove obsolete comment about BSD.
50369         Document memalign errno values and mark the function obsolete.
50370         Document posix_memalign returned error codes.  Mark valloc
50371         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50372         called for posix_memalign and valloc.
50373         (Summary of Malloc): Add posix_memalign to function summary.
50374         __memalign_hook is also called for posix_memalign and valloc.
50376 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50378         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50379         TAYLOR_SIN.
50380         (__sin): Adjust.
50381         (__cos): Likewise.
50382         (sloww): Use mynumber union.  Expand ternary operator into
50383         if-else statements.
50384         (cslow): use mynumber union.
50386 2013-12-16  Allan McRae  <allan@archlinux.org>
50388         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50389         * configure: Regenerated.
50391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50393         [BZ #14120]
50394         * configure.ac: Added --enable-maintainer-mode. Check for
50395         autoconf when enabled.
50396         * configure: Regenerated.
50398         * nscd/nscd.service: New file.
50399         * nscd/nscd.tmpfiles: New file.
50401 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50403         [BZ #12100]
50404         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50405         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50406         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50407         (strstr): Add __strstr_sse2_unaligned ifunc.
50408         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50409         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50410         (strcasestr): Remove __strcasestr_sse42 ifunc.
50411         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50415 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50417         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50418         * sysdeps/sh/bits/fenv.h: ... here.
50419         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50421 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50423         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50426         hypotf multiarch implementations.
50427         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50429         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50430         multiarch hypot for PPC64.
50431         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50433         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50434         multiarch hypotf for PPC64.
50436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50437         modff multiarch implementations.
50438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50441         multiarch modf for PPC64.
50442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50445         multiarch modff for PPC64.
50447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50448         and logl multiarch implementations.
50449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50452         multiarch logb for PPC64.
50453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50456         multiarch logb for PPC64.
50457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50460         multiarch logb for PPC64.
50462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50463         isinff multiarch implementation.
50464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50465         file.
50466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50468         multiarch isinf for PPC64.
50469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50470         file.
50471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50472         multiarch isinff for PPC64.
50474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50475         finitef multiarch implementation.
50476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50477         file.
50478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50480         multiarch finite for PPC64.
50481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50482         file.
50483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50484         multiarch finitef for PPC64.
50486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50487         lrint multiarch implementation.
50488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50489         file.
50490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50492         multiarch llrint for PPC64.
50493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50494         multiarch lrint for PPC64.
50496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50497         copysignf multiarch implementation.
50498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50499         file.
50500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50501         file.
50502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50503         multiarch copysign for PPC64.
50504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50505         multiarch copysignf for PPC64.
50507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50508         multiarch implementation.
50509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50510         file.
50511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50512         file.
50513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50514         file.
50515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50516         file.
50517         multiarch llround for PPC64.
50518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50519         multiarch trunc for PPC64.
50520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50521         multiarch truncf for PPC64.
50523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50524         multiarch implementation.
50525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50526         file.
50527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50528         file.
50529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50530         file.
50531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50532         file.
50533         multiarch llround for PPC64.
50534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50535         multiarch round for PPC64.
50536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50537         multiarch roundf for PPC64.
50539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50540         multiarch implementation.
50541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50542         file.
50543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50544         file.
50545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50546         file.
50547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50548         file.
50549         multiarch llround for PPC64.
50550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50551         multiarch floor for PPC64.
50552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50553         multiarch floorf for PPC64.
50555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50556         multiarch implementation.
50557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50558         file.
50559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50560         file.
50561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50562         file.
50563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50564         file.
50565         multiarch llround for PPC64.
50566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50567         multiarch ceil for PPC64.
50568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50569         multiarch ceilf for PPC64.
50571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50572         multiarch implementation.
50573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50574         file.
50575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50576         file.
50577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50578         file.
50579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50580         multiarch llround for PPC64.
50581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50582         multiarch lround for PPC64.
50584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50585         multiarch implementation.
50586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50589         file.
50590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50593         multiarch isnan for PPC64.
50594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50595         multiarch isnanf for PPC64.
50597         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50598         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50599         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50600         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50601         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50604         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50605         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50606         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50607         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50610         multiarch implementations.
50611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50612         (__libc_ifunc_impl_list): Likewise.
50613         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50615         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50616         multiarch stpcpy for PPC64.
50618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50619         multiarch implementations.
50620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50621         (__libc_ifunc_impl_list): Likewise.
50622         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50623         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50624         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50625         multiarch strcpy for PPC64.
50627         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50628         redefine function name.
50629         (_wordcopy_fwd_dest_aligned): Likewise.
50630         (_wordcopy_bwd_aligned): Likewise.
50631         (_wordcopy_bwd_dest_aligned): Likewise.
50632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50633         multiarch implementations.
50634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50635         (__libc_ifunc_impl_list): Likewise.
50636         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50637         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50638         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50639         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50640         multiarch wcscpy for PPC64.
50642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50643         multiarch implementations.
50644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50645         (__libc_ifunc_impl_list): Likewise.
50646         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50647         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50648         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50649         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50650         multiarch wcscpy for PPC64.
50652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50653         multiarch implementations.
50654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50655         (__libc_ifunc_impl_list): Likewise.
50656         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50657         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50658         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50659         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50660         multiarch wcsrchr for PPC64.
50662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50663         multiarch implementations.
50664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50665         (__libc_ifunc_impl_list): Likewise.
50666         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50667         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50668         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50669         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50670         multiarch wcschr for PPC64.
50672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50673         multiarch implementations.
50674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50675         (__libc_ifunc_impl_list): Likewise.
50676         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50677         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50678         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50679         multiarch strchrnul for PPC64.
50681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50682         implementations.
50683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50684         (__libc_ifunc_impl_list): Likewise.
50685         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50686         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50687         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50688         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50689         strchr for PPC64.
50691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50692         implementations.
50693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50694         (__libc_ifunc_impl_list): Likewise.
50695         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50696         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50697         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50698         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50699         strncmp for PPC64.
50701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50702         multiarch implementations.
50703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50704         (__libc_ifunc_impl_list): Likewise.
50705         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50706         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50707         strncasecmp for PPC64.
50708         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50709         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50710         multiarch strncasecmp_l for PPC64.
50712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50713         multiarch implementations.
50714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50715         (__libc_ifunc_impl_list): Likewise.
50716         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50717         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50718         multiarch strcasecmp for PPC64.
50719         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50720         file.
50721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50722         multiarch strcasecmp_l for PPC64.
50724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50725         implementations.
50726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50727         (__libc_ifunc_impl_list): Likewise.
50728         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50729         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50730         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50731         strnlen for PPC64.
50733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50734         implementations.
50735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50736         (__libc_ifunc_impl_list): Likewise.
50737         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50738         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50739         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50740         strlen for PPC64.
50742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50743         implementations.
50744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50745         (__libc_ifunc_impl_list): Likewise.
50746         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50747         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50748         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50749         rawmemrchr for PPC64.
50751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50752         implementation.
50753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50754         (__libc_ifunc_impl_list): Likewise.
50755         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50756         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50757         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50758         memrchr for PPC64.
50760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50761         implementation.
50762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50763         (__libc_ifunc_impl_list): Likewise.
50764         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50765         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50766         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50767         memchr for PPC64.
50769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50770         implementation.
50771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50772         (__libc_ifunc_impl_list): Likewise.
50773         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50774         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50775         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50776         mempcpy for PPC64.
50778         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50779         avoid cretion of __bzero symbol.
50780         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50781         Likewise.
50782         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50783         Likewise.
50784         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50785         Likewise.
50786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50787         multiarch implementations.
50788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50789         (__libc_ifunc_impl_list): Likewise.
50790         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50791         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50792         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50793         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50794         bzero for PPC32.
50795         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50796         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50797         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50798         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50799         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50800         memset for PPC64.
50801         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50803         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50805         implementations.
50806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50807         (__libc_ifunc_impl_list): Likewise.
50808         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50809         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50810         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50811         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50812         memcmp for PPC64.
50814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50815         multiarch for POWER/PPC64.
50816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50817         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50818         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50819         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50820         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50821         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50822         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50823         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50824         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50825         memcpy for PPC64.
50827         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50828         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50829         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50830         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50831         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50832         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50833         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50834         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50835         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50836         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50837         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50838         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50839         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50840         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50841         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50850 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50852         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50854 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50856         * benchtests/Makefile (bench): Add exp2 and log2.
50857         (LDLIBS-bench-exp2): Add -lm.
50858         (LDLIBS-bench-log2): Likewise.
50859         * benchtests/exp2-inputs: New inputs file.
50860         * benchtests/log2-inputs: New inputs file.
50861         * benchtests/log-inputs: Add new inputs.
50862         * benchtests/tan-inputs: Likewise.
50864 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50866         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50867         definition...
50868         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50869         (csloww2): ... from here.
50871         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50872         instead of structures.
50873         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50874         (POLYNOMIAL): Likewise.
50875         (TAYLOR_SLOW): Likewise.
50876         (__sin): Likewise.
50877         (__cos): Likewise.
50878         (slow1): Likewise.
50879         (slow2): Likewise.
50880         (sloww): Likewise.
50881         (sloww1); Likewise.
50882         (sloww2): Likewise.
50883         (bsloww1): Likewise.
50884         (bsloww2): Likewise.
50885         (cslow2): Likewise.
50886         (csloww): Likewise.
50887         (csloww1): Likewise.
50888         (csloww2): Likewise.
50890 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
50892         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
50893         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
50894         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
50895         * malloc/hooks.c (realloc_check): Likewise.
50897         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
50898         * malloc/arena.c: Remove PER_THREAD conditional.
50899         [!PER_THREAD]: Remove code.
50900         (ptmalloc_unlock_all2): Likewise.
50901         (ptmalloc_init): Likewise.
50902         (_int_new_arena): Likewise.
50903         (arena_get2): Likewise.
50904         * malloc/hooks.c (__malloc_get_state): Likewise.
50905         (__malloc_set_state): Likewise.
50906         * malloc/malloc.c: Likewise.
50907         (struct malloc_state): Likewise.
50908         (struct malloc_par): Likewise.
50909         (__libc_realloc): Likewise.
50910         (__libc_mallopt): Likewise.
50912 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50914         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
50916 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
50918         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
50919         macro to a function.  Check for zero perturb_byte.
50920         (_int_malloc, _int_free): Remove zero perturb_byte checks.
50922         * malloc/malloc.c: (force_reg): Remove.
50923         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
50924         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
50925         force_reg by atomic_forced_read.
50926         * malloc/arena.c (ptmalloc_init): Likewise.
50927         * malloc/hooks.c (top_check): Likewise.
50929 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50933 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
50935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50937 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
50939         * math/auto-libm-test-in: Add tests of lgamma.
50940         * math/auto-libm-test-out: Regenerated.
50941         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
50942         (M_LOG_2_SQRT_PIl): Likewise.
50943         (lgamma_test_data): Use AUTO_TESTS_f_f1.
50944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50945         mpfr_f_f1.
50946         (func_calc_desc): Add mpfr_f_f1 union field.
50947         (ARGS1): New macro.
50948         (ARGS2): Likewise.
50949         (ARGS3): Likewise.
50950         (ARGS4): Likewise.
50951         (RET1): Likewise.
50952         (RET2): Likewise.
50953         (CALC): Likewise.
50954         (FUNC): Likewise.
50955         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
50956         (test_functions): Add lgamma.
50957         (calc_generic_results): Handle mpfr_f_f1.
50958         * sysdeps/i386/fpu/libm-test-ulps: Update.
50959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50961 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50963         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
50964         __mpn_add_n for PowerPC64/POWER7.
50965         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
50966         __mpn_sub_n for PowerPC64/POWER7.
50968         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
50969         __mpn_addmul_1 for PowerPC64.
50970         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
50971         __mpn_submul_1 for PowerPC64.
50972         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
50973         for PowerPC64.
50974         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
50975         for PowerPC64.
50977 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
50979         [BZ #15089]
50980         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
50982 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50984         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
50986         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
50987         add multiarch folders.
50988         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
50989         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
50990         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
50991         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
50992         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
50993         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
50994         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
50995         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
50996         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
50997         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
50998         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
50999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51007         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51009         New file.
51010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51011         New file.
51012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51013         multiarch __ieee754_hypot for PowerPC32.
51014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51015         New file.
51016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51017         New file.
51018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51019         multiarch __ieee754_hypotf for PowerPC32.
51021         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51022         long_double_symbol only if __logbl is defined.
51023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51024         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51026         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51028         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51030         path for implementation.
51031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51034         logb, and logbl multiarch implementations for PowerPC32.
51035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51036         file.
51037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51038         file.
51039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51040         multiarch logb for PowerPC32.
51041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51042         file.
51043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51044         file.
51045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51046         multiarch logbf for PowerPC32.
51047         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51049         file.
51050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51051         multiarch logbl implementation for PowerPC32.
51053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51054         and modff multiarch implementations.
51055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51056         New file.
51057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51058         New file.
51059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51060         multiarch modf for PowerPC32.
51061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51062         New file.
51063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51064         New file.
51065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51066         multiarch modff for PowerPC32.
51068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51069         and lrintf multiarch implementations.
51070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51071         New file.
51072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51073         New file.
51074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51075         multiarch lrint for PowerPC32.
51076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51077         file: multiarch lrintf for PowerPC32.
51079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51080         and lroundf multiarch implementations.
51081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51082         New file.
51083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51084         New file.
51085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51086         New file.
51087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51088         multiarch lround for PowerPC32.
51089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51090         file: multiarch lroundf for PowerPC32.
51092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51093         copysign and copysignf multiarch implementations.
51094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51095         New file.
51096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51097         New file.
51098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51099         file: multiarch copysign for PowerPC32.
51100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51101         file: multiarch copysignf for PowerPC32.
51103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51104         and truncf multiarch implementations.
51105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51106         New file.
51107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51108         file.
51109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51110         multiarch trunc for PowerPC32.
51111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51112         New file.
51113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51114         New file.
51115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51116         multiarch truncf for PowerPC32.
51118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51119         and roundf multiarch implementations.
51120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51121         New file.
51122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51123         file.
51124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51125         multiarch round for PowerPC32.
51126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51127         New file.
51128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51129         New file.
51130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51131         multiarch roundf for PowerPC32.
51133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51134         and floorf multiarch implementations.
51135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51136         New file.
51137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51138         file.
51139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51140         multiarch floor for PowerPC32.
51141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51142         New file.
51143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51144         New file.
51145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51146         multiarch floorf for PowerPC32.
51148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51149         and ceilf multiarch implementations.
51150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51151         New file.
51152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51153         file.
51154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51155         multiarch ceil for PowerPC32.
51156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51157         New file.
51158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51159         file.
51160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51161         multiarch ceilf for PowerPC32.
51163         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51164         is defined.
51165         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51166         FINITEF is defined.
51167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51168         and finitef multiarch implementations.
51169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51170         New file.
51171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51172         file.
51173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51174         multiarch finite for PowerPC32.
51175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51176         New file.
51177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51178         file: multiarch finitef for PowerPC32.
51180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51181         and isinff multiarch implementations.
51182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51183         file.
51184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
51185         file.
51186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
51187         multiarch isinf for PowerPC32.
51188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
51189         New file.
51190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
51191         multiarch isinff for PowerPC32.
51193         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
51194         alias when __isnan is defined.
51195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
51196         and isnanf multiarch implementations.
51197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
51198         file.
51199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
51200         file.
51201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
51202         file.
51203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
51204         file.
51205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
51206         multiarch isnan for PowerPC32.
51207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
51208         New file.
51209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
51210         New file.
51211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
51212         multiarch isnanf for PowerPC32.
51214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
51215         and sqrtf multiarch implementations.
51216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
51217         file.
51218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
51219         file.
51220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
51221         multiarch sqrt for PowerPC32.
51222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
51223         file.
51224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
51225         file.
51226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
51227         multiarch sqrtf for PowerPC32.
51229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
51230         and llroundf multiarch implementations.
51231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
51232         New file.
51233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
51234         New file.
51235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
51236         New file.
51237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
51238         file: multiarch llround for PowerPC32.
51239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
51240         file: multiarch llroundf for PowerPC32.
51242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
51243         multiarch PowerPC32 fpu implementations.
51244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
51245         New file.
51246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
51247         New file.
51248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
51249         multiarch llrint for PowerPC32.
51250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
51251         New file.
51252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
51253         New file.
51254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
51255         file.
51257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
51259         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
51260         file.
51261         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51262         file.
51263         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51264         file.
51265         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51266         multiarch wordcopy for PPC32.
51267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51268         wordcopy objects.
51269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51270         (__libc_ifunc_impl_list): Likewise.
51271         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51272         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51273         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51274         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51275         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51276         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51278         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51280         file.
51281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51282         file.
51283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51284         file.
51285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51286         multiarch wcscpy for PPC32.
51287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51288         multiarch objects.
51289         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51290         (__libc_ifunc_impl_list): Likewise.
51291         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51292         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51293         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51294         sysdeps/powerpc/power6/wcscpy.c.
51296         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51298         file.
51299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51300         file.
51301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51302         file.
51303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51304         multiarch wcsrchr for PPC32.
51305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51306         multiarch objects.
51307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51308         (__libc_ifunc_impl_list): Likewise.
51309         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51310         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51311         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51312         sysdeps/powerpc/power6/wcsrchr.c.
51314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51315         file.
51316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51317         file.
51318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51320         multiarch wcschr for PPc32.
51321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51322         multiarch objects.
51323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51324         (__libc_ifunc_impl_list): Likewise.
51325         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51326         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51327         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51328         sysdeps/powerpc/power6/wcschr.c.
51330         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51331         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51332         file.
51333         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51334         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51335         file: multiarch strchr for PPC32.
51336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51337         multiarch objects.
51338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51339         (__libc_ifunc_impl_list): Likewise.
51341         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51342         name.
51343         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51344         file.
51345         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51346         file.
51347         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51348         multiarch strchrnul for PPC32.
51349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51350         multiarch objects.
51351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51352         (__libc_ifunc_impl_list): Likewise.
51354         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51355         file.
51356         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51357         multiarch strncasecmp for PPC32.
51358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51359         file.
51360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51361         multiarch strncasecmp_l for PPC32.
51362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51363         strncasecmp multiarch objects.
51364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51365         (__libc_ifunc_impl_list): Likewise.
51367         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51368         file.
51369         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51370         multiarch strncasecmp for PPC32.
51371         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51372         New file.
51373         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51374         multiarch strcasecmp_l for PPC32.
51375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51376         multiarch objects.
51377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51378         (__libc_ifunc_impl_list): Likewise.
51380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51381         file.
51382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51383         file.
51384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51385         multiarch strncmp for PPC32.
51386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51387         multiarch objects.
51388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51389         (__libc_ifunc_impl_list): Likewise.
51391         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51392         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51393         file.
51394         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51395         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51397         multiarch objects.
51398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51399         (__libc_ifunc_impl_list): Likewise.
51401         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51402         file.
51403         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51404         file.
51405         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51407         multiarch objects.
51408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51409         (__libc_ifunc_impl_list): Likewise.
51411         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51412         file.
51413         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51414         file.
51415         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51416         multiarch rawmemchr for PPC32.
51417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51418         multiarch objects.
51419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51420         (__libc_ifunc_impl_list): Likewise.
51422         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51423         file.
51424         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51425         file.
51426         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51427         file: memrchr multiarch for PPC32.
51428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51429         multiarch objects.
51430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51431         (__libc_ifunc_impl_list): Likewise.
51433         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51434         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51435         file.
51436         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51437         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51438         multiarch memchr for PPC32.
51439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51440         multiarch objects.
51441         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51442         (__libc_ifunc_impl_list): Likewise.
51444         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51445         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51446         file.
51447         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51448         file.
51449         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51450         file: multiarch mempcpy for PPC32.
51451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51452         multiarch objects.
51453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51454         (__libc_ifunc_impl_list): Likewise.
51456         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51457         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51458         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51459         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51460         multiarch bzero for PPC32.
51461         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51462         file.
51463         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51464         file.
51465         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51466         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51467         file: multiarch memset for PPC32.
51468         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51470         memset multiarch objects.
51471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51472         (__libc_ifunc_impl_list): Likewise.
51474         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51475         file.
51476         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51478         memcmp for PPC32.
51479         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51481         multiarch objects.
51482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51483         (__libc_ifunc_impl_list): Likewise.
51485         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51486         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51487         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51488         file.
51489         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51490         file.
51491         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51492         file.
51493         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51494         multiarch memcpy for PPC32.
51495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51496         multiarch objects.
51497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51498         (__libc_ifunc_impl_list): Likewise.
51500         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51501         support multiarch for POWER/PPC32.
51502         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51503         Likewise.
51504         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51506         Implies file to make multiarch folder appers before the fpu and
51507         default folder for power4 configuration.
51509 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51511         * scripts/bench.pl: Append volatile keyword to type.
51513 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51515         * sysdeps/sh/sotruss-lib.c: New file.
51516         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51518 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51522 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51524         [BZ #6810]
51525         * math/w_tgamma.c: Include <errno.h>.
51526         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51527         * math/w_tgammaf.c: Include <errno.h>.
51528         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51529         * math/w_tgammal.c: Include <errno.h>.
51530         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51531         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51532         underflow.  Add more tgamma tests.
51533         * math/auto-libm-test-out: Regenerated.
51534         * sysdeps/i386/fpu/libm-test-ulps: Update.
51535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51537         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51538         sin, sinh, tan, tanh, tgamma, y0 and y1.
51539         * math/auto-libm-test-out: Regenerated.
51540         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51541         (TEST_COND_x86): Likewise.
51542         (M_E2l): Remove macro.
51543         (M_E3l): Likewise.
51544         (M_2_SQRT_PIl): Likewise.
51545         (M_SQRT_PIl): Likewise.
51546         (M_1_DIV_El): Likewise.
51547         (log_test_data): Use AUTO_TESTS_f_f.
51548         (log10_test_data): Likewise.
51549         (log1p_test_data): Likewise.
51550         (log2_test_data): Likewise.
51551         (sin_test_data): Likewise.
51552         (sin_tonearest_test_data): Likewise.
51553         (sin_towardzero_test_data): Likewise.
51554         (sin_downward_test_data): Likewise.
51555         (sin_upward_test_data): Likewise.
51556         (sinh_test_data): Likewise.
51557         (sinh_tonearest_test_data): Likewise.
51558         (sinh_towardzero_test_data): Likewise.
51559         (sinh_downward_test_data): Likewise.
51560         (sinh_upward_test_data): Likewise.
51561         (tan_test_data): Likewise.
51562         (tan_tonearest_test_data): Likewise.
51563         (tan_towardzero_test_data): Likewise.
51564         (tan_downward_test_data): Likewise.
51565         (tan_upward_test_data): Likewise.
51566         (tanh_test_data): Likewise.
51567         (tgamma_test_data): Likewise.
51568         (y0_test_data): Likewise.
51569         (y1_test_data): Likewise.
51570         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51571         (special_real_inputs): Add pi/4.
51572         * sysdeps/i386/fpu/libm-test-ulps: Update.
51573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51575 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51577         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51578         "longjmp_target" static probes.
51579         (__longjmp): Rename to __longjmp_symbol.
51580         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51581         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51582         on which longjmp to generate.
51583         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51584         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51585         probe.
51586         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51587         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51588         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51589         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51590         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51591         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51593         __longjmp_symbol based on which __longjmp to generate.
51594         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51595         probe.
51596         (setjmp): Rename to setjmp_symbol.
51597         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51598         (_setjmp): Rename to _setjmp_symbol.
51599         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51600         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51601         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51602         which setjmp to generate.
51603         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51604         "longjmp_target" static probes.
51606 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51608         * benchtests/README: Add note about output arguments.
51609         * benchtests/bench-sincos.c: Remove file.
51610         * benchtests/sincos-inputs: New file.
51611         * scripts/bench.pl: Identify output arguments and define
51612         static variables for them.
51614         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51616         [BZ #15941]
51617         * Makefile (INSTALL): Add install-plain.texi as the primary
51618         dependency.
51619         * manual/install-plain.texi: New file.
51620         * manual/install.texi: Include node directive only for
51621         non-plaintext output.
51623 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51625         * stdlib/longlong.h: Update from GCC.
51627         [BZ #6807]
51628         [BZ #15901]
51629         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51630         * math/w_j0f.c (y0f): Likewise.
51631         * math/w_j0l.c (__y0l): Likewise.
51632         * math/w_j1.c (y1): Likewise.
51633         * math/w_j1f.c (y1f): Likewise.
51634         * math/w_j1l.c (__y1l): Likewise.
51635         * math/w_jn.c (yn): Likewise.
51636         * math/w_jnf.c (ynf): Likewise.
51637         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51638         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51639         value for Bessel function domain errors outside _SVID_ mode.
51640         Adjust sign of return value for yn (negative integer, 0).
51641         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51642         by zero in return for negative x and set sign appropriately for
51643         negative n.
51644         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51645         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51646         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51647         expectations in error cases.
51648         (y1_test_data): Likewise.
51649         (yn_test_data): Likewise.
51650         * sysdeps/i386/fpu/libm-test-ulps: Update.
51651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51653 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51655         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51656         "64" to "64-v1".  Add "64-v2".
51657         (abi-64-options): Rename to ...
51658         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51659         (abi-64-condition): Rename to ...
51660         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51661         (abi-64-ld-soname): Rename to ...
51662         (abi-64-v1-ld-soname): ... this.
51663         (abi-64-v2-options): Define.
51664         (abi-64-v2-condition): Likewise.
51665         (abi-64-v2-ld-soname): Likewise.
51666         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51667         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51672 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51673             Alan Modra  <amodra@gmail.com>
51675         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51676         New versions for use with the ELFv2 ABI.
51677         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51678         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51679         declaration.
51680         (struct La_ppc64v2_retval): Likewise.
51681         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51682         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51683         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51684         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51685         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51686         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51687         Do not save or restore CR.
51688         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51689         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51690         return values for ELFv2 ABI.  Fix location of FPR return registers.
51691         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51692         updated values for _CALL_ELF == 2.
51693         (La_regs, La_retval, int_retval): Likewise.
51695 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51697         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51698         (FRAME_MIN_SIZE_PARM): Likewise.
51699         (FRAME_BACKCHAIN): Likewise.
51700         (FRAME_CR_SAVE): Likewise.
51701         (FRAME_LR_SAVE): Likewise.
51702         (FRAME_TOC_SAVE): Likewise.
51703         (FRAME_PARM_SAVE): Likewise.
51704         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51705         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51706         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51707         (call_mcount_parm_offset): New macro.
51708         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51709         (PROF): Use symbolic stack frame offsets.
51710         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51711         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51712         Redefine in terms of FRAME_MIN_SIZE.
51713         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51714         (_dl_profile_resolve): Likewise.  Update comment.
51715         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51716         symbols stack frame offsets.
51717         (__sigsetjmp): Likewise.
51718         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51719         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51720         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51721         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51724         (FRAME_BACKCHAIN): Remove.
51725         (FRAME_CR_SAVE): Likewise.
51726         (FRAME_LR_SAVE): Likewise.
51727         (FRAME_COMPILER_DW): Likewise.
51728         (FRAME_LINKER_DW): Likewise.
51729         (FRAME_TOC_SAVE): Likewise.
51730         (FRAME_PARM_SAVE): Likewise.
51731         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51732         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51733         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51735         (CHECK_SP): Use symbolic stack frame offsets.
51736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51737         zone" instead of caller's parameter save area for temp storage.
51738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51739         Likewise.  Also, use symbolic stack frame offsets.
51740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51741         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51742         our own stack frame instead of the caller's.
51743         (__socket): Use symbolic stack frame offsets.
51745 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51746             Alan Modra  <amodra@gmail.com>
51748         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51749         Define.
51750         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51751         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51752         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51753         New function.
51754         (elf_machine_fixup_plt): Call it.
51755         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51756         reloc arguments.
51757         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51758         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51759         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51760         r2 before calling target.
51762 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51763             Alan Modra  <amodra@gmail.com>
51765         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51766         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51767         versions of macros to support ELFv2 ABI.
51768         (LOCALENTRY): New macro.
51769         (ENTRY, EALIGN): Use it.
51770         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51771         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51772         fall through into ENTRY entry point.
51773         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51774         Only define if _CALL_ELF != 2.
51776         (elf_machine_matches_host): Verify ABI version matches.
51777         (RTLD_START): Use LOCALENTRY.
51778         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51779         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51780         (PLT_ENTRY_WORDS): New macro.
51781         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51782         (elf_machine_runtime_setup): Support ELFv2 ABI.
51783         (elf_machine_fixup_plt): Likewise.
51784         (elf_machine_plt_conflict): Likewise.
51785         (resolve_ifunc): Likewise.
51786         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51787         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51788         Likewise.
51789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51790         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51792         (makecontext): Support ELFv2 ABI.
51793         * elf/elf.h (EF_PPC64_ABI): Define.
51795 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51797         * sysdeps/powerpc/powerpc64/sysdep.h
51798         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51799         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51800         (ENTRY) [ASSEMBLER]: ... but instead here ...
51801         (EALIGN) [ASSEMBLER]: ... and here.
51802         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51803         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51804         (ENTRY_2) [!ASSEMBLER]: Use it.
51805         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51806         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51807         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51808         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51809         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51811         Use PPC64_LOAD_FUNCPTR.
51813         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51815 2013-12-04  Alan Modra  <amodra@gmail.com>
51817         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51818         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51819         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51820         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51822         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51823         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51824         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51825         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51826         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51827         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51829 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51832         (__makecontext): Fix incorrect CFI when backtracing out of
51833         context created via makecontext.
51834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51835         (__setcontext): Fix incorrect CFI during switch to new context.
51836         (__novec_setcontext): Likewise.
51838 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51840         [BZ #4772]
51841         * time/strptime_l.c (__strptime_internal): Allow modifiers
51842         in strptime.
51843         * time/tst-strptime.c (day_tests): Add testcase.
51845 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51847         * scripts/bench.pl: Skip over blank lines.
51849 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
51851         [BZ #926]
51852         * manual/time.texi (Calendar Time): Clarify what timezone functions
51853         use.
51855 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51859 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51861         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51862         implementation.
51863         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51864         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51865         * debug/memset_chk.c (__memset_chk): Likewise.
51866         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51867         * debug/strncpy_chk.c: Likewise.
51869 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51871         [BZ #15268]
51872         [BZ #15425]
51873         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
51874         (__ieee754_exp): For possibly underflowing results, check size of
51875         result and force underflow exception if required.
51876         * math/auto-libm-test-in: Add more tests of exp.
51877         * math/auto-libm-test-out: Regenerated.
51878         * sysdeps/i386/fpu/libm-test-ulps: Update.
51879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51881         [BZ #16283]
51882         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
51883         * math/w_exp2f.c (__exp2f): Likewise.
51884         * math/w_exp2l.c (__exp2l): Likewise.
51885         * math/auto-libm-test-in: Do not allow missing errno on exp2
51886         underflow.
51887         * math/auto-libm-test-out: Regenerated.
51889 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
51891         [BZ #16274]
51892         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
51893         handle filename validation.
51894         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
51895         (do_open): Delete.
51897 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51899         [BZ #6786]
51900         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
51901         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
51902         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
51903         <float.h>.
51904         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
51905         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
51906         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51907         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
51908         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51909         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
51910         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51911         * math/auto-libm-test-in: Don't allow missing errno from erfc.
51912         Add more erfc tests.
51913         * math/auto-libm-test-out: Regenerated.
51914         * sysdeps/i386/fpu/libm-test-ulps: Update.
51915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51917         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
51918         exp2, expm1, j0 and j1.
51919         * math/auto-libm-test-out: Regenerated.
51920         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
51921         (erfc_test_data): Likewise.
51922         (exp_test_data): Likewise.
51923         (exp_tonearest_test_data): Likewise.
51924         (exp_towardzero_test_data): Likewise.
51925         (exp_downward_test_data): Likewise.
51926         (exp_upward_test_data): Likewise.
51927         (exp10_test_data): Likewise.
51928         (exp2_test_data): Likewise.
51929         (expm1_test_data): Likewise.
51930         (j0_test_data): Likewise.
51931         (j1_test_data): Likewise.
51932         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
51933         (input_flag_type): Add flag_xfail_rounding.
51934         (input_flags): Add xfail-rounding.
51935         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
51936         (output_for_one_input_case): Handle flag_xfail_rounding.
51937         * sysdeps/i386/fpu/libm-test-ulps: Update.
51938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51940 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
51942         [BZ #16289]
51943         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
51944         division by 0.
51946 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51948         [BZ #16195]
51949         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
51950         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
51951         (STAP_PROBE0): New macro.
51952         (STAP_PROBE1): Likewise.
51953         (STAP_PROBE2): Likewise.
51954         (STAP_PROBE3): Likewise.
51955         (STAP_PROBE4): Likewise.
51957 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
51959         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
51961 2013-12-02  Steve Ellcey  <sellcey@mips.com>
51963         * benchtests/Makefile (bench): Add sqrt.
51964         (LDLIBS-bench-sqrt): New.
51965         * benchtests/sqrt-input: New.
51967 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
51969         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
51970         (GAIH_EAI): Likewise.
51971         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
51972         (gaih_inet): Likewise.
51973         (getaddrinfo): Don't use GAIH_EAI.
51975         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
51976         (struct gaih): Remove definition.
51978 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51980         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
51981         Use HERRNOP directly.
51983 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51987 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
51989         * math/gen-auto-libm-tests.c (test_functions): Add more
51990         single-argument functions.
51991         (special_fill_pi_2): New function.
51992         (special_fill_minus_pi_2): Likewise.
51993         (special_fill_pi_6): Likewise.
51994         (special_fill_minus_pi_6): Likewise.
51995         (special_fill_pi_3): Likewise.
51996         (special_fill_2pi_3): Likewise.
51997         (special_fill_e): Likewise.
51998         (special_fill_1_e): Likewise.
51999         (special_fill_e_minus_1): Likewise.
52000         (special_real_inputs): Add more special inputs.
52001         (output_for_one_input_case): Do not require ERANGE on underflow to
52002         zero if round-to-nearest result does not underflow to zero, unless
52003         exact results required.
52004         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52005         atan, atanh, cbrt, cos and cosh.
52006         * math/auto-libm-test-out: Regenerated.
52007         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52008         (acos_tonearest_test_data): Likewise.
52009         (acos_towardzero_test_data): Likewise.
52010         (acos_downward_test_data): Likewise.
52011         (acos_upward_test_data): Likewise.
52012         (acosh_test_data): Likewise.
52013         (asin_test_data): Likewise.
52014         (asin_tonearest_test_data): Likewise.
52015         (asin_towardzero_test_data): Likewise.
52016         (asin_upward_test_data): Likewise.
52017         (asinh_test_data): Likewise.
52018         (atan_test_data): Likewise.
52019         (atanh_test_data): Likewise.
52020         (cbrt_test_data): Likewise.
52021         (cos_test_data): Likewise.
52022         (cos_tonearest_test_data): Likewise.
52023         (cos_towardzero_test_data): Likewise.
52024         (cos_downward_test_data): Likewise.
52025         (cos_upward_test_data): Likewise.
52026         (cosh_test_data): Likewise.
52027         (cosh_tonearest_test_data): Likewise.
52028         (cosh_towardzero_test_data): Likewise.
52029         (cosh_downward_test_data): Likewise.
52030         (cosh_upward_test_data): Likewise.
52031         * sysdeps/i386/fpu/libm-test-ulps: Update.
52032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52034 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52036         [BZ #6787]
52037         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52038         * math/w_exp10f.c (__exp10f): Likewise.
52039         * math/w_exp10l.c (__exp10l): Likewise.
52040         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52041         errno settings in existing tests.
52043         [BZ #14032]
52044         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52045         precision control set to double precision.
52046         * sysdeps/i386/fpu/w_sqrt.c: New file.
52047         * math/auto-libm-test-in: Add more tests.
52048         * math/auto-libm-test-out: Update.
52050         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52051         (sqrt_test_tonearest): New function.
52052         (sqrt_towardzero_test_data): New variable.
52053         (sqrt_test_towardzero): New function.
52054         (sqrt_downward_test_data): New variable.
52055         (sqrt_test_downward): New function.
52056         (sqrt_upward_test_data): New variable.
52057         (sqrt_test_upward): New function.
52058         (main): Call the new functions.
52060         * math/gen-auto-libm-tests.c: New file.
52061         * math/auto-libm-test-in: Likewise.
52062         * math/auto-libm-test-out: New generated file.
52063         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52064         variables.
52065         (%beautify): Add generated representations of zero.
52066         (top level): Set $auto_input and call parse_auto_input.
52067         (beautify): Remove trailing "f" from hex float constants.
52068         (parse_args): Handle XFAIL_TEST.
52069         (convert_condition): New function.
52070         (or_value): Likewise.
52071         (or_cond_value): Likewise.
52072         (generate_testfile): Handle AUTO_TESTS_* lines.
52073         (parse_auto_input): New function.
52074         * math/libm-test.inc (XFAIL_TEST): New macro.
52075         (ERRNO_UNCHANGED): Update value.
52076         (ERRNO_EDOM): Likewise.
52077         (ERRNO_ERANGE): Likewise.
52078         (IGNORE_RESULT): Likewise.
52079         (TEST_COND_flt_32): New macro.
52080         (TEST_COND_dbl_64): Likewise.
52081         (TEST_COND_ldbl_96_intel): Likewise.
52082         (TEST_COND_ldbl_96_m68k): Likewise.
52083         (TEST_COND_ldbl_128): Likewise.
52084         (TEST_COND_ldbl_128ibm): Likewise.
52085         (TEST_COND_long32): Likewise.
52086         (TEST_COND_long64): Likewise.
52087         (TEST_COND_before_rounding): Likewise.
52088         (TEST_COND_after_rounding): Likewise.
52089         (enable_test): Handle XFAIL_TEST flag.
52090         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52091         with finite results.
52092         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52093         auto-libm-test-out.
52095 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52096             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52098         [BZ #16214]
52099         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52100         __tls_get_addr_internal instead of __tls_get_offset in order to
52101         avoid GOT pointer dependency.  Make rtld export
52102         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52103         __tls_get_addr since we are a __tls_get_offset platform.
52104         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52105         GOT pointer being set up before.
52106         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52108 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52110         * manual/math.texi (Errors in Math Functions): Document accuracy
52111         goals.
52113         [BZ #15004]
52114         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52115         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52116         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52117         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52118         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52119         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52120         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52121         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52122         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52124         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52125         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52126         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52127         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52129         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52131         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52132         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52133         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52134         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52135         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52136         Likewise.
52137         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52138         Likewise.
52139         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52140         Likewise.
52141         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52142         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52143         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52144         atomic-feupdateenv and flt-rounds.
52145         * sysdeps/powerpc/nofpu/Versions (libc): Add
52146         __atomic_feholdexcept, __atomic_feclearexcept,
52147         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52148         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52149         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52150         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52151         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52152         here.
52153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52154         Update.
52156         * manual/arith.texi (FP Exceptions): Document that exceptions may
52157         not be raised when matherr is used.
52158         (Math Error Reporting): Document overflow in directed rounding
52159         modes.  Document that errno may not be set when finite values are
52160         returned on overflow.  Document intent to set errno on underflow
52161         only for underflow to zero.
52163         [BZ #16271]
52164         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52165         round-to-nearest then adjust result for other rounding modes.
52166         * include/fenv.h (fegetround): Use libm_hidden_proto.
52167         * math/fegetround.c (fegetround): Use libm_hidden_def.
52168         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52169         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52170         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52171         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52172         Likewise.
52173         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52174         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52175         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52176         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52178 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52180         [BZ #16077]
52181         * nss/Versions (libnss_files): Add
52182         _nss_files_gethostbyname3_r.
52183         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
52184         New function.
52185         (HOST_DB_LOOKUP): Remove macro.
52186         (_nss_files_gethostbyname_r): Implement function without the
52187         HOST_DB_LOOKUP macro.
52188         (_nss_files_gethostbyname2_r): Likewise.
52190 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
52192         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
52194 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
52196         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
52197         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
52198         warning.
52200 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52202         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52203         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
52204         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52205         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52206         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
52207         __fe_nomask_env_priv and attribute_hidden.
52208         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
52209         (libc_feupdateenv_test_ppc): Likewise.
52210         (libc_feresetround_ppc): Likewise.
52211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52212         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
52213         compat_symbol macro.
52214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52215         (__fe_nomask_env): Likewise.
52216         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
52218 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52220         * string/Makefile: Remove ifunc tests.
52221         * string/test-string.h: Define TEST_IFUNC.
52222         * string/test-bcopy-ifunc.c: Remove.
52223         * string/test-bzero-ifunc.c: Likewise.
52224         * string/test-memccpy-ifunc.c: Likewise.
52225         * string/test-memchr-ifunc.c: Likewise.
52226         * string/test-memcmp-ifunc.c: Likewise.
52227         * string/test-memcpy-ifunc.c: Likewise.
52228         * string/test-memmem-ifunc.c: Likewise.
52229         * string/test-memmove-ifunc.c: Likewise.
52230         * string/test-mempcpy-ifunc.c: Likewise.
52231         * string/test-memrchr-ifunc.c: Likewise.
52232         * string/test-memset-ifunc.c: Likewise.
52233         * string/test-rawmemchr-ifunc.c: Likewise.
52234         * string/test-stpcpy-ifunc.c: Likewise.
52235         * string/test-stpncpy-ifunc.c: Likewise.
52236         * string/test-strcasecmp-ifunc.c: Likewise.
52237         * string/test-strcasestr-ifunc.c: Likewise.
52238         * string/test-strcat-ifunc.c: Likewise.
52239         * string/test-strchr-ifunc.c: Likewise.
52240         * string/test-strchrnul-ifunc.c: Likewise.
52241         * string/test-strcmp-ifunc.c: Likewise.
52242         * string/test-strcpy-ifunc.c: Likewise.
52243         * string/test-strcspn-ifunc.c: Likewise.
52244         * string/test-strlen-ifunc.c: Likewise.
52245         * string/test-strncasecmp-ifunc.c: Likewise.
52246         * string/test-strncat-ifunc.c: Likewise.
52247         * string/test-strncmp-ifunc.c: Likewise.
52248         * string/test-strncpy-ifunc.c: Likewise.
52249         * string/test-strnlen-ifunc.c: Likewise.
52250         * string/test-strpbrk-ifunc.c: Likewise.
52251         * string/test-strrchr-ifunc.c: Likewise.
52252         * string/test-strspn-ifunc.c: Likewise.
52253         * string/test-strstr-ifunc.c: Likewise.
52255 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52257         * benchtests/Makefile: Remove ifunc tests.
52258         * benchtests/bench-string.h: Define TEST_IFUNC.
52259         * benchtests/bench-bcopy-ifunc.c: Remove.
52260         * benchtests/bench-bzero-ifunc.c: Likewise.
52261         * benchtests/bench-memccpy-ifunc.c: Likewise.
52262         * benchtests/bench-memchr-ifunc.c: Likewise.
52263         * benchtests/bench-memcmp-ifunc.c: Likewise.
52264         * benchtests/bench-memcpy-ifunc.c: Likewise.
52265         * benchtests/bench-memmem-ifunc.c: Likewise.
52266         * benchtests/bench-memmove-ifunc.c: Likewise.
52267         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52268         * benchtests/bench-memrchr-ifunc.c: Likewise.
52269         * benchtests/bench-memset-ifunc.c: Likewise.
52270         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52271         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52272         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52273         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52274         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52275         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52276         * benchtests/bench-strcat-ifunc.c: Likewise.
52277         * benchtests/bench-strchr-ifunc.c: Likewise.
52278         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52279         * benchtests/bench-strcmp-ifunc.c: Likewise.
52280         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52281         * benchtests/bench-strcpy-ifunc.c: Likewise.
52282         * benchtests/bench-strcspn-ifunc.c: Likewise.
52283         * benchtests/bench-strlen-ifunc.c: Likewise.
52284         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52285         * benchtests/bench-strncat-ifunc.c: Likewise.
52286         * benchtests/bench-strncmp-ifunc.c: Likewise.
52287         * benchtests/bench-strncpy-ifunc.c: Likewise.
52288         * benchtests/bench-strnlen-ifunc.c: Likewise.
52289         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52290         * benchtests/bench-strrchr-ifunc.c: Likewise.
52291         * benchtests/bench-strsep-ifunc.c: Likewise.
52292         * benchtests/bench-strspn-ifunc.c: Likewise.
52293         * benchtests/bench-strstr-ifunc.c: Likewise.
52295 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52297         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52299 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52301         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52302         * rt/aio.h: Likewise.
52303         * sysdeps/gnu/bits/utmp.h: Likewise.
52304         * sysdeps/gnu/bits/utmpx.h: Likewise.
52305         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52306         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52307         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52308         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52309         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52310         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52311         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52312         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52313         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52314         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52315         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52316         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52317         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52319         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52320         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52321         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52322         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52323         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52324         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52325         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52326         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52327         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52328         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52329         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52331         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52332         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52333         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52334         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52335         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52336         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52337         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52338         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52339         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52340         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52341         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52342         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52343         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52344         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52345         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52346         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52348 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52350         [BZ #16245]
52351         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52352         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52354 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52356         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52357         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52358         Likewise.
52360 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52363         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52364         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52365         (__fesetround): Remove define.
52366         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52367         rounding and exceptions handling.
52368         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52369         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52370         (__fe_nomask_env): Likewise.
52371         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52372         __fegetround instead of fegetround.
52373         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52374         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52376 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52378         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52379         it's there.
52381         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52383 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52385         [BZ #11157]
52386         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52387         (encrypt_r): Likewise.
52388         * malloc/obstack.h (obstack_free): Likewise.
52389         * posix/unistd.h (encrypt): Likewise.
52391 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52393         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52394         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52395         DL_CALL_DT_FINI() that call the functions directly.
52396         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52397         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52398         * elf/dl-fini.c: Likewise.
52400 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52402         * malloc/hooks.c (memalign_check): Add alignment rounding.
52403         * malloc/malloc.c (_mid_memalign): New function.
52404         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52405         Implement by calling _mid_memalign.
52406         * manual/probes.texi (Memory Allocation Probes): Remove
52407         memory_valloc_retry and memory_pvalloc_retry.
52409 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52411         * locale/programs/locarchive.c (open_archive): Add const
52412         qualifier to ARCHIVEFNAME and copy default fname to
52413         DEFAULT_FNAME.
52415         [BZ #15601]
52416         * libio/tst-widetext.input: Rename Oriya to Odia.
52417         * locale/iso-639.def: Likewise.
52419         * manual/probes.texi (Mathematical Function Probes): Add
52420         documentation for sin, cos, asin and acos probes.
52421         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52422         (__sin32): Add slowasin probe.
52423         (__cos32): Add slowacos probe.
52424         (__mpsin): Add slowsin probe.
52425         (__mpcos): Add slowcos probe.
52427 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52429         [BZ #15483]
52430         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52431         thread-local __sim_exceptions_thread and global
52432         __sim_exceptions_global.
52433         (__sim_disabled_exceptions): Change to thread-local
52434         __sim_disabled_exceptions_thread and global
52435         __sim_disabled_exceptions_global.
52436         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52437         and global __sim_round_mode_global.
52438         (__simulate_exceptions): Use thread-local floating-point state and
52439         set global state from it as needed.
52440         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52441         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52442         __sim_round_mode_thread.
52443         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52444         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52445         and global __sim_exceptions_global.
52446         (__sim_disabled_exceptions): Change to thread-local
52447         __sim_disabled_exceptions_thread and global
52448         __sim_disabled_exceptions_global.
52449         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52450         and global __sim_round_mode_global.
52451         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52452         (SIM_SET_GLOBAL): Likewise.
52453         * sysdeps/powerpc/soft-fp/sfp-machine.h
52454         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52455         __sim_round_mode_thread.
52456         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52457         __sim_disabled_exceptions_thread.
52458         (__sim_exceptions): Change to __sim_exceptions_thread.
52459         (__sim_disabled_exceptions): Change to
52460         __sim_disabled_exceptions_thread.
52461         (__sim_round_mode): Change to __sim_round_mode_thread.
52462         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52463         thread-local floating-point state and set global state from it as
52464         needed.
52465         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52466         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52467         (__sim_disabled_exceptions): Remove extern declaration.
52468         (feenableexcept): Use thread-local floating-point state and set
52469         global state from it as needed.
52470         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52471         extern declaration.
52472         (__sim_disabled_exceptions): Likewise.
52473         (__sim_round_mode): Likewise.
52474         (__fegetenv): Use thread-local floating-point state.
52475         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52476         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52477         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52478         floating-point state and set global state from it as needed.
52479         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52480         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52481         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52482         Likewise.
52483         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52484         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52485         Likewise.
52486         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52487         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52488         Use __sim_round_mode_thread.
52489         * math/test-fenv-tls.c: New file.
52490         * math/Makefile (tests): Add test-fenv-tls.
52491         ($(objpfx)test-fenv-tls): Depend on
52492         $(common-objpfx)nptl/libpthread.so.
52494 2013-11-19  Andreas Schwab  <schwab@suse.de>
52496         * locale/programs/locale.c (show_info): Decode wordarray elements.
52497         * locale/categories.def (LC_MONETARY): Add element for
52498         _NL_MONETARY_CRNCYSTR.
52499         * locale/C-monetary.c (conversion_rate): New variable.
52500         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52501         element.
52503 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52505         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52506         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52508 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52510         * elf/Makefile (tst-auxv): New test.
52511         * elf/tst-auxv.c: New
52512         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52514 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52516         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52517         (hidden_proto): Caller changed.
52518         (hidden_tls_proto): New macro.
52519         (libc_hidden_tls_proto): Likewise.
52520         (rtld_hidden_tls_proto): Likewise.
52521         (libm_hidden_tls_proto): Likewise.
52522         (libresolv_hidden_tls_proto): Likewise.
52523         (librt_hidden_tls_proto): Likewise.
52524         (libdl_hidden_tls_proto): Likewise.
52525         (libnss_files_hidden_tls_proto): Likewise.
52526         (libnsl_hidden_tls_proto): Likewise.
52527         (libnss_nisplus_hidden_tls_proto): Likewise.
52528         (libutil_hidden_tls_proto): Likewise.
52530 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52532         [BZ #10253]
52533         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52534         (decompose_rpath): Defer expansion to fillin_rpath.
52535         (_dl_init_paths): Pass linkmap to fillin_rpath.
52537 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52539         * benchtests/Makefile: Add strsep.
52540         * benchtests/bench-strsep.c: New file: strsep benchtest.
52541         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52543 2013-11-18  Andreas Schwab  <schwab@suse.de>
52545         * locale/programs/locale.c (show_info) [case byte]: Check for
52546         '\377' instead of '\177'.
52547         * locale/C-monetary.c (not_available): Always use "\377".
52548         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52549         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52550         detect unavailable sign_posn locale elements.
52551         * locale/localeconv.c (__localeconv): For grouping and
52552         mon_grouping handle "\177" and "\377" like no grouping.
52553         (INT_ELEM): New macro.  Use it to set all numeric members.
52554         * locale/programs/ld-monetary.c (monetary_read)
52555         <tok_mon_grouping>: Normalize single -1 to the empty string.
52556         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52557         Likewise.
52559 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52561         [BZ #16055]
52562         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52563         when we match (nil).
52564         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52566 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52568         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52569         (NO_TEST_INLINE): Update value.
52570         (ERRNO_UNCHANGED): Likewise.
52571         (ERRNO_EDOM): Likewise.
52572         (ERRNO_ERANGE): Likewise.
52573         (IGNORE_RESULT): Likewise.
52574         (check_float_internal): Check signs of NaN results if
52575         TEST_NAN_SIGN used.
52576         (check_complex): Pass TEST_NAN_SIGN flag through to second
52577         check_float_internal call.
52578         (copysign_test_data): Add tests with quiet NaNs as second
52579         argument.  Use TEST_NAN_SIGN.
52580         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52581         TEST_NAN_SIGN.
52582         (signbit_test_data): Add tests of quiet NaN argument.
52583         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52585         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52586         $ignore_result.
52587         (parse_args): Handle function results specified as IGNORE.
52588         * math/libm-test.inc (IGNORE_RESULT): New macro.
52589         (check_float_internal): Do not check numerical result if flag
52590         IGNORE_RESULT set.
52591         (check_complex): Pass through IGNORE_RESULT to second
52592         check_float_internal call.
52593         (check_int): Do not check numerical result if flag IGNORE_RESULT
52594         set.
52595         (check_long): Likewise.
52596         (check_bool): Likewise.
52597         (check_longlong): Likewise.
52598         (lrint_test_data): Add tests of infinite and NaN arguments.
52599         (lrint_tonearest_test_data): Likewise.
52600         (lrint_towardzero_test_data): Likewise.
52601         (lrint_downward_test_data): Likewise.
52602         (lrint_upward_test_data): Likewise.
52603         (llrint_test_data): Likewise.
52604         (llrint_tonearest_test_data): Likewise.
52605         (llrint_towardzero_test_data): Likewise.
52606         (llrint_downward_test_data): Likewise.
52607         (llrint_upward_test_data): Likewise.
52608         (lround_test_data): Likewise.
52609         (llround_test_data): Likewise.
52611         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52612         (ERRNO_UNCHANGED): Update value.
52613         (ERRNO_EDOM): Likewise.
52614         (ERRNO_ERANGE): Likewise.
52615         (NO_TEST_INLINE_FLOAT): New macro.
52616         (NO_TEST_INLINE_DOUBLE): Likewise.
52617         (enable_test): New function.
52618         (RUN_TEST_f_f): Check enable_test before running test.
52619         (RUN_TEST_2_f): Likewise.
52620         (RUN_TEST_fff_f): Likewise.
52621         (RUN_TEST_c_f): Likewise.
52622         (RUN_TEST_f_f1): Likewise.
52623         (RUN_TEST_fF_f1): Likewise.
52624         (RUN_TEST_fI_f1): Likewise.
52625         (RUN_TEST_ffI_f1): Likewise.
52626         (RUN_TEST_c_c): Likewise.
52627         (RUN_TEST_cc_c): Likewise.
52628         (RUN_TEST_f_i): Likewise.
52629         (RUN_TEST_f_i_tg): Likewise.
52630         (RUN_TEST_ff_i_tg): Likewise.
52631         (RUN_TEST_f_b): Likewise.
52632         (RUN_TEST_f_b_tg): Likewise.
52633         (RUN_TEST_f_l): Likewise.
52634         (RUN_TEST_f_L): Likewise.
52635         (RUN_TEST_fFF_11): Likewise.
52636         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52637         conditionals.
52638         (cosh_test_data): Likewise.
52639         (exp_test_data): Likewise.
52640         (expm1_test_data): Likewise.
52641         (hypot_test_data): Likewise.
52642         (pow_test_data): Likewise.
52643         (sinh_test_data): Likewise.
52644         (tanh_test_data): Likewise.
52645         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52646         flags argument.
52648         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52649         tests with quiet NaN input and output.
52650         (acosh_test_data): Likewise.
52651         (asin_test_data): Likewise.
52652         (asinh_test_data): Likewise.
52653         (atan_test_data): Likewise.
52654         (atanh_test_data): Likewise.
52655         (atan2_test_data): Likewise.
52656         (cbrt_test_data): Likewise.
52657         (cos_test_data): Likewise.
52658         (cosh_test_data): Likewise.
52659         (erf_test_data): Likewise.
52660         (erfc_test_data): Likewise.
52661         (exp_test_data): Likewise.
52662         (exp10_test_data): Likewise.
52663         (exp2_test_data): Likewise.
52664         (expm1_test_data): Likewise.
52665         (hypot_test_data): Likewise.
52666         (j0_test_data): Likewise.
52667         (j1_test_data): Likewise.
52668         (jn_test_data): Likewise.
52669         (lgamma_test_data): Likewise.
52670         (log_test_data): Likewise.
52671         (log10_test_data): Likewise.
52672         (log1p_test_data): Likewise.
52673         (log2_test_data): Likewise.
52674         (pow_test_data): Likewise.
52675         (scalb_test_data): Likewise.
52676         (sin_test_data): Likewise.
52677         (sincos_test_data): Likewise.
52678         (sinh_test_data): Likewise.
52679         (tan_test_data): Likewise.
52680         (tanh_test_data): Likewise.
52681         (tgamma_test_data): Likewise.
52682         (y0_test_data): Likewise.
52683         (y1_test_data): Likewise.
52684         (yn_test_data): Likewise.
52686         [BZ #16167]
52687         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52688         argument being NaN and avoid computations with second argument in
52689         that case.
52690         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52691         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52692         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52694 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52696         * locale/iso-639.def: Add Chitwani Tharu (the).
52698 2013-11-14  Andreas Schwab  <schwab@suse.de>
52700         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52701         word instead of empty string.
52703 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52706         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52708         (__fe_nomask_env): Likewise.
52710 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52712         * benchtests/bench-timing.h: Include time.h.
52714 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52716         [BZ #15997]
52717         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52718         to 3.4.0 for x32.
52719         * sysdeps/unix/sysv/linux/configure: Regenerated.
52721 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52723         [BZ #16151]
52724         * stdlib/strtod_l.c (round_and_return): Do not consider
52725         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52726         exponent one less than half the least subnormal exponent.
52727         * stdlib/test-strtod-round-data: Add more tests.
52728         * stdlib/tst-strtod-round.c (tests): Regenerated.
52730 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52732         [BZ #14143]
52733         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52734         (__fe_mask_env): Likewise.
52735         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52736         libm_hidden_proto and add function prototype.
52737         (__fe_mask_env): Add function prototype.
52738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52739         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52741         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52743         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52745 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52747         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52748         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52750 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52752         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52753         of htab_find_slot().
52755 2013-11-11  David S. Miller  <davem@davemloft.net>
52757         [BZ #16150]
52758         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52759         symbol in the non-vis3 case in static builds.
52760         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52761         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52762         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52763         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52765 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52767         [BZ #387]
52768         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52769         it is empty.
52771 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52773         * benchtests/Makefile: Add bench-strtod.
52774         * benchtests/bench-strtod.c: New file: strtod benchtest
52776 2013-11-11  Andreas Schwab  <schwab@suse.de>
52778         [BZ #16153]
52779         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52780         terminating NUL in key length.
52782 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52784         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52785         Add artificial ODP entry for vDSO symbol for PPC64.
52786         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52787         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52789 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52791         [BZ #15374]
52792         * nss/getent.c (services_keys): Recognize services starting with digit.
52794 2013-11-06  David S. Miller  <davem@davemloft.net>
52796         [BZ #15985]
52797         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52798         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52800 2013-11-06  Will Newton  <will.newton@linaro.org>
52802         * manual/memory.texi (Malloc Examples): Remove register
52803         keyword from examples.
52805 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52807         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52809 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52811         [BZ #6981]
52812         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52813         depending on [__GCC_IEC_559 > 0].
52814         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52815         depending on [__GCC_IEC_559_COMPLEX > 0].
52817 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52819         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52820         to iso-639.def.
52822 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52824         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52826 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52828         [BZ #16112]
52829         * malloc/malloc (malloc_info): Do not handle first bin as
52830         special case.
52832 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52834         * locale/iso-639.def: Add Central Nahuatl (nhn).
52836 2013-11-01  Bruno Haible  <bruno@clisp.org>
52838         [BZ #7003]
52839         * manual/math.texi (BSD Random): Specify range upper bound as
52840         in POSIX.
52842 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52844         * locale/iso-639.def: Add Meadow Mari (mhr).
52846 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
52848         [BZ #14752], [BZ #15763]
52849         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52850         Validate name.
52851         * rt/tst_shm.c: Add test for escaping directory.
52853 2013-10-31  Andreas Schwab  <schwab@suse.de>
52855         [BZ #15917]
52856         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52857         followed by 'x' as part of digit sequence.
52858         * stdio-common/tst-sscanf.c (double_tests2): New tests.
52860 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52862         [BZ #16037]
52863         * configure.ac: allow GNU Make 4.0 and greater.
52864         * configure: Regenerated.
52866 2013-10-30  Will Newton  <will.newton@linaro.org>
52868         [BZ #16038]
52869         * malloc/hooks.c (memalign_check): Limit alignment to the
52870         maximum representable power of two.
52871         * malloc/malloc.c (__libc_memalign): Likewise.
52872         * malloc/tst-memalign.c (do_test): Add test for very
52873         large alignment values.
52874         * malloc/tst-posix_memalign.c (do_test): Likewise.
52876 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52878         [BZ #11087]
52879         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
52880         (munmap_chunk): Likewise.
52881         (mremap_chunk): Likewise.
52883 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52885         [BZ #15799]
52886         * stdlib/div.c (div): Remove obsolete code.
52887         * stdlib/ldiv.c (ldiv): Likewise.
52888         * stdlib/lldiv.c (lldiv): Likewise.
52890 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52892         [BZ #16071]
52893         * nss/nss_files/files-XXX.c (get_contents_ret): New
52894         enumerator.
52895         (get_contents): New function.
52896         (internal_getent): Use it.  Expand size of LINEBUFLEN.
52898 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
52900         * configure.in: Moved to ...
52901         * configure.ac: ... here. Change reference to configure.in
52902         to configure.ac.
52903         * sysdeps/arm/preconfigure.ac: ... here.
52904         configure.in to configure.ac.
52905         * sysdeps/gnu/configure.in: Moved to ...
52906         * sysdeps/gnu/configure.ac: ... here.
52907         * sysdeps/i386/configure.in: Moved to ...
52908         * sysdeps/i386/configure.ac: ... here.
52909         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
52910         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
52911         * sysdeps/mach/configure.in: Moved to ...
52912         * sysdeps/mach/configure.ac: ... here.
52913         * sysdeps/mach/hurd/configure.in: Moved to ...
52914         * sysdeps/mach/hurd/configure.ac: ... here.
52915         * sysdeps/powerpc/configure.in: Moved to ...
52916         * sysdeps/powerpc/configure.ac: ... here.
52917         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
52918         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
52919         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
52920         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
52921         * sysdeps/s390/s390-32/configure.in: Moved to ...
52922         * sysdeps/s390/s390-32/configure.ac: ... here.
52923         * sysdeps/s390/s390-64/configure.in: Moved to ...
52924         * sysdeps/s390/s390-64/configure.ac: ... here.
52925         * sysdeps/sh/configure.in: Moved to ...
52926         * sysdeps/sh/configure.ac: ... here.
52927         * sysdeps/sparc/configure.in: Moved to ...
52928         * sysdeps/sparc/configure.ac: ... here.
52929         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
52930         * sysdeps/unix/sysv/linux/configure.ac: ... here.
52931         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
52932         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
52933         * sysdeps/x86_64/configure.in: Moved to ...
52934         * sysdeps/x86_64/configure.ac: ... here.
52935         * sysdeps/x86_64/preconfigure.in: Moved to ...
52936         * sysdeps/x86_64/preconfigure.ac: ... here.
52937         * aclocal.m4: Change reference to configure.in to configure.ac.
52938         * config.h.in: Likewise.
52939         * manual/install.texi: Likewise.
52940         * manual/maint.texi: Likewise.
52941         * Makefile: Likewise.
52942         * malloc/Makefile: Likewise.
52943         * nscd/Makefile: Likewise.
52944         * Makeconfig: Change reference to configure.in and
52945         preconfigure.in to configure.ac and preconfigure.ac
52946         respectively.
52947         * INSTALL: Regenerated.
52948         * configure: Likewise.
52949         * sysdeps/gnu/configure: Likewise.
52950         * sysdeps/i386/configure: Likewise.
52951         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
52952         * sysdeps/mach/configure: Likewise.
52953         * sysdeps/mach/hurd/configure: Likewise.
52954         * sysdeps/powerpc/configure: Likewise.
52955         * sysdeps/powerpc/powerpc32/configure: Likewise.
52956         * sysdeps/powerpc/powerpc64/configure: Likewise.
52957         * sysdeps/s390/s390-32/configure: Likewise.
52958         * sysdeps/s390/s390-64/configure: Likewise.
52959         * sysdeps/sh/configure: Likewise.
52960         * sysdeps/sparc/configure: Likewise.
52961         * sysdeps/unix/sysv/linux/configure: Likewise.
52962         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
52963         * sysdeps/x86_64/configure: Likewise.
52964         * sysdeps/x86_64/preconfigure: Likewise.
52966 2013-10-29  Andreas Schwab  <schwab@suse.de>
52968         * stdio-common/Makefile (tst-swscanf-ENV): Define.
52970 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52972         * benchtests/pow-inputs: Add new inputs.
52974         * benchtests/exp-inputs: Add new inputs.
52976         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
52977         conditional check for return value.
52978         (__cos32): Likewise.
52980 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52982         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
52983         to provide a boost for large inputs with word alignment.
52984         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
52985         implementation based on optimized PPC64 strcpy.
52986         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
52987         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
52988         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
52989         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
52991 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52993         [BZ #2801]
52994         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
52996 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52998         [BZ #14876]
52999         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53000         * time/tst-strptime.c (day_tests): Add testcase.
53002 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53004         [BZ #14029]
53005         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53007 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53009         [BZ #16074]
53010         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53011         MAP_FAILED on error.
53013 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53015         [BZ #16072]
53016         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53017         heap for large requests.
53019 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53021         [BZ #9954]
53022         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53023         result if the result has no associated interface.
53024         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53025         interface for all 127.X.Y.Z addresses.
53027 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53029         * locale/iso-639.def: Add Ligurian (lij)
53031 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53033         [BZ #15825]
53034         * sunrpc/rpc_main.c: Document rpcgen -5.
53036 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53038         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53040 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53042         [BZ #10278]
53043         * posix/glob.c: Match only directories when trailing slash is present.
53044         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53045         (main): Add testcase.
53047 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53049         [BZ #15670]
53050         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53052 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53054         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53055         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53056         AUTH_DES and cindex for FIPS 140-2.
53057         (DES Encryption): Add cindex FIPS 46-3.
53059         * locale/locarchive.h (struct locarhandle): Add fname.
53060         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53061         if an optional argument was specified to --list-archive,
53062         otherwise NULL.
53063         * locale/programs/locarchive.c (show_archive_content): Take new
53064         argument fname and pass it via ah.fname to open_archive.
53065         * locale/programs/localedef.h: Update decl.
53066         (open_archive): If AH->fname is non-null, open that file
53067         rather than the default file name, and don't ignore ENOENT.
53068         (create_archive): Set AH.fname to NULL.
53069         (delete_locales_from_archive): Likewise.
53070         (add_locales_to_archive): Likewise.
53071         * locale/programs/locfile.c (write_all_categories): Likewise.
53073 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53074             Aldy Hernandez  <aldyh@redhat.com>
53076         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53077         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53078         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53079         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53080         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53081         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53082         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53083         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53084         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53085         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53086         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53087         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53088         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53089         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53090         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53091         Likewise.
53092         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53093         Likewise.
53094         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53095         Likewise.
53096         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53097         Likewise.
53098         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53099         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53100         Likewise.
53101         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53102         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53103         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53104         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53105         Likewise.
53106         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53107         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53108         * sysdeps/powerpc/preconfigure: Likewise.
53109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53110         Likewise.
53111         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53112         Replace contents of file by #include of <fenv_libc.h>.
53113         * sysdeps/powerpc/soft-fp/sfp-machine.h
53114         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53115         and <sys/prctl.h>.
53116         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53119         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53120         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53121         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53123         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53124         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53125         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53126         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53127         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53129         Allow copysignl PLT reference to be missing.
53131 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53132             Joseph Myers  <joseph@codesourcery.com
53134         [BZ #15948]
53135         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53136         single character.
53137         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53139 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53141         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53142         * elf/tst-tls1.c: Likewise.
53143         * elf/tst-tls10.h: Likewise.
53144         * elf/tst-tls14.c: Likewise.
53145         * elf/tst-tls2.c: Likewise.
53146         * elf/tst-tls3.c: Likewise.
53147         * elf/tst-tls4.c: Likewise.
53148         * elf/tst-tls5.c: Likewise.
53149         * elf/tst-tls6.c: Likewise.
53150         * elf/tst-tls7.c: Likewise.
53151         * elf/tst-tls8.c: Likewise.
53152         * elf/tst-tls9.c: Likewise.
53153         * elf/tst-tlsmod1.c: Likewise.
53154         * elf/tst-tlsmod13.c: Likewise.
53155         * elf/tst-tlsmod13a.c: Likewise.
53156         * elf/tst-tlsmod14a.c: Likewise.
53157         * elf/tst-tlsmod16a.c: Likewise.
53158         * elf/tst-tlsmod16b.c: Likewise.
53159         * elf/tst-tlsmod2.c: Likewise.
53160         * elf/tst-tlsmod3.c: Likewise.
53161         * elf/tst-tlsmod4.c: Likewise.
53162         * elf/tst-tlsmod5.c: Likewise.
53163         * elf/tst-tlsmod6.c: Likewise.
53165 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53167         [BZ #12486]
53168         * malloc/malloc.c: remove checks for statistics.
53170 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53172         [BZ #15277]
53173         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53174         * inet/tst-network.c: Add testcase.
53176 2013-10-17  Andreas Schwab  <schwab@suse.de>
53178         [BZ #15218]
53179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53180         to determine canonical name.
53182 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53184         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
53185         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
53186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53187         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53189         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53190         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53191         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53192         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53193         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53194         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53195         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53196         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53197         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53198         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53199         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53201         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53202         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53203         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53204         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53205         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53206         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53207         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
53208         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
53209         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53210         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53211         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
53212         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53213         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
53214         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53216         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53217         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53218         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53219         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53220         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53221         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53222         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53223         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53224         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53225         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53226         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53227         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53228         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53229         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53230         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53231         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53232         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53233         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53234         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53235         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53236         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53237         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53238         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53239         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53241         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53243 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
53245         [BZ #16041]
53246         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
53247         make result into a quiet NaN.
53249 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
53251         * soft-fp/adddf3.c: Fix horizontal whitespace.
53252         * soft-fp/addsf3.c: Likewise.
53253         * soft-fp/addtf3.c: Likewise.
53254         * soft-fp/divdf3.c: Likewise.
53255         * soft-fp/divsf3.c: Likewise.
53256         * soft-fp/divtf3.c: Likewise.
53257         * soft-fp/double.h: Likewise.
53258         * soft-fp/eqdf2.c: Likewise.
53259         * soft-fp/eqsf2.c: Likewise.
53260         * soft-fp/eqtf2.c: Likewise.
53261         * soft-fp/extenddftf2.c: Likewise.
53262         * soft-fp/extended.h: Likewise.
53263         * soft-fp/extendsfdf2.c: Likewise.
53264         * soft-fp/extendsftf2.c: Likewise.
53265         * soft-fp/extendxftf2.c: Likewise.
53266         * soft-fp/fixdfdi.c: Likewise.
53267         * soft-fp/fixdfsi.c: Likewise.
53268         * soft-fp/fixdfti.c: Likewise.
53269         * soft-fp/fixsfdi.c: Likewise.
53270         * soft-fp/fixsfsi.c: Likewise.
53271         * soft-fp/fixsfti.c: Likewise.
53272         * soft-fp/fixtfdi.c: Likewise.
53273         * soft-fp/fixtfsi.c: Likewise.
53274         * soft-fp/fixtfti.c: Likewise.
53275         * soft-fp/fixunsdfdi.c: Likewise.
53276         * soft-fp/fixunsdfsi.c: Likewise.
53277         * soft-fp/fixunsdfti.c: Likewise.
53278         * soft-fp/fixunssfdi.c: Likewise.
53279         * soft-fp/fixunssfsi.c: Likewise.
53280         * soft-fp/fixunssfti.c: Likewise.
53281         * soft-fp/fixunstfdi.c: Likewise.
53282         * soft-fp/fixunstfsi.c: Likewise.
53283         * soft-fp/fixunstfti.c: Likewise.
53284         * soft-fp/floatdidf.c: Likewise.
53285         * soft-fp/floatdisf.c: Likewise.
53286         * soft-fp/floatditf.c: Likewise.
53287         * soft-fp/floatsidf.c: Likewise.
53288         * soft-fp/floatsisf.c: Likewise.
53289         * soft-fp/floatsitf.c: Likewise.
53290         * soft-fp/floattidf.c: Likewise.
53291         * soft-fp/floattisf.c: Likewise.
53292         * soft-fp/floattitf.c: Likewise.
53293         * soft-fp/floatundidf.c: Likewise.
53294         * soft-fp/floatundisf.c: Likewise.
53295         * soft-fp/floatunditf.c: Likewise.
53296         * soft-fp/floatunsidf.c: Likewise.
53297         * soft-fp/floatunsisf.c: Likewise.
53298         * soft-fp/floatunsitf.c: Likewise.
53299         * soft-fp/floatuntidf.c: Likewise.
53300         * soft-fp/floatuntisf.c: Likewise.
53301         * soft-fp/floatuntitf.c: Likewise.
53302         * soft-fp/fmadf4.c: Likewise.
53303         * soft-fp/fmasf4.c: Likewise.
53304         * soft-fp/fmatf4.c: Likewise.
53305         * soft-fp/gedf2.c: Likewise.
53306         * soft-fp/gesf2.c: Likewise.
53307         * soft-fp/getf2.c: Likewise.
53308         * soft-fp/ledf2.c: Likewise.
53309         * soft-fp/lesf2.c: Likewise.
53310         * soft-fp/letf2.c: Likewise.
53311         * soft-fp/muldf3.c: Likewise.
53312         * soft-fp/mulsf3.c: Likewise.
53313         * soft-fp/multf3.c: Likewise.
53314         * soft-fp/negdf2.c: Likewise.
53315         * soft-fp/negsf2.c: Likewise.
53316         * soft-fp/negtf2.c: Likewise.
53317         * soft-fp/op-1.h: Likewise.
53318         * soft-fp/op-2.h: Likewise.
53319         * soft-fp/op-4.h: Likewise.
53320         * soft-fp/op-8.h: Likewise.
53321         * soft-fp/op-common.h: Likewise.
53322         * soft-fp/quad.h: Likewise.
53323         * soft-fp/single.h: Likewise.
53324         * soft-fp/soft-fp.h: Likewise.
53325         * soft-fp/sqrtdf2.c: Likewise.
53326         * soft-fp/sqrtsf2.c: Likewise.
53327         * soft-fp/sqrttf2.c: Likewise.
53328         * soft-fp/subdf3.c: Likewise.
53329         * soft-fp/subsf3.c: Likewise.
53330         * soft-fp/subtf3.c: Likewise.
53331         * soft-fp/truncdfsf2.c: Likewise.
53332         * soft-fp/trunctfdf2.c: Likewise.
53333         * soft-fp/trunctfsf2.c: Likewise.
53334         * soft-fp/trunctfxf2.c: Likewise.
53335         * soft-fp/unorddf2.c: Likewise.
53336         * soft-fp/unordsf2.c: Likewise.
53337         * soft-fp/unordtf2.c: Likewise.
53339 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53341         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53342         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53344 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53346         * elf/dl-libc.c: Clear initfini list after freeing.
53348 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53350         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53351         * soft-fp/addsf3.c: Likewise.
53352         * soft-fp/addtf3.c: Likewise.
53353         * soft-fp/divdf3.c: Likewise.
53354         * soft-fp/divsf3.c: Likewise.
53355         * soft-fp/divtf3.c: Likewise.
53356         * soft-fp/double.h: Likewise.
53357         * soft-fp/eqdf2.c: Likewise.
53358         * soft-fp/eqsf2.c: Likewise.
53359         * soft-fp/eqtf2.c: Likewise.
53360         * soft-fp/extenddftf2.c: Likewise.
53361         * soft-fp/extended.h: Likewise.
53362         * soft-fp/extendsfdf2.c: Likewise.
53363         * soft-fp/extendsftf2.c: Likewise.
53364         * soft-fp/extendxftf2.c: Likewise.
53365         * soft-fp/fixdfdi.c: Likewise.
53366         * soft-fp/fixdfsi.c: Likewise.
53367         * soft-fp/fixdfti.c: Likewise.
53368         * soft-fp/fixsfdi.c: Likewise.
53369         * soft-fp/fixsfsi.c: Likewise.
53370         * soft-fp/fixsfti.c: Likewise.
53371         * soft-fp/fixtfdi.c: Likewise.
53372         * soft-fp/fixtfsi.c: Likewise.
53373         * soft-fp/fixtfti.c: Likewise.
53374         * soft-fp/fixunsdfdi.c: Likewise.
53375         * soft-fp/fixunsdfsi.c: Likewise.
53376         * soft-fp/fixunsdfti.c: Likewise.
53377         * soft-fp/fixunssfdi.c: Likewise.
53378         * soft-fp/fixunssfsi.c: Likewise.
53379         * soft-fp/fixunssfti.c: Likewise.
53380         * soft-fp/fixunstfdi.c: Likewise.
53381         * soft-fp/fixunstfsi.c: Likewise.
53382         * soft-fp/fixunstfti.c: Likewise.
53383         * soft-fp/floatdidf.c: Likewise.
53384         * soft-fp/floatdisf.c: Likewise.
53385         * soft-fp/floatditf.c: Likewise.
53386         * soft-fp/floatsidf.c: Likewise.
53387         * soft-fp/floatsisf.c: Likewise.
53388         * soft-fp/floatsitf.c: Likewise.
53389         * soft-fp/floattidf.c: Likewise.
53390         * soft-fp/floattisf.c: Likewise.
53391         * soft-fp/floattitf.c: Likewise.
53392         * soft-fp/floatundidf.c: Likewise.
53393         * soft-fp/floatundisf.c: Likewise.
53394         * soft-fp/floatunsidf.c: Likewise.
53395         * soft-fp/floatunsisf.c: Likewise.
53396         * soft-fp/floatuntidf.c: Likewise.
53397         * soft-fp/floatuntisf.c: Likewise.
53398         * soft-fp/floatuntitf.c: Likewise.
53399         * soft-fp/fmadf4.c: Likewise.
53400         * soft-fp/fmasf4.c: Likewise.
53401         * soft-fp/fmatf4.c: Likewise.
53402         * soft-fp/gedf2.c: Likewise.
53403         * soft-fp/gesf2.c: Likewise.
53404         * soft-fp/getf2.c: Likewise.
53405         * soft-fp/ledf2.c: Likewise.
53406         * soft-fp/lesf2.c: Likewise.
53407         * soft-fp/letf2.c: Likewise.
53408         * soft-fp/muldf3.c: Likewise.
53409         * soft-fp/mulsf3.c: Likewise.
53410         * soft-fp/multf3.c: Likewise.
53411         * soft-fp/negdf2.c: Likewise.
53412         * soft-fp/negsf2.c: Likewise.
53413         * soft-fp/negtf2.c: Likewise.
53414         * soft-fp/op-1.h: Likewise.
53415         * soft-fp/op-2.h: Likewise.
53416         * soft-fp/op-4.h: Likewise.
53417         * soft-fp/op-8.h: Likewise.
53418         * soft-fp/op-common.h: Likewise.
53419         * soft-fp/quad.h: Likewise.
53420         * soft-fp/single.h: Likewise.
53421         * soft-fp/soft-fp.h: Likewise.
53422         * soft-fp/sqrtdf2.c: Likewise.
53423         * soft-fp/sqrtsf2.c: Likewise.
53424         * soft-fp/sqrttf2.c: Likewise.
53425         * soft-fp/subdf3.c: Likewise.
53426         * soft-fp/subsf3.c: Likewise.
53427         * soft-fp/subtf3.c: Likewise.
53428         * soft-fp/truncdfsf2.c: Likewise.
53429         * soft-fp/trunctfdf2.c: Likewise.
53430         * soft-fp/trunctfsf2.c: Likewise.
53431         * soft-fp/trunctfxf2.c: Likewise.
53432         * soft-fp/unorddf2.c: Likewise.
53433         * soft-fp/unordsf2.c: Likewise.
53434         * soft-fp/unordtf2.c: Likewise.
53436 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53438         [BZ #15672]
53439         * misc/error.c (error_tail): Fix possible buffer overflow.
53441 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53443         [BZ #13028]
53444         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53445         address.
53447 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53449         [BZ #832]
53450         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53451         testing pipefail option.
53453 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53455         * soft-fp/double.h: Indent preprocessor directives inside #if.
53456         * soft-fp/extended.h: Likewise.
53457         * soft-fp/op-2.h: Likewise.
53458         * soft-fp/op-4.h: Likewise.
53459         * soft-fp/op-common.h: Likewise.
53460         * soft-fp/quad.h: Likewise.
53461         * soft-fp/single.h: Likewise.
53462         * soft-fp/soft-fp.h: Likewise.
53464 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53466         * iconv/iconv_prog.c: Fix typos.
53467         * stdio-common/psiginfo-data.h: Likewise.
53469 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53471         [BZ #15764]
53472         * locale/setlocale.c: Fix typo.
53474 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53476         [BZ #16036]
53477         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53478         signaling NaN arguments.
53479         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53480         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53482         [BZ #14910]
53483         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53484         unordered operands.
53485         * soft-fp/gesf2.c (__gesf2): Likewise.
53486         * soft-fp/getf2.c (__getf2): Likewise.
53487         * soft-fp/ledf2.c (__ledf2): Likewise.
53488         * soft-fp/lesf2.c (__lesf2): Likewise.
53489         * soft-fp/letf2.c (__letf2): Likewise.
53491         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53492         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53493         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53494         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53495         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53496         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53497         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53498         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53499         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53500         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53501         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53502         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53503         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53504         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53505         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53506         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53507         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53508         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53509         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53510         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53511         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53512         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53513         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53514         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53515         * soft-fp/floattidf.c (__floattidf): Likewise.
53516         * soft-fp/floattisf.c (__floattisf): Likewise.
53517         * soft-fp/floattitf.c (__floattitf): Likewise.
53518         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53519         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53520         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53521         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53522         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53523         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53524         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53525         * soft-fp/gesf2.c (__gesf2): Likewise.
53526         * soft-fp/getf2.c (__getf2): Likewise.
53527         * soft-fp/ledf2.c (__ledf2): Likewise.
53528         * soft-fp/lesf2.c (__lesf2): Likewise.
53529         * soft-fp/letf2.c (__letf2): Likewise.
53531         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53532         Undefine and redefine.
53533         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53534         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53535         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53536         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53537         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53538         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53539         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53540         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53541         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53542         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53543         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53544         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53545         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53546         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53547         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53549         [BZ #16032]
53550         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53551         without decrementing exponent if mantissa >= that for the
53552         denominator, not >.
53553         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53554         denominator, not >.  Decrement exponent in < case instead of
53555         incrementing in >= case.
53556         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53557         without decrementing exponent if mantissa >= that for the
53558         denominator, not >.
53560         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53561         computing saturated result for unsigned overflow.
53563 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53564             Jeff Law  <law@redhat.com>
53566         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53567         (atan2Mp): Add systemtap probe marker.
53568         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53569         (__ieee754_log): Add systemtap probe marker.
53570         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53571         (atanMp): Add systemtap probe marker.
53572         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53573         (tanMp): Add systemtap probe marker.
53574         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53575         (__slowexp): Add systemtap probe marker.
53576         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53577         (__slowpow): Add systemtap probe marker.
53578         * manual/probes.texi: Document probes.
53580 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53582         [BZ #15362]
53583         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53584         written.
53585         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53586         written.
53587         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53588         written to buffer but not flushed.
53589         * libio/iofwrite_u.c:  Likewise.
53590         * libio/iopadn.c:  Return bytes returned even if EOF was
53591         encountered.
53592         * libio/iowpadn.c:  Likewise.
53593         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53594         if _IO_padn does not write the whole buffer.
53595         [!COMPILE_WPRINTF] (PAD): Likewise.
53597 2013-10-10  David S. Miller  <davem@davemloft.net>
53599         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53600         directory block.
53602 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53604         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53605         instead of FSF address.
53606         * soft-fp/fixdfti.c: Likewise.
53607         * soft-fp/fixsfti.c: Likewise.
53608         * soft-fp/fixtfti.c: Likewise.
53609         * soft-fp/fixunsdfti.c: Likewise.
53610         * soft-fp/fixunssfti.c: Likewise.
53611         * soft-fp/fixunstfti.c: Likewise.
53612         * soft-fp/floattidf.c: Likewise.
53613         * soft-fp/floattisf.c: Likewise.
53614         * soft-fp/floattitf.c: Likewise.
53615         * soft-fp/floatuntidf.c: Likewise.
53616         * soft-fp/floatuntisf.c: Likewise.
53617         * soft-fp/floatuntitf.c: Likewise.
53618         * soft-fp/trunctfxf2.c: Likewise.
53620         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53621         * soft-fp/fixdfti.c: Likewise.
53622         * soft-fp/fixsfti.c: Likewise.
53623         * soft-fp/fixtfti.c: Likewise.
53624         * soft-fp/fixunsdfti.c: Likewise.
53625         * soft-fp/fixunssfti.c: Likewise.
53626         * soft-fp/fixunstfti.c: Likewise.
53627         * soft-fp/floattidf.c: Likewise.
53628         * soft-fp/floattisf.c: Likewise.
53629         * soft-fp/floattitf.c: Likewise.
53630         * soft-fp/floatuntidf.c: Likewise.
53631         * soft-fp/floatuntisf.c: Likewise.
53632         * soft-fp/floatuntitf.c: Likewise.
53633         * soft-fp/trunctfxf2.c: Likewise.
53635 2013-10-10  David S. Miller  <davem@davemloft.net>
53637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53639 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53641         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53642         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53643         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53644         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53645         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53646         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53647         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53649         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53650         for NaNs before doing comparisons on argument.
53651         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53652         Likewise.
53654 2013-10-10  Will Newton  <will.newton@linaro.org>
53656         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53657         passed to _int_memalign does not overflow.
53659 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53661         * scripts/bench.pl: Add include-sources directive.
53662         * benchtests/README: Update documentation.
53664 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53666         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53667         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53668         instead of FP_INIT_ROUNDMODE.
53669         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53670         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53672         [BZ #16034]
53673         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53674         copy class of input value.
53675         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53676         not handle exceptions.
53677         * soft-fp/negsf2.c (__negsf2): Likewise.
53678         * soft-fp/negtf2.c (__negtf2): Likewise.
53679         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53681 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53683         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53684         semicolon.  From Linux kernel.
53686 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53688         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53690 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53692         [BZ #156]
53693         * manual/socket.texi: Added statement about buffer
53694         for gethostbyname2_r.
53696 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53698         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53699         Use .p2align directive instead, throughout.
53700         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53701         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53702         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53704         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53705         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53706         * sysdeps/x86_64/strchr.S: Likewise.
53707         * sysdeps/x86_64/strrchr.S: Likewise.
53709 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53711         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53713         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53715         * sysdeps/generic/math_private.h (__mpsin1): Remove
53716         declaration.
53717         (__mpcos1): Likewise.
53718         (__mpsin): New argument __range_reduce.
53719         (__mpcos): Likewise.
53720         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53721         (slow): Use __mpsin and __mpcos.
53722         (slow1): Likewise.
53723         (slow2): Likewise.
53724         (sloww): Likewise.
53725         (sloww1): Likewise.
53726         (sloww2): Likewise.
53727         (bsloww): Likewise.
53728         (bsloww1): Likewise.
53729         (bsloww2): Likewise.
53730         (cslow2): Likewise.
53731         (csloww): Likewise.
53732         (csloww1): Likewise.
53733         (csloww2): Likewise.
53734         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53735         range_reduce.  Merge in __mpsin1.
53736         (__mpcos): Likewise.
53737         (__mpsin1): Remove.
53738         (__mpcos1): Likewise.
53740 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53742         * locale/loadlocale.c (_nl_intern_locale_data): Use
53743         LOCFILE_ALIGNED_P.
53744         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53745         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53746         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53747         obstack data is appropriately aligned.
53748         (obstack_int32_grow_fast): Likewise.
53749         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53750         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53751         (add_locale_uint32_array): Likewise.
53753 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53755         * benchtests/Makefile: Remove ARGLIST and RET variables.
53756         ($(objpfx)bench-%.c): Pass only function name to the script.
53757         * benchtests/README: Update documentation.
53758         * benchtests/acos-inputs: Add new directives.
53759         * benchtests/acosh-inputs: Likewise.
53760         * benchtests/asin-inputs: Likewise.
53761         * benchtests/asinh-inputs: Likewise.
53762         * benchtests/atan-inputs: Likewise.
53763         * benchtests/atanh-inputs: Likewise.
53764         * benchtests/cos-inputs: Likewise.
53765         * benchtests/cosh-inputs: Likewise.
53766         * benchtests/exp-inputs: Likewise.
53767         * benchtests/log-inputs: Likewise.
53768         * benchtests/pow-inputs: Likewise.
53769         * benchtests/rint-inputs: Likewise.
53770         * benchtests/sin-inputs: Likewise.
53771         * benchtests/sinh-inputs: Likewise.
53772         * benchtests/tan-inputs: Likewise.
53773         * benchtests/tanh-inputs: Likewise.
53774         * scripts/bench.pl: Add support for new directives.
53776 2013-10-07  Alan Modra  <amodra@gmail.com>
53778         * README: Fix careless merge.
53780 2013-10-05  Alan Modra  <amodra@gmail.com>
53782         * NEWS: Mention powerpc64le support and bugs fixed.
53783         * README: Both big-endian and little-endian powerpc64 supported.
53785 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53787         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53788         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53789         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53790         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53792 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53794         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53795         match prototype.
53797 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53799         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53800         Move -mhard-float appending from
53801         ports/sysdeps/powerpc/powerpc32/Makefile.
53802         [$(with-fp) = yes] (ASFLAGS): Likewise.
53803         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53804         * sysdeps/powerpc/nofpu: Move directory from
53805         ports/sysdeps/powerpc/nofpu.
53806         * sysdeps/powerpc/soft-fp: Move directory from
53807         ports/sysdeps/powerpc/soft-fp.
53808         * sysdeps/powerpc/powerpc32/405: Move directory from
53809         ports/sysdeps/powerpc/powerpc32/405.
53810         * sysdeps/powerpc/powerpc32/440: Move directory from
53811         ports/sysdeps/powerpc/powerpc32/440.
53812         * sysdeps/powerpc/powerpc32/464: Move directory from
53813         ports/sysdeps/powerpc/powerpc32/464.
53814         * sysdeps/powerpc/powerpc32/476: Move directory from
53815         ports/sysdeps/powerpc/powerpc32/476.
53816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53817         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53819         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53821         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53823         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53825         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53826         * README: Update for powerpc-*-linux-gnu software floating point
53827         support in libc.
53829         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53830         case to powerpc/powerpc32*.
53831         * sysdeps/unix/sysv/linux/configure: Regenerated.
53833         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53834         (_FPU_MASK_OM): Define as 0x04.
53835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53837         0x00c10080.
53838         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53839         0x0000003c.
53840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53843         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53844         getcontext_e500.
53845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53846         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53847         setcontext_e500.
53848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53849         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53850         and setcontext_e500.
53852 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
53854         * locale/iso-3166.def: Update iso-1366.def and related occurrences
53856 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53858         * manual/threads.texi (Default Thread Attributes): Fix typo.
53860 2013-10-04  Will Newton  <will.newton@linaro.org>
53862         * malloc/Makefile: Add tst-memalign.
53863         * malloc/tst-memalign.c: New file.
53865         * malloc/tst-posix_memalign.c: Add comments.
53866         (do_test): Add comments and call free on all potentially
53867         allocated pointers. Add space after cast.
53869         * malloc/tst-pvalloc.c: Add comments.
53870         (do_test): Add comments and call free on all potentially
53871         allocated pointers. Remove duplicate check for NULL pointer.
53872         Add space after cast.
53874         * malloc/tst-valloc.c: Add comments.
53875         (do_test): Add comments and call free on all potentially
53876         allocated pointers. Remove duplicate check for NULL pointer.
53877         Add space after cast.
53879 2013-10-04  Alan Modra  <amodra@gmail.com>
53881         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53882         Use stdint types in rather than __attribute__((mode())).
53883         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53885 2013-10-04  Alan Modra  <amodra@gmail.com>
53887         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53888         Correct handling of unaligned relocs for little-endian.
53889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53891 2013-10-04  Alan Modra  <amodra@gmail.com>
53893         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
53894         * configure: Regenerate.
53895         * nptl/shlib-versions: Powerpc*le starts at 2.18.
53896         * shlib-versions: Likewise.
53898 2013-10-04  Alan Modra  <amodra@gmail.com>
53900         * string/tester.c (test_memrchr): Increment reported test cycle.
53902 2013-10-04  Alan Modra  <amodra@gmail.com>
53904         * string/test-memcpy.c (do_one_test): When reporting errors, print
53905         string address and don't overrun end of string.
53907 2013-10-04  Alan Modra  <amodra@gmail.com>
53909         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
53910         insrdi.  Make better use of reg selection to speed exit slightly.
53911         Schedule entry path a little better.  Remove useless "are we done"
53912         checks on entry to main loop.  Handle wrapping around zero address.
53913         Correct main loop count.  Handle single left-over word from main
53914         loop inline rather than by using loop_small.  Remove extra word
53915         case in loop_small caused by wrong loop count.  Add little-endian
53916         support.
53917         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53918         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
53919         cache hint.
53920         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53921         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
53922         support.  Avoid rlwimi.
53923         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
53925 2013-10-04  Alan Modra  <amodra@gmail.com>
53927         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
53928         insrdi.  Formatting.
53929         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
53930         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53931         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
53932         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53933         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53934         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
53936 2013-10-04  Alan Modra  <amodra@gmail.com>
53938         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
53939         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53940         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
53941         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
53942         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53943         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53944         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53945         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53946         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
53947         use of regs.  Use power7 mtocrf.  Tidy function tails.
53949 2013-10-04  Alan Modra  <amodra@gmail.com>
53951         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
53952         Formatting.  Consistently use rXXX register defines or rN defines.
53953         Use early exit labels that avoid restoring unused non-volatile regs.
53954         Make cr field use more consistent with rWORDn compares.  Rename
53955         regs used as shift registers for unaligned loop, using rN defines
53956         for short lifetime/multiple use regs.
53957         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53958         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
53959         addi 1,1,64 to pop stack frame.  Simplify return value code.
53960         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53962 2013-10-04  Alan Modra  <amodra@gmail.com>
53964         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
53965         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
53966         rather than rlwimi.
53967         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
53968         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
53969         little-endian support.  Correct typos.
53970         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
53971         rather than rlwimi.
53972         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
53973         in loop and entry code to keep "and." results.
53974         (strchr): Add little-endian support.  Comment.  Move cntlzd
53975         earlier in tail.
53976         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
53978 2013-10-04  Alan Modra  <amodra@gmail.com>
53980         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
53981         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
53982         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
53983         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
53985 2013-10-04  Alan Modra  <amodra@gmail.com>
53987         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
53988         (rTMP): Define as r11.
53989         (strcmp): Add little-endian support.  Optimise tail.
53990         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
53991         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53992         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53993         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53994         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53995         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53996         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53998 2013-10-04  Alan Modra  <amodra@gmail.com>
54000         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54001         little-endian support.  Remove unnecessary "are we done" tests.
54002         Handle "s" wrapping around zero and extremely large "size".
54003         Correct main loop count.  Handle single left-over word from main
54004         loop inline rather than by using small_loop.  Correct comments.
54005         Delete "zero" tail, use "end_max" instead.
54006         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54008 2013-10-04  Alan Modra  <amodra@gmail.com>
54010         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54011         support.  Don't branch over align.
54012         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54013         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54014         support.  Rearrange tmp reg use to suit.  Comment.
54015         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54017 2013-10-04  Alan Modra  <amodra@gmail.com>
54019         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54021 2013-10-04  Alan Modra  <amodra@gmail.com>
54023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54024         conditional form of branch and link when obtaining pc.
54025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54027 2013-10-04  Alan Modra  <amodra@gmail.com>
54029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54030         HIWORD/LOWORD.
54031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54034 2013-10-04  Alan Modra  <amodra@gmail.com>
54036         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54037         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54038         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54039         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54040         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54041         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54042         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54043         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54044         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54045         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54047 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54048             Alistair Popple <alistair@ozlabs.au.ibm.com>
54049             Alan Modra <amodra@gmail.com>
54051         [BZ #15723]
54052         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54053         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54054         _dl_hwcap access for little-endian.
54055         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54056         destroy vmx regs when saving unaligned.
54057         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54058         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54059         destroy vmx regs when saving unaligned.
54061 2013-10-04  Alan Modra  <amodra@gmail.com>
54063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54064         Don't use a union to pack hi/low value.
54066 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54068         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54069         for little-endian.
54070         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54072         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54073         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54074         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54076 2013-10-04  Alan Modra  <amodra@gmail.com>
54078         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54079         constants to usual value for .cst8 section, and remove redundant
54080         high address load.
54081         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54082         constant for 0x1p52.  Load little-endian words of double from
54083         correct stack offsets.
54085 2013-10-04  Alan Modra  <amodra@gmail.com>
54087         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54088         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54089         words of double from correct stack offsets.
54090         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54091         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54092         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54093         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54094         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54095         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54096         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54097         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54098         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54099         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54100         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54101         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54102         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54103         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54104         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54105         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54106         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54108 2013-10-04  Alan Modra  <amodra@gmail.com>
54110         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54111         64-bit int/double union.
54112         (_FPU_SETCW): Likewise.
54113         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54114         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54116 2013-10-04  Alan Modra  <amodra@gmail.com>
54118         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54119         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54121 2013-10-04  Alan Modra  <amodra@gmail.com>
54123         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54124         use vector int constants.
54125         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54127 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54129         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54130         array with long long.
54131         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54132         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54133         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54134         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54135         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54136         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54137         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54138         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54139         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54140         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54141         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54142         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54143         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54145 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54147         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54148         (__signbit): Likewise.  Correct for little-endian.
54149         (__signbitl): Call __signbit.
54150         (lrint): Correct for little-endian.
54151         (lrintf): Call lrint.
54153 2013-10-04  Alan Modra  <amodra@gmail.com>
54155         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54156         union 32-bit int array member with 64-bit int array.
54157         (t515, tm256): Double rather than long double.
54158         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54160 2013-10-04  Alan Modra  <amodra@gmail.com>
54162         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54163         Delete.
54164         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54166         version of math_ldbl.h.
54168 2013-10-04  Alan Modra  <amodra@gmail.com>
54170         [BZ #15734], [BZ #15735]
54171         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54172         all uses of ieee875 long double macros and unions.  Simplify test
54173         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54174         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54175         normalize after ldbl_extract_mantissa, and don't add hidden bit
54176         already handled.  Don't treat low word of ieee854 mantissa like
54177         low word of IBM long double and mask off bit when testing for
54178         zero.
54179         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54180         all uses of ieee875 long double macros and unions.  Simplify tests
54181         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54182         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54183         two1022, instead use their values.  Recognise that tests for large
54184         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
54185         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
54186         Rewrite all uses of ieee875 long double macros and unions.  Simplify
54187         test for 0.0L and nan.  Correct negation.
54188         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
54189         ieee875 long double macros and unions.  Correct output for large
54190         magnitude x.  Correct absolute value calculation.
54191         (__erfcl): Likewise.
54192         * math/libm-test.inc: Add tests for errors discovered in IBM long
54193         double versions of fmodl, remainderl, erfl and erfcl.
54195 2013-10-04  Alan Modra  <amodra@gmail.com>
54197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54198         all uses of ieee854 long double macros and unions.  Simplify tests
54199         for long doubles that are fully specified by the high double.
54200         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
54201         Likewise.
54202         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
54203         Remove dead code too.
54204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
54205         (__ieee754_ynl): Likewise.
54206         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
54207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
54208         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
54209         Remove dead code too.
54210         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
54211         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
54212         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54213         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
54214         Simplify.
54215         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
54216         Simplify.
54217         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
54218         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
54219         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
54220         Comment on variable precision.
54221         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
54222         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54223         Likewise.
54224         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
54225         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54226         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54227         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
54228         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
54230 2013-10-04  Alan Modra  <amodra@gmail.com>
54232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
54233         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
54234         all uses of ieee854 long double macros and unions.
54235         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
54236         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
54238         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
54239         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
54240         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54241         Likewise.
54242         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
54243         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54244         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
54245         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
54247         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54248         Simplify sign and nan test too.
54249         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
54250         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
54251         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
54252         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
54253         Likewise.
54254         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54255         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
54256         Likewise.
54257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54258         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
54259         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
54260         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54261         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54264 2013-10-04  Alan Modra  <amodra@gmail.com>
54266         * stdio-common/printf_size.c (__printf_size): Don't use
54267         union ieee854_long_double in fpnum union.
54268         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54269         signbit macro to retrieve sign from long double.
54270         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54271         retrieve sign from long double.
54272         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54273         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54274         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54275         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54276         * math/test-misc.c (main): Don't use union ieee854_long_double.
54278 2013-10-04  Alan Modra  <amodra@gmail.com>
54280         [BZ #15680]
54281         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54282         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54283         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54284         calculation.  Remove unnecessary test for denormal exponent.
54285         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54286         Correct handling of denormals.  Avoid undefined shift behaviour.
54287         Correct normalisation of low mantissa when low double is denormal.
54288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54289         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54290         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54291         Correct normalisation of low mantissa.  Test for overflow of high
54292         mantissa and normalise.
54293         (ldbl_nearbyint): Use more readable constant for two52.
54294         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54295         (__mpn_construct_long_double): Fix test for overflow of high
54296         mantissa and correct normalisation.  Avoid undefined shift.
54298 2013-10-04  Alan Modra  <amodra@gmail.com>
54300         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54301         (union ibm_extended_long_double): Define as an array of ieee754_double.
54302         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54303         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54304         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54305         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54309         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54314 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54316         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54317         page size instead of calling getpagesize.
54319         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54320         (LOCFILE_ALIGN_MASK): Likewise.
54321         (LOCFILE_ALIGN_UP): Likewise.
54322         (LOCFILE_ALIGNED_P): Likewise.
54323         * locale/programs/ld-collate.c (collate_output): Use the new
54324         macros instead of __alignof__ (int32_t).
54325         * locale/weight.h (findidx): Likewise.
54327 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54329         [BZ #431]
54330         * manual/string.texi: Fix strncat and wcsncat.
54332 2013-10-03  Brooks Moses  <bmoses@google.com>
54334         [BZ #15915]
54335         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54336         * Makerules: ...here, and adjust associated comments.
54338 2013-10-02  Will Newton  <will.newton@linaro.org>
54340         * malloc/Makefile: Add tst-pvalloc.
54341         * malloc/tst-pvalloc.c: New file.
54343 2013-10-02  Will Newton  <will.newton@linaro.org>
54345         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54346         improve test coverage.
54348 2013-10-02  Will Newton  <will.newton@linaro.org>
54350         * malloc/Makefile: Add tst-posix_memalign.
54351         * malloc/tst-posix_memalign.c: New file.
54353 2013-10-01  Eric Blake  <eblake@redhat.com>
54355         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54356         Use __THROWNL rather than __THROW on static functions.
54358 2013-09-30  Petr Machata  <pmachata@redhat.com>
54360         * elf/elf.h (R_AARCH64_ABS16): New macro.
54361         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54362         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54363         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54364         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54365         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54366         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54367         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54368         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54369         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54370         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54371         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54372         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54373         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54374         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54375         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54376         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54377         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54378         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54379         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54380         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54381         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54382         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54383         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54384         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54385         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54386         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54387         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54388         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54389         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54390         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54391         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54392         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54393         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54394         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54395         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54396         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54397         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54398         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54399         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54400         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54401         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54402         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54403         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54404         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54405         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54406         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54407         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54408         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54409         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54410         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54411         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54412         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54413         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54414         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54415         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54416         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54417         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54418         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54419         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54420         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54421         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54422         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54423         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54424         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54425         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54426         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54427         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54428         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54429         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54430         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54431         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54432         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54433         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54434         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54435         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54436         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54437         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54438         (R_AARCH64_TLSDESC_LDR): Likewise.
54439         (R_AARCH64_TLSDESC_ADD): Likewise.
54440         (R_AARCH64_TLSDESC_CALL): Likewise.
54442 2013-09-30  Andreas Schwab  <schwab@suse.de>
54444         [BZ #15048]
54445         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54446         the nss database lookup.
54447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54450 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54452         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54454 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54456         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54457         ${Bash-specific parameter/pattern/string} parameter expansion.
54458         * sysdeps/unix/make-syscalls.sh: Likewise.
54460 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54462         * sysdeps/sh/stackguard-macros.h: New file.
54464 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54468         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54469         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54470         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54471         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54473 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54475         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54476         Fix thread ID register.
54478 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54480         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54481         [POSIX || UNIX98]: Require rather than permitting all symbols from
54482         <time.h>.
54483         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54484         element of struct sched_param.
54485         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54486         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54487         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54488         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54489         constant.
54491 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54493         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54494         argument calculation.
54496 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54498         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54499         Expect macro.
54500         [POSIX] (pthread_attr_t): Do not require type.
54501         [POSIX] (pthread_cond_t): Likewise.
54502         [POSIX] (pthread_condattr_t): Likewise.
54503         [POSIX] (pthread_key_t): Likewise.
54504         [POSIX] (pthread_mutex_t): Likewise.
54505         [POSIX] (pthread_mutexattr_t): Likewise.
54506         [POSIX] (pthread_once_t): Likewise.
54507         [POSIX] (pthread_t): Likewise.
54508         [POSIX-based standards] (pthread_atfork): Expect function.
54510 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54511             Richard Sandiford  <richard@codesourcery.com>
54513         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54514         (swap_endianness_p): New extern variable.
54515         (set_big_endian): New inline function.
54516         (maybe_swap_uint32): Likewise.
54517         (maybe_swap_uint32_array): Likewise.
54518         (maybe_swap_uint32_obstack): Likewise.
54519         * locale/programs/locfile.c: Include <stdbool.h>.
54520         (swap_endianness_p): New variable.
54521         (add_locale_uint32): Call maybe_swap_uint32.
54522         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54523         (write_locale_data): Call maybe_swap_uint32_array.
54524         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54525         maybe_swap_uint32.
54526         (obstack_int32_grow_fast): Likewise.
54527         (output_weightwc): Call maybe_swap_uint32_obstack.
54528         (collate_output): Likewise.
54529         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54530         (OPT_LITTLE_ENDIAN): Likewise.
54531         (options): Add --little-endian and --big-endian options.
54532         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54533         * locale/programs/locarchive.c: Include "locfile.h".
54534         (GET): New macro.
54535         (SET): Likewise.
54536         (INC): Likewise.
54537         (create_archive): Use the new macros to access fields of
54538         structures directly mapped from or written to locale archives.
54539         (oldlocrecentcmp): Likewise.
54540         (enlarge_archive): Likewise.
54541         (insert_name): Likewise.
54542         (add_alias): Likewise.
54543         (add_locale): Likewise.
54544         (delete_locales_from_archive): Likewise.
54545         (show_archive_content): Likewise.
54546         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54547         locale data.
54549 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54551         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54552         http://www.gnu.org/doc/freemanuals.texi.
54553         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54555 2013-09-24  Will Newton  <will.newton@linaro.org>
54557         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54558         macro.
54560 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54562         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54563         unsigned char.
54565 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54567         * manual/threads.texi (POSIX Threads): Fix a typo.
54569 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54571         [BZ #14547]
54572         * string/tst-strcoll-overflow.c: New test case.
54573         * string/Makefile (xtests): Add tst-strcoll-overflow.
54574         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54575         cache if string sizes may cause integer overflow.
54577         [BZ #14547]
54578         * string/strcoll_l.c (coll_seq): New members rule, idx,
54579         save_idx and back_us.
54580         (get_next_seq_nocache): New function.
54581         (do_compare_nocache): New function.
54582         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54583         when malloc fails.
54585 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54587         [BZ #15754]
54588         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54589         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54590         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54592         [BZ #15754]
54593         * elf/Makefile (tests): Add tst-ptrguard1.
54594         (tests-static): Add tst-ptrguard1-static.
54595         (tst-ptrguard1-ARGS): Define.
54596         (tst-ptrguard1-static-ARGS): Define.
54597         * elf/tst-ptrguard1.c: New file.
54598         * elf/tst-ptrguard1-static.c: New file.
54599         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54600         * sysdeps/i386/stackguard-macros.h: Likewise.
54601         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54602         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54603         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54604         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54605         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54606         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54608 2013-09-23  Hector Marco  <hecmargi@upv.es>
54609             Ismael Ripoll  <iripoll@disca.upv.es>
54610             Carlos O'Donell  <carlos@redhat.com>
54612         [BZ #15754]
54613         * sysdeps/generic/stackguard-macros.h: Define
54614         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54615         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54616         Define __pointer_chk_guard_local.
54617         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54618         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54620 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54622         [BZ #15859]
54623         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54625 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54627         * include/string.h (__ffs): Declare as hidden.
54628         * string/ffs.c (__ffs): Define as hidden.
54629         * sysdeps/i386/ffs.c (__ffs): Likewise.
54630         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54631         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54632         * sysdeps/s390/ffs.c (__ffs): Likewise.
54633         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54635 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54637         * NEWS: Mention malloc probes.
54639         * malloc/arena.c (new_heap): New memory_heap_new probe.
54640         (grow_heap): New memory_heap_more probe.
54641         (shrink_heap): New memory_heap_less probe.
54642         (heap_trim): New memory_heap_free probe.
54643         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54644         (systrim): New memory_sbrk_less probe.
54645         * manual/probes.texi: Document them.
54647         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54648         * manual/probes.texi: Document it.
54650         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54651         (__libc_realloc): Add memory_realloc_retry probe.
54652         (__libc_memalign): Add memory_memalign_retry probe.
54653         (__libc_valloc): Add memory_valloc_retry probe.
54654         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54655         (__libc_calloc): Add memory_calloc_retry probe.
54656         * manual/probes.texi: Document them.
54658         * malloc/arena.c (get_free_list): Add probe
54659         memory_arena_reuse_free_list.
54660         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54661         and memory_arena_reuse.
54662         (arena_get2) [!PER_THREAD]: Likewise.
54663         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54664         memory_arena_reuse_realloc.
54665         * manual/probes.texi: Document them.
54667         * malloc/malloc.c (__libc_free): Add
54668         memory_mallopt_free_dyn_thresholds probe.
54669         (__libc_mallopt): Add multiple memory_mallopt probes.
54670         * manual/probes.texi: Document them.
54672         * malloc/malloc.c: Include stap-probe.h.
54673         (__libc_mallopt): Add memory_mallopt probe.
54674         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54675         * manual/probes.texi: New.
54676         * manual/Makefile (chapters): Add probes.
54677         * manual/threads.texi: Set next node.
54679 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54681         [BZ #15963, #13985]
54682         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54683         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54684         Add `Chinese' to `nan' entry name.
54686 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54688         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54689         (POLYNOMIAL): Likewise.
54690         (TAYLOR_SINCOS): Likewise.
54691         (TAYLOR_SLOW): Likewise.
54692         (__sin): Use TAYLOR_SINCOS.
54693         (__cos): Likewise.
54694         (slow): Use TAYLOR_SLOW.
54695         (sloww): Likewise.
54696         (bsloww): Likewise.
54697         (csloww): Likewise.
54699 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54701         * stdlib/strtod_l.c: Fix buffer overrun.
54703 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54705         * benchtests/Makefile (bench): Add sincos.
54706         * benchtests/bench-sincos.c: New file.
54708         * math/libm-test.inc (cos_test_data): New test inputs.
54709         (sin_test_data): Likewise.
54711         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54712         macro.
54713         (__sin): Use it.
54714         (__cos): Likewise.
54715         (slow1): Likewise.
54716         (slow2): Likewise.
54717         (sloww1): Likewise.
54718         (sloww2): Likewise.
54719         (bsloww1): Likewise.
54720         (bsloww2): Likewise.
54721         (cslow2): Likewise.
54722         (csloww1): Likewise.
54723         (csloww2): Likewise.
54725         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54726         function.
54727         (__sin): Use it.
54728         (__cos): Likewise.
54730         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54731         gotos.
54732         (__cos): Likewise.
54734 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54736         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54737         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54738         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54739         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54740         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54741         * elf/cache.c (print_entry): Handle the new cache flags.
54743 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54744             Aldy Hernandez  <aldyh@redhat.com>
54746         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54747         Change condition to [_SOFT_FLOAT].
54748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54760         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54762         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54763         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54764         declaration.
54766 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54768         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54769         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54770         (__longjmp): Use LOAD_GP to load saved GPRs.
54771         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54772         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54773         (__sigsetjmp): Use SAVE_GP to save GPRs.
54775         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54776         Do not append -msoft-float.
54777         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54779 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54781         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54783 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54785         [BZ #15966]
54786         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54787         (_FPU_GETCW): Use initial "__" on variable and field names but not
54788         on macro parameter name.
54789         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54790         parentheses around reference to macro parameter.
54792 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54794         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54795         prototype.
54796         (ctype_startup): Use uint32_t in cast and sizeof for
54797         ctype->charnames.
54799 2013-09-11  Jia Liu  <proljc@gmail.com>
54801         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54802         __daddr_t_defined.
54803         [__FreeBSD__]: Likewise.
54805 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54808         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54809         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54810         (strchr): Remove __strchr_sse42 ifunc selection.
54811         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54812         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54814 2013-09-11  Will Newton  <will.newton@linaro.org>
54816         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54817         parameter to RES. Remove hardcoded 1000 value.
54818         * benchtests/bench-skeleton.c (main): Pass RES parameter
54819         to TIMING_INIT and multiply result by 1000.
54821 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54825 2013-09-11  Andreas Schwab  <schwab@suse.de>
54827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54828         if not defined.
54829         (O_TMPFILE) [__USE_GNU]: Define.
54830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54831         Define.
54833 2013-09-11  Will Newton  <will.newton@linaro.org>
54835         [BZ #15857]
54836         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54837         does not overflow.
54839 2013-09-11  Will Newton  <will.newton@linaro.org>
54841         [BZ #15856]
54842         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54843         does not overflow.
54845 2013-09-11  Will Newton  <will.newton@linaro.org>
54847         [BZ #15855]
54848         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54849         does not overflow.
54851 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
54853         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54854         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54855         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54856         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54857         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54859 2013-09-10  Allan McRae  <allan@archlinux.org>
54861         [BZ #15748]
54862         * manual/arith.texi (Parsing of Floats): Clarify
54863         cross-reference.
54865         [BZ #15849]
54866         * manual/install.texi (Running make install): Mention
54867         --enable-pt-chown.
54868         * INSTALL: Regenerated.
54870 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
54872         * csu/init-first.c (_init): Remove the !SHARED condition around
54873         FPU control word initialization.
54874         * elf/dl-support.c (_dl_fpu_control): New variable.
54875         (_dl_aux_init) <AT_FPUCW>: Initialize it.
54876         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
54877         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
54878         * math/test-fpucw-static.c: New file.
54879         * math/test-fpucw-ieee.c: New file.
54880         * math/test-fpucw-ieee-static.c: New file.
54881         * math/Makefile (tests): Add `test-fpucw-ieee' and
54882         `$(tests-static)'.
54883         (tests-static): New variable.
54884         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
54885         dependency to...
54886         [($(build-shared),yes)]
54887         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
54888         ... this.
54889         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
54890         New dependency.
54892 2013-09-09  Allan McRae  <allan@archlinux.org>
54894         [BZ #15939]
54895         * manual/string.texi (Collation Functions): Fix typo in
54896         strcoll example.
54897         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
54899         [BZ #15893]
54900         * stdlib/isomac.c (get_null_defines): Fix memory leak.
54902         [BZ #15892]
54903         * libio/memstream.c (open_memstream): Fix memory leak.
54904         * libio/wmemstream.c (open_wmemstream): Likewise.
54906         [BZ #15895]
54907         * nscd/netgroupcache.c: Fix nesting of ifdefs.
54909 2013-09-09  Will Newton  <will.newton@linaro.org>
54911         * malloc/Makefile: Add tst-realloc to tests.
54912         * malloc/tst-realloc.c: New file.
54914 2013-09-09  Allan McRae  <allan@archlinux.org>
54916         [BZ #15844]
54917         * COPYING: Update from GNU website to fix FSF address.
54918         * COPYING.LIB: Likewise.
54920 2013-09-06  David S. Miller  <davem@davemloft.net>
54922         * po/zh_TW.po: Update Chinese (traditional) translation from
54923         translation project.
54925 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
54926             Joseph Myers  <joseph@codesourcery.com>
54928         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
54929         "localeinfo.h".
54930         (obstack_chunk_alloc): New macro.
54931         (obstack_chunk_free): Likewise.
54932         (record_offset): New function.
54933         (init_locale_data): Likewise.
54934         (align_locale_data): Likewise.
54935         (add_locale_empty): Likewise.
54936         (add_locale_raw_data): Likewise.
54937         (add_locale_raw_obstack): Likewise.
54938         (add_locale_string): Likewise.
54939         (add_locale_wstring): Likewise.
54940         (add_locale_uint32): Likewise.
54941         (add_locale_uint32_array): Likewise.
54942         (add_locale_char): Likewise.
54943         (start_locale_structure): Likewise.
54944         (end_locale_structure): Likewise.
54945         (start_locale_prelude): Likewise.
54946         (end_locale_prelude): Likewise.
54947         (write_locale_data): Take locale_file structure rather than an
54948         iovec.
54949         * locale/programs/locfile.h: Include "obstack.h".
54950         (struct locale_file): Change to store locale file contents instead
54951         of header.
54952         (init_locale_data): New prototype.
54953         (align_locale_data): Likewise.
54954         (add_locale_empty): Likewise.
54955         (add_locale_raw_data): Likewise.
54956         (add_locale_raw_obstack): Likewise.
54957         (add_locale_string): Likewise.
54958         (add_locale_wstring): Likewise.
54959         (add_locale_uint32): Likewise.
54960         (add_locale_uint32_array): Likewise.
54961         (add_locale_char): Likewise.
54962         (start_locale_structure): Likewise.
54963         (end_locale_structure): Likewise.
54964         (start_locale_prelude): Likewise.
54965         (end_locale_prelude): Likewise.
54966         (write_locale_data): Update prototype.
54967         * locale/programs/3level.h (struct TABLE): Remove result field.
54968         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
54969         Use new locale_file interface.
54970         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
54971         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
54972         * locale/programs/ld-address.c (address_output): Use new
54973         locale_file interface.
54974         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
54975         NO_ADD_LOCALE.
54976         (collate_finish): Don't call collseq_table_finalize.
54977         (collate_output): Use new locale_file interface.
54978         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
54979         in file.
54980         (NO_FINALIZE): Change to NO_ADD_LOCALE.
54981         (TABLE): Move defines earlier in file.
54982         (ELEMENT): Likewise.
54983         (DEFAULT): Likewise.
54984         (wctrans_table_add): Move macro and inline function earlier in
54985         file.
54986         (struct wctype_table): Move type earlier in file.
54987         (add_locale_wctype_table): New static prototype.
54988         (struct locale_ctype_t): Use logical types instead of struct iovec
54989         pointers for members.
54990         (ctype_output): Use new locale_file interface.
54991         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
54992         new locale_file interface.
54993         (allocate_arrays): Update for use of new locale_file interface.
54994         * locale/programs/ld-identification.c (identification_output): Use
54995         new locale_file interface.
54996         * locale/programs/ld-measurement.c (measurement_output): Likewise.
54997         * locale/programs/ld-messages.c (messages_output): Likewise.
54998         * locale/programs/ld-monetary.c (monetary_output): Likewise.
54999         * locale/programs/ld-name.c (name_output): Likewise.
55000         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55001         * locale/programs/ld-paper.c (paper_output): Likewise.
55002         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55003         * locale/programs/ld-time.c (time_output): Likewise.
55005 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55007         * benchtests/Makefile: Add memrchr benchmark.
55008         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55009         benchmark as memrchr.
55010         * benchtests/bench-memrchr-ifunc.c: New file.
55011         * benchtests/bench-memrchr.c: New file.
55013 2013-09-06   Will Newton  <will.newton@linaro.org>
55015         * benchtests/Makefile (string-bench): Add memcpy.
55017 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55018             Cong Wang  <amwang@redhat.com>
55020         [BZ #15850]
55021         * sysdeps/unix/sysv/linux/bits/in.h
55022         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55023         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55024         before __USE_KERNEL_IPV6_DEFS uses.
55025         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55026         IPPROTO_BEETPH.
55027         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55028         sockaddr_in6, or ipv6_mreq.
55030 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55032         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55033         memory access for final bytes in some large inputs.
55034         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55036 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55038         * string/test-memrchr.c: New file.
55039         * string/test-memrchr-ifunc.c: New file.
55040         * string/Makefile: Add new memrchr testcase.
55042 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55044         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55045         fanotify_init returns EPERM.
55047 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55049         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55050         errors.
55051         (top level): Treat second token from macro or constant entries for
55052         allowed headers as allowed.
55053         * include/complex.h: Condition internal declarations on
55054         [!_ISOMAC].
55055         * include/fenv.h: Condition include of <stdbool.h> and internal
55056         declarations on [!_ISOMAC].
55058 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55060         [BZ #15923]
55061         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55063 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55065         * configure.in (--enable-versioning): Remove configure option.
55066         (libc_cv_asm_symver_directive): Remove configure test.
55067         (libc_cv_ld_version_script_option): Likewise.
55068         (VERSIONING): Remove variable and AC_SUBST.
55069         (DO_VERSIONING): Remove AC_DEFINE.
55070         * configure: Regenerated.
55071         * config.h.in (DO_VERSIONING): Remove macro.
55072         * Makerules [$(versioning) = yes]: Change conditionals to
55073         [$(build-shared) = yes].
55074         * config.make.in (versioning): Remove variable.
55075         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55076         [$(build-shared) = yes].
55077         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55078         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55079         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55080         [$(build-shared) = yes].
55081         * extra-lib.mk [$(versioning) = yes]: Likewise.
55082         * hurd/Makefile [$(versioning) = yes]: Likewise.
55083         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55084         [SHARED].
55085         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55086         [SHARED].
55087         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55088         [SHARED && !NO_HIDDEN].
55089         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55090         [SHARED].
55091         [SHARED && DO_VERSIONING]: Likewise..
55092         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55093         [$(build-shared) = yes].
55094         * manual/install.texi (--disable-versioning): Remove
55095         documentation.
55096         * INSTALL: Regenerated.
55097         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55098         to [SHARED].
55099         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55100         [$(build-shared) = yes].
55101         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55102         * sysdeps/i386/i686/multiarch/strstr-c.c
55103         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55104         [SHARED && !NO_HIDDEN].
55105         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55106         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55107         * sysdeps/powerpc/powerpc32/dl-machine.c
55108         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55109         * sysdeps/powerpc/powerpc32/sysdep.h
55110         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55111         to [SHARED && PIC && !NO_HIDDEN].
55112         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55113         conditional to [SHARED].
55115 2013-09-04   Will Newton  <will.newton@linaro.org>
55117         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55118         * benchtests/bench-string.h: Include bench-timing.h instead
55119         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55120         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55121         call to HP_TIMING_DIFF_INIT.
55122         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55123         instead of hp-timing.h macros.
55124         * benchtests/bench-memchr.c: Likewise.
55125         * benchtests/bench-memcmp.c: Likewise.
55126         * benchtests/bench-memcpy.c: Likewise.
55127         * benchtests/bench-memmem.c: Likewise.
55128         * benchtests/bench-memmove.c: Likewise.
55129         * benchtests/bench-memset.c: Likewise.
55130         * benchtests/bench-rawmemchr.c: Likewise.
55131         * benchtests/bench-strcasecmp.c: Likewise.
55132         * benchtests/bench-strcasestr.c: Likewise.
55133         * benchtests/bench-strcat.c: Likewise.
55134         * benchtests/bench-strchr.c: Likewise.
55135         * benchtests/bench-strcmp.c: Likewise.
55136         * benchtests/bench-strcpy.c: Likewise.
55137         * benchtests/bench-strcpy_chk.c: Likewise.
55138         * benchtests/bench-strlen.c: Likewise.
55139         * benchtests/bench-strncasecmp.c: Likewise.
55140         * benchtests/bench-strncat.c: Likewise.
55141         * benchtests/bench-strncmp.c: Likewise.
55142         * benchtests/bench-strncpy.c: Likewise.
55143         * benchtests/bench-strnlen.c: Likewise.
55144         * benchtests/bench-strpbrk.c: Likewise.
55145         * benchtests/bench-strrchr.c: Likewise.
55146         * benchtests/bench-strspn.c: Likewise.
55147         * benchtests/bench-strstr.c: Likewise.
55149 2013-09-04  Will Newton  <will.newton@linaro.org>
55151         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55153 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55155         [BZ #15427]
55156         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55157         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55158         * math/libm-test.inc (lgamma_test_data): Add more tests.
55159         * sysdeps/i386/fpu/libm-test-ulps: Update.
55160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55162 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55164         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55166         Add ifunc.
55167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55168         Add strcmp-sse2-unaligned
55169         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55171 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55173         * Versions.def (libc): Add GLIBC_2.19.
55175 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55177         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55178         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55180 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55182         [BZ #14155]
55183         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
55184         intermediate calculations in recurrence.
55185         (__ieee754_ynf): Likewise.
55186         * math/libm-test.inc (jn_test_data): Do not allow spurious
55187         underflow exception.  Add more tests.
55188         (yn_test_data): Add more tests.
55189         * sysdeps/i386/fpu/libm-test-ulps: Update.
55190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55192 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
55194         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
55196 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55198         * csu/init-first.c: Fix then/than typos.
55199         * locale/programs/ld-collate.c: Likewise.
55200         * locale/programs/linereader.h: Likewise.
55201         * manual/charset.texi: Likewise.
55202         * manual/filesys.texi: Likewise.
55203         * manual/stdio.texi: Likewise.
55204         * manual/string.texi: Likewise.
55205         * stdlib/fmtmsg.c: Likewise.
55206         * sysdeps/i386/stpncpy.S: Likewise.
55207         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55208         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55210         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55212 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55214         * elf/dl-open.c: Fix typos.
55215         * iconvdata/gbbig5.c: Likewise.
55216         * iconvdata/iso-2022-jp.c: Likewise.
55217         * iconv/gconv_int.h: Likewise.
55218         * iconv/loop.c: Likewise.
55219         * nis/rpcsvc/nis.h: Likewise.
55220         * resolv/ns_name.c: Likewise.
55221         * stdio-common/vfscanf.c: Likewise.
55222         * streams/stropts.h: Likewise.
55223         * sunrpc/rpc_thread.c: Likewise.
55224         * sysdeps/i386/strpbrk.S: Likewise.
55225         * sysdeps/ieee754/k_standard.c: Likewise.
55226         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55228         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
55229         * sysdeps/mach/hurd/profil.c: Likewise.
55230         * sysdeps/s390/dl-procinfo.h: Likewise.
55231         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
55232         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
55233         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55234         * sysdeps/x86_64/dl-trampoline.S: Likewise.
55235         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55237 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
55239         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
55240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
55242 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
55244         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
55245         aix specific files.
55246         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
55247         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
55248         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
55249         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55250         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
55251         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
55252         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
55253         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
55255 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55256             Roland McGrath  <roland@hack.frob.com>
55258         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
55259         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55261 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55263         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55264         __executable_start symbol instead of _start.
55266 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55268         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55269         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55270         Move macros to...
55271         * sysdeps/gnu/ldsodefs.h: ... this new file.
55273         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55274         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55275         instead of ELFOSABI_LINUX.
55277         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55278         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55279         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55280         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55281         Likewise.
55282         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55283         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55285         Likewise.
55286         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55287         (ibm_extended_long_double): Add ieee_nan member.
55288         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55289         (do_test): New function.
55291         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55292         TEST_TRUNC.
55293         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55294         functions, renamed from truncdfsf_test, trunctfsf_test,
55295         trunctfdf_test.
55296         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55297         functions.
55298         (do_test): Run all these.
55300 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55302         * argp/argp-help.c: Fix typos.
55303         * argp/argp-parse.c: Likewise.
55304         * debug/backtracesyms.c: Likewise.
55305         * elf/elf.h: Likewise.
55306         * malloc/malloc.c: Likewise.
55307         * nis/nis_print.c: Likewise.
55308         * resolv/res_comp.c: Likewise.
55309         * stdlib/stdlib.h: Likewise.
55310         * sunrpc/clnt_tcp.c: Likewise.
55311         * sunrpc/clnt_udp.c: Likewise.
55312         * sunrpc/clnt_unix.c: Likewise.
55313         * sysdeps/unix/bsd/ptsname.c: Likewise.
55314         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55315         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55317         Likewise.
55318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55319         Likewise.
55320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55321         Likewise.
55322         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55324 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55326         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55329 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55331         [BZ #15897]
55332         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55333         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55334         ($(objpfx)bug-dl-leaf): New rule.
55335         ($(objpfx)bug-dl-leaf.so): Likewise.
55336         ($(objpfx)bug-dl-leaf.out): Likewise.
55337         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55338         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55339         * dlfcn/bug-dl-leaf.c: New test.
55340         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55341         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55342         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55343         (dlclose): Likewise.
55344         (dlmopen): Likewise.
55346 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55348         * include/netdb.h [!_ISOMAC]:
55349         Don't include <tls.h>.
55350         (h_errno, __libc_h_errno): Move declaration and macros out of
55351         [_LIBC_REENTRANT].
55353         * include/resolv.h [_RESOLV_H_]:
55354         Don't include <tls.h>.
55355         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55356         * resolv/res_libc.c: Don't include <tls.h>.
55357         (_res): Use __attribute__ ((nocommon)) in place of
55358         __attribute__ ((section (".bss"))).
55360         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55361         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55363         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55365         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55366         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55368         * resolv/res_mkquery.c: Include <sys/time.h>.
55370         * inet/ifreq.c: Moved to ...
55371         * sysdeps/unix/ifreq.c: ... here.
55372         * inet/ifreq.c: New file, true stub version.
55374         * socket/sa_len.c: New file.
55375         * socket/Makefile (aux): Add it.
55376         * sysdeps/unix/sysv/linux/Makefile
55377         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55378         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55379         and #include <socket/sa_len.c>.
55380         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55381         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55383         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55384         * bits/socket.h: ... here.
55386         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55387         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55388         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55390 2013-08-27  Andreas Schwab  <schwab@suse.de>
55392         [BZ #15736]
55393         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55394         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55395         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55396         * string/test-strcasecmp.c (test_main): Run tests in several
55397         locales.
55398         * string/test-strncasecmp.c (test_main): Likewise.
55400         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55401         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55402         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55404         (__strncasecmp_ssse3) [PIC]: Likewise.
55406 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55408         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55410         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55411         instead of explicitly declaring xdecrypt.
55412         * nis/nss_nis/nis-publickey.c: Likewise.
55414 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55416         [BZ #15890]
55417         * nscd/aicache.c: Include res_hconf.h.
55418         (addhstaiX): Initialize res_hconf.
55420 2013-08-26  Andreas Schwab  <schwab@suse.de>
55422         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55423         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55425 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55427         * nscd/aicache.c (addhstaiX): Fix indentation.
55429 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55431         * configure.ac: Quote $build_pt_chown test.
55432         * configure: Regenerated.
55434 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55436         [BZ #15532]
55437         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55438         * math/s_cexpf.c (__cexpf): Likewise.
55439         * math/s_cexpl.c (__cexpl): Likewise.
55440         * math/libm-test.inc (cexp_test_data): Correct expected return
55441         value for NaN + i0.  Add another test.
55443 2013-08-22  David S. Miller  <davem@davemloft.net>
55445         * po/ca.po: Update Catalan translation from translation project.
55446         * po/uk.po: Add Ukrainian translations from translation project.
55448 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55450         [BZ #15797]
55451         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55452         is infinite, not alongside NaN test.
55453         * math/s_fdimf.c (__fdimf): Likewise.
55454         * math/s_fdiml.c (__fdiml): Likewise.
55455         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55456         errno is unchanged.
55458 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55460         * argp/argp-help.c: Fix typos.
55461         * crypt/speeds.c: Likewise.
55462         * csu/check_fds.c: Likewise.
55463         * elf/dl-load.c: Likewise.
55464         * elf/dl-open.c: Likewise.
55465         * elf/reldep3.c: Likewise.
55466         * elf/reldep.c: Likewise.
55467         * elf/sprof.c: Likewise.
55468         * iconv/iconv_charmap.c: Likewise.
55469         * iconv/skeleton.c: Likewise.
55470         * iconv/strtab.c: Likewise.
55471         * io/lockf64.c: Likewise.
55472         * libio/libioP.h: Likewise.
55473         * resolv/gai_notify.c: Likewise.
55474         * resolv/ns_name.c: Likewise.
55475         * resolv/ns_samedomain.c: Likewise.
55476         * resolv/res_send.c: Likewise.
55477         * stdlib/random.c: Likewise.
55478         * sunrpc/rpc/xdr.h: Likewise.
55479         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55480         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55481         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55482         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55483         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55484         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55485         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55486         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55487         * sysdeps/mach/hurd/check_fds.c: Likewise.
55488         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55489         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55490         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55492         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55493         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55494         * sysdeps/pthread/aio_notify.c: Likewise.
55495         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55496         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55497         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55498         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55499         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55501 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55503         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55504         version if bit_Slow_SSE4_2 is set.
55505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55506         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55508 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55510         [BZ #15867]
55511         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55512         trampoline stack frame information.
55513         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55514         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55515         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55516         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55517         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55518         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55519         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55520         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55521         sa_flags value.
55522         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55523         interrupting a syscall and set with option SA_SIGINFO.
55525 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55527         [BZ #15531]
55528         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55529         argument is infinite.
55530         * math/s_cprojf.c (__cprojf): Likewise.
55531         * math/s_cprojl.c (__cprojl): Likewise.
55532         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55533         * math/libm-test.inc (cproj_test_data): Add more tests.
55535         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55537         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55538         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55539         size.  Use __ffs to determine corresponding shift.
55541 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55542             Roland McGrath  <roland@hack.frob.com>
55544         * Makefile (INSTALL): Remove trailing blank lines from output of
55545         makeinfo.
55547 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55549         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55550         Align 32 bit compat elf_greg to 8 bytes.
55552 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55554         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55556 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55558         * string/strcoll_l.c (coll_seq): New structure.
55559         (get_next_seq_cached): New function.
55560         (get_next_seq): New function.
55561         (do_compare): New function.
55562         (STRCOLL): Use GNU style definition.  Simplify implementation
55563         by using get_next_seq, get_next_seq_cached and do_compare.
55565 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55567         [BZ #14699]
55568         CVE-2013-4237
55569         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55570         member.
55571         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55572         member.
55573         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55574         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55575         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55576         conditional.
55577         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55578         GETDENTS_64BIT_ALIGNED.
55579         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55580         * manual/filesys.texi (Reading/Closing Directory): Document
55581         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55582         strongly.
55583         * manual/conf.texi (Limits for Files): Add portability note to
55584         NAME_MAX, PATH_MAX.
55585         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55587 2013-08-13  Andreas Schwab  <schwab@suse.de>
55589         [BZ #15749]
55590         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55591         of fabs.
55592         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55593         LDBL_MAX_EXP >= 16384]: Add tests for it.
55595 2013-08-12  David S. Miller  <davem@davemloft.net>
55597         * version.h (RELEASE): Set to "development".
55598         (VERSION): Set to "2.18.90".
55599         * NEWS: Add 2.19 section.
55601 2013-08-03  David S. Miller  <davem@davemloft.net>
55603         * po/ko.po: Update Korean translation from translation project.
55605 2013-08-01  David S. Miller  <davem@davemloft.net>
55607         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55608         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55609         Bilka.
55611 2013-07-30  David S. Miller  <davem@davemloft.net>
55613         * po/fr.po: Update French translation from translation project.
55615 2013-07-28  David S. Miller  <davem@davemloft.net>
55617         * po/cs.po: Update Czech translation from translation project.
55619         * po/sv.po: Update Swedish translation from translation project.
55621 2013-07-27  David S. Miller  <davem@davemloft.net>
55623         * po/eo.po: Update Esperanto translation from translation project.
55625         * po/vi.po: Update Vietnamese translation from translation project.
55627         * po/de.po: Update German translation from translation project.
55629 2013-07-26  David S. Miller  <davem@davemloft.net>
55631         * po/bg.po: Update Bulgarian translation from translation project.
55633         * po/nl.po: Update Dutch translation from translation project.
55634         * po/pl.po: Update Polish translation from translation project.
55635         * po/ru.po: Update Russian translation from translation project.
55637 2013-07-24  David S. Miller  <davem@davemloft.net>
55639         * po/libc.pot: Update.
55641 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55643         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55644         variable page size.
55645         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55646         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55647         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55649 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55651         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55653 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55654             Andreas Schwab  <schwab@suse.de>
55655             Roland McGrath  <roland@hack.frob.com>
55656             Joseph Myers  <joseph@codesourcery.com>
55657             Carlos O'Donell  <carlos@redhat.com>
55659         [BZ #15755]
55660         * config.h.in: Define HAVE_PT_CHOWN.
55661         * config.make.in (build-pt-chown): New variable.
55662         * configure.in (--enable-pt_chown): New configure option.
55663         * configure: Regenerate.
55664         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55665         build-pt-chown is enabled.
55666         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55667         pt_chown to fix pty ownership.
55668         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55669         CLOSE_ALL_FDS.
55670         * manual/install.texi (Configuring and compiling): Mention
55671         --enable-pt_chown. Add @findex for grantpt.
55672         * INSTALL: Regenerate.
55674 2013-07-20  David S. Miller  <davem@davemloft.net>
55676         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55677         difference between 32-bit and 64-bit.
55679 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55681         [BZ #15711]
55682         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55683         Avoid system header dependency with -ffreestanding.
55684         ($(objpfx)bits/syscall%d): Likewise.
55686 2013-07-13  David S. Miller  <davem@davemloft.net>
55688         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55689         underflows from atanl/atan2l due to bug 15319.
55690         (casinh_test_data): Likewise.
55692 2013-07-07  David S. Miller  <davem@davemloft.net>
55694         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55696 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55698         * sysdeps/i386/fpu/libm-test-ulps: Update.
55699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55701 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55703         * configure.in (--enable-lock-elision): Fix message text.
55704         * INSTALL: Regenerate.
55705         * configure: Regenerate.
55707 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55711 2013-07-03  Andreas Jaeger  <aj@suse.de>
55713         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55714         define.
55715         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55716         (ptrace_peeksiginfo_args): Add.
55717         (__ptrace_peeksiginfo_flags): Add.
55718         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55719         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55720         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55722 2013-07-03  Allan McRae  <allan@archlinux.org>
55724         * sysdeps/i386/fpu/libm-test-ulps: Update.
55726 2013-07-02  David S. Miller  <davem@davemloft.net>
55728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55730 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55734 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55736         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55739 2013-07-02  Andi Kleen <ak@linux.intel.com>
55741         * config.h.in (ENABLE_LOCK_ELISION): Add.
55742         * configure.in (--enable-lock-elision): Add option.
55743         * manual/install.texi: Document --enable lock elision.
55744         * configure: Regenerate
55745         * INSTALL: Regenerate.
55747 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55749         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55750         SSE4.2 strcasecmp for libc.a.
55751         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55753 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55755         [BZ #13304]
55756         * soft-fp/op-common.h (_FP_FMA): New macro.
55757         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55758         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55759         (_FP_MUL_MEAT_1_imm): ... here.
55760         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55761         (_FP_MUL_MEAT_1_wide): ... here.
55762         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55763         (_FP_MUL_MEAT_1_hard): ... here.
55764         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55765         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55766         (_FP_MUL_MEAT_2_wide): ... here.
55767         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55768         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55769         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55770         (_FP_MUL_MEAT_2_gmp): ... here.
55771         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55772         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55773         (_FP_MUL_MEAT_4_wide): ... here.
55774         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55775         (_FP_MUL_MEAT_4_gmp): ... here.
55776         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55777         (_FP_WFRACBITS_DW_S): Likewise.
55778         (_FP_WFRACXBITS_DW_S): Likewise.
55779         (_FP_HIGHBIT_DW_S): Likewise.
55780         (FP_FMA_S): Likewise.
55781         (_FP_FRAC_HIGH_DW_S): Likewise.
55782         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55783         (_FP_WFRACBITS_DW_D): Likewise.
55784         (_FP_WFRACXBITS_DW_D): Likewise.
55785         (_FP_HIGHBIT_DW_D): Likewise.
55786         (FP_FMA_D): Likewise.
55787         (_FP_FRAC_HIGH_DW_D): Likewise.
55788         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55789         (_FP_WFRACBITS_DW_E): Likewise.
55790         (_FP_WFRACXBITS_DW_E): Likewise.
55791         (_FP_HIGHBIT_DW_E): Likewise.
55792         (FP_FMA_E): Likewise.
55793         (_FP_FRAC_HIGH_DW_E): Likewise.
55794         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55795         (_FP_WFRACBITS_DW_Q): Likewise.
55796         (_FP_WFRACXBITS_DW_Q): Likewise.
55797         (_FP_HIGHBIT_DW_Q): Likewise.
55798         (FP_FMA_Q): Likewise.
55799         (_FP_FRAC_HIGH_DW_Q): Likewise.
55800         * soft-fp/fmasf4.c: New file.
55801         * soft-fp/fmadf4.c: Likewise.
55802         * soft-fp/fmatf4.c: Likewise.
55804 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55807         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55808         Silvermont.
55809         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55810         macro.
55811         (index_Slow_SSE4_2): Likewise.
55812         (index_Prefer_PMINUB_for_stringop): Likewise.
55813         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55814         bit_Slow_SSE4_2 is set.
55815         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55816         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55818 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55820         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55821         rtld_global._dl_hwcap2.
55822         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55823         POWER8.
55824         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55825         POWER8 feature descriptions defined in _dl_hwcap2.
55826         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55827         string handling for POWER8 feature bits.
55828         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55829         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55830         _dl_powerpc_cap_flags.
55831         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55832         * sysdeps/powerpc/rtld-global-offsets.sym
55833         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55834         _dl_hwcap2 in the rtld_global_ro structure.
55836 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55838         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55839         hardware capabilities in support of AT_HWCAP2.
55840         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55841         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55842         GLRO(dl_hwcap2).
55843         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55844         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55845         explicitly the unknown a_type display mechanism is used.
55846         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55847         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55848         struct member.
55849         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55850         to macro prototype for AT_HWCAP2 support.
55851         * sysdeps/i386/dl-procinfo.h: Likewise.
55852         * sysdeps/s390/dl-procinfo.h: Likewise.
55853         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55854         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
55855         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
55856         return -1 for unknown a_type display fallback.
55857         * sysdeps/sparc/dl-procinfo.h: Likewise.
55858         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55859         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55861 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
55863         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55864         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55866 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
55868         [BZ #12492]
55869         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55870         mprotect making __stack_prot writable.
55872 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
55873             Joseph Myers  <joseph@codesourcery.com>
55875         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
55876         as being properly aligned.
55878 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
55880         * dlfcn/modstatic5.c: New file.
55881         * dlfcn/tststatic5.c: New file.
55882         * dlfcn/Makefile (tests): Add tststatic5.
55883         (tests-static): Likewise.
55884         (modules-names): Add modstatic5.
55885         (tststatic5-ENV): New variable.
55886         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
55888         [BZ #15022]
55889         * elf/dl-support.c (_dl_main_map): New variable.
55890         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
55891         (_dl_nns, _dl_load_adds): Set to 1.
55892         (_dl_initial_searchlist): Refer to _dl_main_map.
55893         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
55894         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
55895         call to _dl_get_origin.
55896         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
55897         around call_map.
55898         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
55899         * dlfcn/modstatic3.c: New file.
55900         * dlfcn/tststatic3.c: New file.
55901         * dlfcn/tststatic4.c: New file.
55902         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
55903         (tests-static): Likewise.
55904         (modules-names): Add modstatic3.
55905         (tststatic3-ENV, tststatic4-ENV): New variables.
55906         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
55907         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
55909 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
55911         * configure.in (CC): Require GCC version 4.4 or later.
55912         * configure: Regenerated.
55913         * manual/install.texi (Tools for Compilation): Update GCC version
55914         requirement.
55915         * INSTALL: Regenerated.
55917 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55919         [BZ #15674]
55920         * string/test-memcmp.c (check2): New.
55921         (main): Call check2.
55923         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
55925 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
55927         [BZ #15022]
55928         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
55929         over to...
55930         (dl_open_worker) [!SHARED]: ... here.
55932 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55934         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
55936 2013-06-25  Richard Henderson  <rth@redhat.com>
55938         * locale/programs/locarchive.c: Include <libc-internal.h>
55940 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
55942         * manual/texinfo.tex: Update to version 2013-06-21.17, with
55943         trailing whitespace removed.
55945 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55947         [BZ #10283]
55948         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
55949         * locale/programs/locarchive.c: Include libc-mmap.h.
55950         (prepare_address_space): Take two new outputs (the mmap base and len).
55951         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
55952         values.
55953         (create_archive): Declare new mmap base and len values for
55954         prepare_address_space, and store the result in ah.
55955         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
55956         (enlarge_archive): If ah->mmap_base is not NULL, use that and
55957         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55958         Declare new mmap base and len values for
55959         prepare_address_space, and store the result in new_ah.
55960         (open_archive): Declare new mmap base and len values for
55961         prepare_address_space, and store the result in ah.
55962         (close_archive): If ah->mmap_base is not NULL, use that and
55963         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55964         * sysdeps/generic/libc-mmap.h: New file.
55966 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55968         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
55969         (ALIGN_UP): Likewise.
55970         (PTR_ALIGN_DOWN): Likewise.
55971         (PTR_ALIGN_UP): Likewise.
55973 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55975         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
55976         entry mapped to PPC_PLATFORM_POWER8.
55977         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
55978         POWER8.
55979         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
55980         (_dl_string_platform): Add case for exporting platform position for
55981         POWER8.
55982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
55983         search path to sysdeps/powerpc/powerpc32/power8 directory.
55984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
55985         search path to sysdeps/powerpc/powerpc64/power8 directory.
55986         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
55987         power7 directories.
55988         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
55989         power7 directories.
55991 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55993         * INSTALL: Regenerate.
55995         * nscd/connections.c (nscd_init): Fix comment.
55997 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
55999         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56001         [BZ #15667]
56002         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56003         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56005 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56007         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56008         DL_DST_REQ_STATIC.
56009         (DL_DST_REQ_STATIC): Remove macro.
56011 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56013         [BZ #7006]
56014         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56015         with a shift of 0 bits.
56017 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56019         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56020         $(tststatic-ENV).
56022 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56024         [BZ #15655]
56025         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56027 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56029         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56030         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56031         accepts -fno-tree-loop-distribute-patterns.
56032         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56033         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56034         recursive call.
56035         * string/memset.c (memset): Likewise.
56036         * string/test-memmove.c (simple_memmove): Disable loop transformation
56037         to library calls.
56038         * string/test-memset.c (simple_memset): Likewise.
56039         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56040         * benchtests/bench-memset.c (simple_memset): Likewise.
56041         * configure: Regenerated.
56043 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56045         * math/test-misc.c (main): Ignore fesetround failure when failures
56046         of subsequent rounding tests would be ignored.
56048         [BZ #15654]
56049         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56050         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56051         * math/fegetenv.c (__fegetenv): Return 0.
56052         * math/fegetexcept.c (fegetexcept): Return 0.
56053         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56054         FE_TONEAREST.
56055         * math/feholdexcpt.c (feholdexcept): Return 0.
56056         * math/fesetenv.c (__fesetenv): Return 0.
56057         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56058         argument FE_TONEAREST.
56059         * math/feupdateenv.c (__feupdateenv): Return 0.
56060         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56062 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56064         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56065         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56066         ($(objpfx)rtld-%.os rules): Use them.
56068 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56070         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56071         fields.
56073 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56075         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56076         length of target pattern, then descending length of dependency pattern.
56077         * configure.in (AWK): Require gawk 3.1.2 or newer.
56078         * manual/install.texi (Tools for Compilation): Say that we do.
56079         * configure: Regenerated.
56081         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56082         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56083         * scripts/sysd-rules.awk: ... this new script.
56084         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56085         than a glob-style pattern.
56087 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56089         * math/test-misc.c (main): Do not treat incorrectly rounded
56090         conversions as failure unless ROUNDING_TESTS passes.
56092 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56094         [BZ #15631]
56095         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56096         restore exception state around main square root computation, then
56097         check for inexactness explicitly.
56099         * math/libm-test.inc (fma_test_data): Add another test.
56101 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56103         * manual/threads.texi (Non-POSIX Extensions): New document
56104         node.  Document pthread_getattr_default_np and
56105         pthread_setattr_default_np.
56107         * Versions.def (libpthread): Add GLIBC_2.18.
56108         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56110         Likewise.
56111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56112         Likewise.
56113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56114         Likewise.
56115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56116         Likewise.
56117         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56118         Likewise.
56119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56120         Likewise.
56121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56122         Likewise.
56123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56124         Likewise.
56125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56126         Likewise.
56128 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56131         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56133 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56134             H.J. Lu  <hjl.tools@gmail.com>
56136         [BZ #15627]
56137         * sysdeps/x86_64/rtld-memset.c: Remove file.
56138         * sysdeps/x86_64/rtld-memset.S: New file.
56140 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56142         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56143         (test_in_one_mode): Take arguments for whether the rounding mode
56144         is supported for each floating-point type.
56145         (do_test): Pass new arguments to test_in_one_mode using
56146         ROUNDING_TESTS.
56148 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56150         * posix/tst-waitid.c (do_test): Distinguish different instances of
56151         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56152         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56153         before entering the kernel for waitpid.
56155 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56157         * NEWS: Fix note on clock function precision.  Text by Roland
56158         McGrath.
56160 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56162         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56163         it into place only when and if the sanity check passes.
56165 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56167         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56168         output for whether conversion result is exact.  Take argument
56169         indicating whether type is IBM long double.
56170         (round_for_all): Change need_exact field to ibm_ld.
56171         * stdlib/tst-strtod-round.c (struct exactness): New type.
56172         (struct test): Change bool ld_ok field to struct exactness exact.
56173         (TEST): Update all definitions for change to field.
56174         (tests): Regenerate array contents.
56175         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56176         field value.  Check for IBM long double here.
56177         (do_test): Update calls to test_in_one_mode.
56179 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56181         [BZ #12515]
56182         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56183         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
56185 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56187         [BZ #15605]
56188         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
56189         generated by the compiler on loop optimizations.
56190         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
56191         general definitions.
56193 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
56195         * math/bug-nextafter.c: Include <math-tests.h>.
56196         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56197         the relevant type.
56198         * math/bug-nexttoward.c: Include <math-tests.h>.
56199         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56200         the relevant type.
56201         * math/test-misc.c: Include <math-tests.h>.
56202         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56203         the relevant type.
56205 2013-06-12  Andreas Jaeger  <aj@suse.de>
56207         * po/ia.po: Update Interlingua translation from translation
56208         project.
56210 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56212         * include/fenv.h: Include stdbool.h.
56213         (struct rm_ctx): New structure.
56214         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
56215         Define macro.
56216         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
56217         (SET_RESTORE_ROUNDF): Likewise.
56218         (SET_RESTORE_ROUNDL): Likewise.
56219         (SET_RESTORE_ROUND_NOEX): Likewise.
56220         (SET_RESTORE_ROUND_NOEXF): Likewise.
56221         (SET_RESTORE_ROUND_NOEXL): Likewise.
56222         (SET_RESTORE_ROUND_53BIT): Likewise.
56223         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
56224         (libc_feresetround_noexf_ctx): Likewise.
56225         (libc_feresetround_noexl_ctx): Likewise.
56226         (libc_feholdsetround_53bit_ctx): Likewise.
56227         (libc_feresetround_53bit_ctx): Likewise.
56228         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
56229         (libc_feholdexcept_setround_sse_ctx): New function.
56230         (libc_fesetenv_sse_ctx): Likewise.
56231         (libc_feupdateenv_sse_ctx): Likewise.
56232         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
56233         (libc_feholdexcept_setround_387_ctx): Likewise.
56234         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
56235         (libc_feholdsetround_387_prec_ctx): Likewise.
56236         (libc_feholdsetround_387_ctx): Likewise.
56237         (libc_feholdsetround_387_53bit_ctx): Likewise.
56238         (libc_feholdsetround_sse_ctx): Likewise.
56239         (libc_feresetround_sse_ctx): Likewise.
56240         (libc_feresetround_387_ctx): Likewise.
56241         (libc_feupdateenv_387_ctx): Likewise.
56242         (libc_feholdexcept_setroundf_ctx): Define macro.
56243         (libc_fesetenvf_ctx): Likewise.
56244         (libc_feupdateenvf_ctx): Likewise.
56245         (libc_feholdsetroundf_ctx): Likewise.
56246         (libc_feresetroundf_ctx): Likewise.
56247         (libc_feholdexcept_setround_ctx): Likewise.
56248         (libc_fesetenv_ctx): Likewise.
56249         (libc_feupdateenv_ctx): Likewise.
56250         (libc_feholdsetround_ctx): Likewise.
56251         (libc_feresetround_ctx): Likewise.
56252         (libc_feholdexcept_setroundl_ctx): Likewise.
56253         (libc_feupdateenvl_ctx): Likewise.
56254         (libc_feholdsetroundl_ctx): Likewise.
56255         (libc_feresetroundl_ctx): Likewise.
56256         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
56257         (libc_feresetround_53bit_ctx): Likewise.
56259 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56261         * locale/iso-639.def: Convert to UTF-8.
56263 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56265         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56266         (EXCEPTION_TESTS_double): Likewise.
56267         (EXCEPTION_TESTS_long_double): Likewise.
56268         (EXCEPTION_TESTS): Likewise.
56269         * math/libm-test.inc (test_exceptions): Only test exceptions if
56270         EXCEPTION_TESTS (FLOAT).
56272 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56274         * benchtests/Makefile (string-bench): Add strcpy_chk and
56275         stpcpy_chk.
56276         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56277         * benchtests/bench-stpcpy_chk.c: New file.
56278         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56279         * benchtests/bench-strcpy_chk.c: New file.
56280         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56281         code.
56282         (do_test): Likewise.
56284 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56286         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56287         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56288         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56289         with tabs where appropriate.
56290         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56291         dl-procinfo.h.
56292         [PPC_PLATFORM_PPC440]: Likewise.
56293         [PPC_PLATFORM_PPC464]: Likewise.
56294         [PPC_PLATFORM_PPC476]: Likewise.
56295         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56296         ppc464, and ppc476 platform strings merging from ports/
56297         dl-procinfo.h.
56299 2013-06-11  Andreas Schwab  <schwab@suse.de>
56301         [BZ #14991]
56302         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56303         (from_ucs4_idx): Regenerate.
56304         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56305         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56306         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56307         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56308         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56309         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56310         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56311         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56312         from FROM_LOOP and TO_LOOP specific macros.
56313         (BODY): Handle combining characters.
56314         * iconvdata/BIG5HKSCS.irreversible: Update.
56315         * iconvdata/BIG5HKSCS.precomposed: New file.
56316         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56317         characters.
56318         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56320 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56322         * include/sys/time.h: Fix indentation and add copyright header.
56324         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56325         (do_test): Likewise.
56326         * string/test-memchr.c (do_one_test): Likewise.
56327         (do_test): Likewise.
56328         * string/test-memcmp.c (do_one_test): Likewise.
56329         (do_test): Likewise.
56330         * string/test-memcpy.c (do_one_test): Likewise.
56331         (do_test): Likewise.
56332         * string/test-memmem.c (do_one_test): Likewise.
56333         (do_test): Likewise.
56334         (do_random_tests): Likewise.
56335         * string/test-memmove.c (do_one_test): Likewise.
56336         (do_test): Likewise.
56337         * string/test-memset.c (do_one_test): Likewise.
56338         (do_test): Likewise.
56339         * string/test-rawmemchr.c (do_one_test): Likewise.
56340         (do_test): Likewise.
56341         * string/test-strcasecmp.c (do_one_test): Likewise.
56342         (do_test): Likewise.
56343         * string/test-strcasestr.c (do_one_test): Likewise.
56344         (do_test): Likewise.
56345         * string/test-strcat.c (do_one_test): Likewise.
56346         (do_test): Likewise.
56347         * string/test-strchr.c (do_one_test): Likewise.
56348         (do_test): Likewise.
56349         * string/test-strcmp.c (do_one_test): Likewise.
56350         (do_test): Likewise.
56351         * string/test-strcpy.c (do_one_test): Likewise.
56352         (do_test): Likewise.
56353         * string/test-string.h: Likewise.
56354         (test_init): Likewise.
56355         * string/test-strlen.c (do_one_test): Likewise.
56356         (do_test): Likewise.
56357         * string/test-strncasecmp.c (do_one_test): Likewise.
56358         (do_test): Likewise.
56359         * string/test-strncat.c (do_one_test): Likewise.
56360         (do_test): Likewise.
56361         * string/test-strncmp.c (do_one_test): Likewise.
56362         (do_test_limit): Likewise.
56363         (do_test): Likewise.
56364         * string/test-strncpy.c (do_one_test): Likewise.
56365         (do_test): Likewise.
56366         * string/test-strnlen.c (do_one_test): Likewise.
56367         (do_test): Likewise.
56368         * string/test-strpbrk.c (do_one_test): Likewise.
56369         (do_test): Likewise.
56370         * string/test-strrchr.c (do_one_test): Likewise.
56371         (do_test): Likewise.
56372         * string/test-strspn.c (do_one_test): Likewise.
56373         (do_test): Likewise.
56374         * string/test-strstr.c (do_one_test): Likewise.
56375         (do_test): Likewise.
56377         * benchtests/Makefile (string-bench): Add string benchmarks.
56378         * benchtests/bench-bcopy-ifunc.c: New file.
56379         * benchtests/bench-bcopy.c: New file.
56380         * benchtests/bench-bzero-ifunc.c: New file.
56381         * benchtests/bench-bzero.c: New file.
56382         * benchtests/bench-memccpy-ifunc.c: New file.
56383         * benchtests/bench-memccpy.c: New file.
56384         * benchtests/bench-memchr-ifunc.c: New file.
56385         * benchtests/bench-memchr.c: New file.
56386         * benchtests/bench-memcmp-ifunc.c: New file.
56387         * benchtests/bench-memcmp.c: New file.
56388         * benchtests/bench-memmem-ifunc.c: New file.
56389         * benchtests/bench-memmem.c: New file.
56390         * benchtests/bench-memmove-ifunc.c: New file.
56391         * benchtests/bench-memmove.c: New file.
56392         * benchtests/bench-mempcpy-ifunc.c: New file.
56393         * benchtests/bench-mempcpy.c: New file.
56394         * benchtests/bench-memset-ifunc.c: New file.
56395         * benchtests/bench-memset.c: New file.
56396         * benchtests/bench-rawmemchr-ifunc.c: New file.
56397         * benchtests/bench-rawmemchr.c: New file.
56398         * benchtests/bench-stpcpy-ifunc.c: New file.
56399         * benchtests/bench-stpcpy.c: New file.
56400         * benchtests/bench-stpncpy-ifunc.c: New file.
56401         * benchtests/bench-stpncpy.c: New file.
56402         * benchtests/bench-strcasecmp-ifunc.c: New file.
56403         * benchtests/bench-strcasecmp.c: New file.
56404         * benchtests/bench-strcasestr-ifunc.c: New file.
56405         * benchtests/bench-strcasestr.c: New file.
56406         * benchtests/bench-strcat-ifunc.c: New file.
56407         * benchtests/bench-strcat.c: New file.
56408         * benchtests/bench-strchr-ifunc.c: New file.
56409         * benchtests/bench-strchr.c: New file.
56410         * benchtests/bench-strchrnul-ifunc.c: New file.
56411         * benchtests/bench-strchrnul.c: New file.
56412         * benchtests/bench-strcmp-ifunc.c: New file.
56413         * benchtests/bench-strcmp.c: New file.
56414         * benchtests/bench-strcpy-ifunc.c: New file.
56415         * benchtests/bench-strcpy.c: New file.
56416         * benchtests/bench-strcspn-ifunc.c: New file.
56417         * benchtests/bench-strcspn.c: New file.
56418         * benchtests/bench-strlen-ifunc.c: New file.
56419         * benchtests/bench-strlen.c: New file.
56420         * benchtests/bench-strncasecmp-ifunc.c: New file.
56421         * benchtests/bench-strncasecmp.c: New file.
56422         * benchtests/bench-strncat-ifunc.c: New file.
56423         * benchtests/bench-strncat.c: New file.
56424         * benchtests/bench-strncmp-ifunc.c: New file.
56425         * benchtests/bench-strncmp.c: New file.
56426         * benchtests/bench-strncpy-ifunc.c: New file.
56427         * benchtests/bench-strncpy.c: New file.
56428         * benchtests/bench-strnlen-ifunc.c: New file.
56429         * benchtests/bench-strnlen.c: New file.
56430         * benchtests/bench-strpbrk-ifunc.c: New file.
56431         * benchtests/bench-strpbrk.c: New file.
56432         * benchtests/bench-strrchr-ifunc.c: New file.
56433         * benchtests/bench-strrchr.c: New file.
56434         * benchtests/bench-strspn-ifunc.c: New file.
56435         * benchtests/bench-strspn.c: New file.
56436         * benchtests/bench-strstr-ifunc.c: New file.
56437         * benchtests/bench-strstr.c: New file.
56439         * benchtests/Makefile: Disable parallel execution of targets.
56440         (string-bench): Add memcpy.
56441         (benchset): New variable to store a list of benchmark sets.
56442         (bench-func): Renamed from bench.
56443         (bench-set): New target.
56444         (bench): Depend on bench-func and bench-set.
56445         * benchtests/README: Add section on benchmark sets.
56446         * benchtests/bench-memcpy-ifunc.c: New file.
56447         * benchtests/bench-memcpy.c: New file.
56448         * benchtests/bench-string.h: New file.
56450 2013-06-11  Andreas Schwab  <schwab@suse.de>
56452         [BZ #15577]
56453         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56454         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56455         values in the triple.
56456         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56457         terminator in the group key.
56459 2013-06-11  Andreas Jaeger  <aj@suse.de>
56461         * po/zh_TW.po: Update Chinese (traditional) translation from
56462         translation project.
56464 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56466         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56467         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56468         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56469         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56470         (clock_getcpuclockid): Likewise.
56471         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56472         Add weak_alias and libc_hidden_def.
56473         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56474         * rt/clock_gettime.c (clock_gettime): Rename to
56475         __clock_gettime.  Add weak_alias and libc_hidden_def.
56476         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56477         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56478         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56479         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56480         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56481         Likewise.
56482         * rt/clock_settime.c (clock_settime): Rename to
56483         __clock_settime.  Add weak_alias and libc_hidden_def.
56484         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56486 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56488         * mach/err_boot.sub: Remove trailing whitespace.
56489         * mach/err_ipc.sub: Likewise.
56490         * mach/err_mach.sub: Likewise.
56492         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56493         (ROUNDING_TESTS_double): Likewise.
56494         (ROUNDING_TESTS_long_double): Likewise.
56495         (ROUNDING_TESTS): Likewise.
56496         * math/libm-test.inc: Include <math-tests.h>.
56497         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56498         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56499         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56500         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56502 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56504         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56505         of assigning.
56507 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56509         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56510         otherwise empty TRANS lines.
56511         * sysdeps/gnu/errlist.c: Regenerated.
56513         * catgets/gencat.c (error_print): Use (void) in function
56514         definition.
56515         * crypt/crypt_util.c (__init_des): Likewise.
56516         * crypt/speeds.c (Stop): Likewise.
56517         (main): Likewise.
56518         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56519         * inet/ruserpass.c (token): Likewise.
56520         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56521         * intl/localealias.c (extend_alias_table): Likewise.
56522         * intl/plural-exp.c (init_germanic_plural): Likewise.
56523         * libio/fcloseall.c (__fcloseall): Likewise.
56524         * libio/genops.c (_IO_flush_all): Likewise.
56525         (_IO_flush_all_linebuffered): Likewise.
56526         (_IO_cleanup): Likewise.
56527         (_IO_iter_begin): Likewise.
56528         (_IO_iter_end): Likewise.
56529         (_IO_list_lock): Likewise.
56530         (_IO_list_unlock): Likewise.
56531         (_IO_list_resetlock): Likewise.
56532         * libio/getchar.c (getchar): Likewise.
56533         * libio/getchar_u.c (getchar_unlocked): Likewise.
56534         * libio/getwchar.c (getwchar): Likewise.
56535         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56536         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56537         * login/getpt.c (__getpt): Likewise.
56538         * login/tst-utmp.c (main): Likewise.
56539         * malloc/hooks.c (__malloc_check_init): Likewise.
56540         * malloc/malloc.c (__malloc_stats): Likewise.
56541         * malloc/mtrace.c (tr_break): Likewise.
56542         (mtrace): Likewise.
56543         (muntrace): Likewise.
56544         * misc/fstab.c (endfsent): Likewise.
56545         * misc/getclktck.c (__getclktck): Likewise.
56546         * misc/getdtsz.c (__getdtablesize): Likewise.
56547         * misc/gethostid.c (gethostid): Likewise.
56548         * misc/getpagesize.c (__getpagesize): Likewise.
56549         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56550         (__get_nprocs): Likewise.
56551         (__get_phys_pages): Likewise.
56552         (__get_avphys_pages): Likewise.
56553         * misc/getttyent.c (getttyent): Likewise.
56554         (setttyent): Likewise.
56555         (endttyent): Likewise.
56556         * misc/getusershell.c (getusershell): Likewise.
56557         (endusershell): Likewise.
56558         (setusershell): Likewise.
56559         (initshells): Likewise.
56560         * misc/hsearch.c (__hdestroy): Likewise.
56561         * misc/sync.c (sync): Likewise.
56562         * misc/syslog.c (closelog_internal): Likewise.
56563         (closelog): Likewise.
56564         * misc/ttyslot.c (ttyslot): Likewise.
56565         * misc/vhangup.c (vhangup): Likewise.
56566         * posix/fork.c (__fork): Likewise.
56567         * posix/getegid.c (__getegid): Likewise.
56568         * posix/geteuid.c (__geteuid): Likewise.
56569         * posix/getgid.c (__getgid): Likewise.
56570         * posix/getpid.c (__getpid): Likewise.
56571         * posix/getppid.c (__getppid): Likewise.
56572         * posix/getuid.c (__getuid): Likewise.
56573         * posix/pause.c (pause): Likewise.
56574         * posix/setpgrp.c (setpgrp): Likewise.
56575         * posix/setsid.c (__setsid): Likewise.
56576         * posix/test-vfork.c (noop): Likewise.
56577         * resolv/gethnamaddr.c (_endhtent): Likewise.
56578         (_gethtent): Likewise.
56579         (ht_endhostent): Likewise.
56580         (gethostent): Likewise.
56581         (dns_service): Likewise.
56582         * stdlib/drand48.c (drand48): Likewise.
56583         * stdlib/lrand48.c (lrand48): Likewise.
56584         * stdlib/mrand48.c (mrand48): Likewise.
56585         * stdlib/rand.c (rand): Likewise.
56586         * stdlib/random.c (__random): Likewise.
56587         * stdlib/setenv.c (clearenv): Likewise.
56588         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56589         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56590         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56591         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56592         (__get_nprocs): Likewise.
56593         (__get_phys_pages): Likewise.
56594         (__get_avphys_pages): Likewise.
56595         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56596         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56597         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56598         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56599         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56600         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56601         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56602         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56603         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56604         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56605         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56606         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56607         * sysdeps/posix/clock.c (clock): Likewise.
56608         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56609         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56610         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56611         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56612         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56614         (__get_nprocs_conf): Likewise.
56615         (__get_phys_pages): Likewise.
56616         (__get_avphys_pages): Likewise.
56617         * time/clock.c (clock): Likewise.
56618         * time/tzset.c (__tzname_max): Likewise.
56620 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56622         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56623         (__bswap_32): Do not use "register".
56624         * crypt/crypt.c (_ufc_doit_r): Likewise.
56625         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56626         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56627         * gmon/gmon.c (__monstartup): Likewise.
56628         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56629         * hurd/hurdmalloc.c (more_memory): Likewise.
56630         (malloc): Likewise.
56631         (free): Likewise.
56632         (realloc): Likewise.
56633         (malloc_fork_prepare): Likewise.
56634         (malloc_fork_parent): Likewise.
56635         (malloc_fork_child): Likewise.
56636         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56637         (_svcauth_des): Likewise.
56638         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56639         * inet/inet_net.c (inet_network): Likewise.
56640         * inet/inet_netof.c (inet_netof): Likewise.
56641         * inet/rcmd.c (__validuser2_sa): Likewise.
56642         * io/fts.c (fts_open): Likewise.
56643         (fts_load): Likewise.
56644         (fts_close): Likewise.
56645         (fts_read): Likewise.
56646         (fts_children): Likewise.
56647         (fts_build): Likewise.
56648         (fts_stat): Likewise.
56649         (fts_sort): Likewise.
56650         (fts_alloc): Likewise.
56651         (fts_lfree): Likewise.
56652         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56653         (_IO_file_xsgetn): Likewise.
56654         (_IO_file_xsgetn_mmap): Likewise.
56655         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56656         (_IO_cookie_write): Likewise.
56657         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56658         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56659         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56660         * malloc/obstack.c (_obstack_begin): Likewise.
56661         (_obstack_begin_1): Likewise.
56662         (_obstack_newchunk): Likewise.
56663         (_obstack_allocated_p): Likewise.
56664         (obstack_free): Likewise.
56665         (_obstack_memory_used): Likewise.
56666         * misc/getttyent.c (getttynam): Likewise.
56667         (getttyent): Likewise.
56668         (skip): Likewise.
56669         (value): Likewise.
56670         * misc/getusershell.c (initshells): Likewise.
56671         * misc/syslog.c (__vsyslog_chk): Likewise.
56672         * misc/ttyslot.c (ttyslot): Likewise.
56673         * nis/nis_hash.c (__nis_hash): Likewise.
56674         * posix/fnmatch_loop.c (FCT): Likewise.
56675         * posix/getconf.c (print_all): Likewise.
56676         (main): Likewise.
56677         * posix/getopt.c (exchange): Likewise.
56678         * posix/glob.c (globfree): Likewise.
56679         (prefix_array): Likewise.
56680         (__glob_pattern_type): Likewise.
56681         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56682         (NS_GET32): Likewise.
56683         (NS_PUT16): Likewise.
56684         (NS_PUT32): Likewise.
56685         * resolv/gethnamaddr.c (getanswer): Likewise.
56686         (gethostbyname2): Likewise.
56687         (gethostbyaddr): Likewise.
56688         (_gethtent): Likewise.
56689         (_gethtbyname2): Likewise.
56690         (_gethtbyaddr): Likewise.
56691         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56692         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56693         * resolv/res_init.c (__res_vinit): Likewise.
56694         (net_mask): Likewise.
56695         * resolv/res_mkquery.c (outchar): Likewise.
56696         (PRINT): Likewise.
56697         * stdio-common/printf_fp.c (outchar): Likewise.
56698         (PRINT): Likewise.
56699         * stdio-common/printf_fphex.c (outchar): Likewise.
56700         (PRINT): Likewise.
56701         * stdio-common/printf_size.c (outchar): Likewise.
56702         (PRINT): Likewise.
56703         * stdio-common/test_rdwr.c (main): Likewise.
56704         * stdio-common/tfformat.c (matches): Likewise.
56705         * stdio-common/vfprintf.c (outchar): Likewise.
56706         (printf_unknown): Likewise.
56707         (buffered_vfprintf): Likewise.
56708         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56709         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56710         (ReadFile): Likewise.
56711         * stdlib/qsort.c (SWAP): Likewise.
56712         (_quicksort): Likewise.
56713         * stdlib/setenv.c (__add_to_environ): Likewise.
56714         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56715         * stdlib/strtol_l.c (__strtol_l): Likewise.
56716         * stdlib/tst-strtod.c (main): Likewise.
56717         * stdlib/tst-strtol.c (main): Likewise.
56718         * stdlib/tst-strtoll.c (main): Likewise.
56719         * string/bits/string2.h (__strcmp_cc): Likewise.
56720         (__strcmp_cg): Likewise.
56721         (__strcspn_c1): Likewise.
56722         (__strcspn_c2): Likewise.
56723         (__strcspn_c3): Likewise.
56724         (__strspn_c1): Likewise.
56725         (__strspn_c2): Likewise.
56726         (__strspn_c3): Likewise.
56727         (__strsep_1c): Likewise.
56728         (__strsep_2c): Likewise.
56729         (__strsep_3c): Likewise.
56730         * string/memccpy.c (__memccpy): Likewise.
56731         * string/stpcpy.c (__stpcpy): Likewise.
56732         * string/strcmp.c (strcmp): Likewise.
56733         * string/strrchr.c (strrchr): Likewise.
56734         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56735         Likewise.
56736         * sysdeps/mach/hurd/getcwd.c
56737         (_hurd_canonicalize_directory_name_internal): Likewise.
56738         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56739         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56740         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56741         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56742         Likewise, in both definitions.
56743         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56744         definitions.
56745         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56746         64] (__bswap_64): Likewise.
56747         * time/test_time.c (main): Likewise.
56748         * time/tzfile.c (__tzfile_read): Likewise.
56749         (__tzfile_compute): Likewise.
56750         * time/tzset.c (__tzset_parse_tz): Likewise.
56751         (tzset_internal): Likewise.
56752         (compute_change): Likewise.
56753         * wcsmbs/wcscat.c (__wcscat): Likewise.
56754         * wcsmbs/wcschr.c (wcschr): Likewise.
56755         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56756         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56757         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56758         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56759         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56760         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56761         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56762         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56763         * wcsmbs/wmemset.c (wmemset): Likewise.
56765 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56767         * scripts/config.guess: Update to version 2013-05-16.
56768         * scripts/config.sub: Update to version 2013-04-24.
56769         * scripts/install-sh: Update to version 2011-11-20.07.
56770         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56771         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56773 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56775         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56776         * elf/sln.c: Likewise.
56777         * hurd/hurd/ioctl.h: Likewise.
56778         * hurd/hurdmalloc.c: Likewise.
56779         * hurd/xattr.c: Likewise.
56780         * include/shlib-compat.h: Likewise.
56781         * inet/ruserpass.c: Likewise.
56782         * libio/iofgets_u.c: Likewise.
56783         * libio/iofgetws_u.c: Likewise.
56784         * locale/programs/ld-identification.c: Likewise.
56785         * locale/programs/ld-time.c: Likewise.
56786         * mach/msg-destroy.c: Likewise.
56787         * nss/nss_files/files-netgrp.c: Likewise.
56788         * resolv/res_data.c: Likewise.
56789         * soft-fp/op-1.h: Likewise.
56790         * soft-fp/op-2.h: Likewise.
56791         * soft-fp/op-4.h: Likewise.
56792         * soft-fp/op-common.h: Likewise.
56793         * stdio-common/printf_fphex.c: Likewise.
56794         * stdlib/strtod_l.c: Likewise.
56795         * sunrpc/rpc/clnt.h: Likewise.
56796         * sysdeps/generic/framestate.c: Likewise.
56797         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56798         * sysdeps/i386/bsd-setjmp.S: Likewise.
56799         * sysdeps/i386/__longjmp.S: Likewise.
56800         * sysdeps/i386/setjmp.S: Likewise.
56801         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56802         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56803         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56804         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56806         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56808         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56809         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56810         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56811         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56812         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56813         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56814         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56815         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56817         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56818         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56819         * sysdeps/ieee754/support.c: Likewise.
56820         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56821         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56822         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56823         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56824         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56825         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56826         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56827         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56828         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56829         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56830         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56831         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56832         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56833         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56834         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56835         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56836         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56839 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56841         * posix/transbug.c: Remove executable mode.
56843 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56845         * crypt/speeds.c: Remove trailing whitespace.
56846         * dlfcn/default.c: Likewise.
56847         * elf/ifuncdep2.c: Likewise.
56848         * elf/ifuncmain1.c: Likewise.
56849         * elf/ifuncmain1vis.c: Likewise.
56850         * elf/testobj.h: Likewise.
56851         * elf/tst-stackguard1.c: Likewise.
56852         * gmon/sys/gmon.h: Likewise.
56853         * hurd/hurdmsg.c: Likewise.
56854         * hurd/new-fd.c: Likewise.
56855         * hurd/ports-get.c: Likewise.
56856         * iconvdata/ibm1008_420.c: Likewise.
56857         * inet/tst-getni1.c: Likewise.
56858         * inet/tst-getni2.c: Likewise.
56859         * libio/ioungetc.c: Likewise.
56860         * libio/wfiledoalloc.c: Likewise.
56861         * manual/libm-err-tab.pl: Likewise.
56862         * math/w_dremf.c: Likewise.
56863         * misc/ftruncate.c: Likewise.
56864         * posix/bug-glob2.c: Likewise.
56865         * posix/tst-pcre.c: Likewise.
56866         * posix/wait4.c: Likewise.
56867         * resolv/README: Likewise.
56868         * resolv/res_debug.h: Likewise.
56869         * resolv/tst-inet_ntop.c: Likewise.
56870         * setjmp/bug269-setjmp.c: Likewise.
56871         * soft-fp/extended.h: Likewise.
56872         * soft-fp/op-1.h: Likewise.
56873         * soft-fp/op-2.h: Likewise.
56874         * soft-fp/op-4.h: Likewise.
56875         * soft-fp/op-8.h: Likewise.
56876         * soft-fp/testit.c: Likewise.
56877         * stdio-common/bug16.c: Likewise.
56878         * stdlib/random.c: Likewise.
56879         * sunrpc/rpcsvc/rquota.x: Likewise.
56880         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
56881         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56882         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56883         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56884         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56885         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56886         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56887         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56888         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56889         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56890         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56891         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56892         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56893         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56894         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56895         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56896         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56897         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56898         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56899         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56900         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56901         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56902         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
56903         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56904         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56905         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56906         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56908         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56909         * sysdeps/ieee754/s_lib_version.c: Likewise.
56910         * sysdeps/mach/hurd/check_fds.c: Likewise.
56911         * sysdeps/mach/hurd/getsockname.c: Likewise.
56912         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
56913         * sysdeps/mach/hurd/recvfrom.c: Likewise.
56914         * sysdeps/powerpc/bits/link.h: Likewise.
56915         * sysdeps/powerpc/dl-procinfo.c: Likewise.
56916         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
56917         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
56918         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
56919         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56920         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56921         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
56922         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56923         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
56924         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56925         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
56926         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56927         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
56928         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56929         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56930         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56931         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56932         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56933         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56934         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56935         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56936         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
56937         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56938         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56939         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
56940         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56941         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56942         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56943         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56944         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56945         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56946         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56947         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56948         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56949         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
56950         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56951         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
56952         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56953         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
56954         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
56955         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
56956         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
56957         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
56958         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
56959         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56960         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
56961         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
56962         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56963         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
56964         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
56965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56966         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56967         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56968         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56969         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
56970         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
56971         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
56972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56973         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
56974         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
56975         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
56976         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
56977         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
56978         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56979         * sysdeps/powerpc/sysdep.h: Likewise.
56980         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56981         * sysdeps/s390/s390-64/sub_n.S: Likewise.
56982         * sysdeps/sh/dl-trampoline.S: Likewise.
56983         * sysdeps/sh/memset.S: Likewise.
56984         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
56985         * sysdeps/sh/strlen.S: Likewise.
56986         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
56987         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
56988         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
56989         * sysdeps/sparc/sparc32/rem.S: Likewise.
56990         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
56991         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
56992         * sysdeps/sparc/sparc32/strchr.S: Likewise.
56993         * sysdeps/sparc/sparc32/udiv.S: Likewise.
56994         * sysdeps/sparc/sparc32/urem.S: Likewise.
56995         * sysdeps/sparc/sparc64/add_n.S: Likewise.
56996         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
56997         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
56998         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
56999         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57000         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57001         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57002         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57003         * sysdeps/unix/bsd/times.c: Likewise.
57004         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57005         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57009         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57010         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57011         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57012         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57013         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57014         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57015         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57016         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57017         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57018         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57019         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57020         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57021         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57022         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57023         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57024         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57025         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57026         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57027         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57028         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57029         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57030         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57031         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57032         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57033         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57034         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57035         * sysdeps/x86_64/strcspn.S: Likewise.
57037 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57039         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57040         generated file.  Regenerate properly from gen-translit.pl.
57041         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57042         locale/C-translit.h.
57044 2013-06-05  Andreas Schwab  <schwab@suse.de>
57046         [BZ #15100]
57047         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57048         week as 6 instead of -1.
57049         * time/tst-strptime.c (day_tests): Add test case.
57051 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57053         * sysdeps/generic/math_private.h
57054         (libc_feholdexcept_setround_53bit): Replace with
57055         libc_feholdsetround_53bit.
57056         (libc_feupdateenv_53bit): Replace with
57057         libc_feresetround_53bit.
57058         (SET_RESTORE_ROUND_53BIT): Adjust.
57060 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57062         * string/test-strchrnul.c: Add copyright header.
57064         * posix/tst-getaddrinfo4.c: Increase test timeout.
57066 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57068         [BZ #15536]
57069         * math/libm-test.inc (MAX_EXP): Remove
57070         (MIN_EXP): Define.
57071         (ulp): Use MIN_EXP - MANT_DIG.
57072         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57074 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57076         * po/be.po: Revert last change.
57077         * po/zh_CN.po: Likewise.
57078         * po/header.pot: Likewise.
57080 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57082         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57083         link-libc-deps to empty as target-specific variable.
57084         * Makerules (link-libc-args): New variable.
57085         (libc-for-link): Likewise.
57086         (link-libc-deps): Likewise.
57087         (lib%.so): Depend on $(link-libc-deps).  Link with
57088         $(link-libc-args).
57089         (build-module): Link with $(link-libc-args).
57090         (build-module-asneeded): Likewise.
57091         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57092         list of objects.
57093         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57094         target-specific variable.
57095         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57096         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57097         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57098         libc.
57099         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57100         libc and ld.so.
57101         ($(objpfx)libpcprofile.so): Likewise.
57102         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57103         libc_nonshared.a.
57104         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57105         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57106         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57107         $(link-libc-deps).
57108         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57109         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57110         * login/Makefile ($(objpfx)libutil.so): Likewise.
57111         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57112         * math/Makefile ($(objpfx)libm.so): Likewise.
57113         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57114         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57115         variable instead of depending directly on libc.
57116         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57117         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57118         $(link-libc-deps).
57119         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57120         libc.
57121         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57122         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57123         ($(objpfx)libanl.so): Likewise.
57124         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57125         ld.so.
57126         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57127         $(link-libc-deps).
57128         * sysdeps/i386/fpu/Makefile: Remove file.
57129         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57130         ($(objpfx)libm.so): Remove dependency on ld.so.
57132 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57134         [BZ # 15553]
57135         * nis/yp_xdr.c (XDRMAXNAME): Define.
57136         (XDRMAXRECORD): Define.
57137         (xdr_domainname): Use XDRMAXNAME.
57138         (xdr_mapname): Likewise.
57139         (xdr_peername): Likewise.
57140         (xdr_keydat): Use XDRMAXRECORD.
57141         (xdr_valdat): Likewise.
57143 2013-05-30  Jeff Law  <law@redhat.com>
57145         [BZ #14256]
57146         * manual/errno.texi (ESTALE): Update to account for more than
57147         just NFS file systems.
57148         * sysdeps/gnu/errlist.c: Regenerated.
57150 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57152         [BZ #15465]
57153         * elf/Makefile (tests): Add tst-null-argv.
57154         (modules-names):  Add tst-null-argv-lib.
57155         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57156         (tst-null-argv-ENV): Set environment for tst-null-argv.
57157         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57158         (RTLD_PROGNAME): New macro.
57159         * elf/tst-null-argv.c: New test case.
57160         * elf/tst-null-argv-lib.c: Library for test case.
57161         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57162         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57163         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57164         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57165         * elf/dl-init.c (call_init): Likewise.
57166         (_dl_init): Likewise.
57167         * elf/dl-load.c (print_search_path): Likewise.
57168         (_dl_map_object): Likewise.
57169         * elf/dl-lookup.c (do_lookup_x): Likewise.
57170         (add_dependency): Likewise.
57171         (_dl_lookup_symbol_x): Likewise.
57172         (_dl_debug_bindings): Likewise.
57173         * elf/dl-open.c (_dl_show_scope): Likewise.
57174         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57175         * elf/dl-version.c (match_symbol): Likewise.
57176         (_dl_check_map_versions): Likewise.
57177         * elf/rtld.c (dl_main): Likewise.
57178         (print_unresolved): Use RTLD_PROGNAME.
57179         (print_missing_version): Likewise.
57180         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57181         (elf_machine_rela): Likewise.
57182         * sysdeps/powerpc/powerpc32/dl-machine.c
57183         (__process_machine_rela): Likewise.
57184         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57185         Likewise.
57186         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57187         Likewise.
57188         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
57189         Likewise.
57190         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57191         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
57192         Likewise.
57193         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
57194         Likewise.
57195         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57197 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
57199         * po/be.po: Add descriptive title.
57200         * po/zh_CN.po: Likewise.
57201         * po/header.pot: Likewise.
57203 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
57205         * locale/programs/locarchive.c (create_archive): Inlucde fname in
57206         error message.
57207         (enlarge_archive): Likewise.
57209 2013-05-28  Ben North  <ben@redfrontdoor.org>
57211         * manual/arith.texi (frexp): It is the magnitude of the return
57212         value which lies in [0.5, 1), not the return value itself.
57214 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57218 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
57220         * stdio-common/bug26.c (main): Correct fscanf template.
57222         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
57223         declare _dl_skip_args.
57225         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
57226         Don't declare.
57228         * manual/platform.texi: Add missing @end deftypefun.
57230 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57232         [BZ #15529]
57233         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
57234         bit of mantissa of 2^16382.
57235         * math/libm-test.inc (hypot_test_data): Add more tests.
57237         * math/libm-test.inc: Add drem and pow10 to list of tested
57238         functions.
57239         (pow10_test): New function.
57240         (drem_test): Likewise.
57241         (drem_test_tonearest): Likewise.
57242         (drem_test_towardzero): Likewise.
57243         (drem_test_downward): Likewise.
57244         (drem_test_upward): Likewise.
57245         (main): Call the new functions.
57247         * math/libm-test.inc (finite_test_data): Remove.
57248         (finite_test): Run tests from isfinite_test_data.
57249         (gamma_test_data): Remove.
57250         (gamma_test): Run tests from lgamma_test_data.
57251         * sysdeps/i386/fpu/libm-test-ulps: Update.
57252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57254 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57256         * manual/platform.texi: Add PowerPC PPR function set documentation.
57257         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
57258         implementation.
57260 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57262         * math/libm-test.inc (MAX_EXP): Define.
57263         (ULPDIFF): Define.
57264         (ulp): New function.
57265         (check_float_internal): Use ULPDIFF.
57266         (cpow_test): Disable failing test.
57267         (check_ulp): Test ulp() implementation.
57268         (main): Call check_ulp before starting tests.
57270 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57272         * math/gen-libm-test.pl (generate_testfile): Do not handle
57273         START_DATA and END_DATA.
57274         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57275         END_DATA.
57276         (acos_tonearest_test_data): Likewise.
57277         (acos_towardzero_test_data): Likewise.
57278         (acos_downward_test_data): Likewise.
57279         (acos_upward_test_data): Likewise.
57280         (acosh_test_data): Likewise.
57281         (asin_test_data): Likewise.
57282         (asin_tonearest_test_data): Likewise.
57283         (asin_towardzero_test_data): Likewise.
57284         (asin_downward_test_data): Likewise.
57285         (asin_upward_test_data): Likewise.
57286         (asinh_test_data): Likewise.
57287         (atan_test_data): Likewise.
57288         (atanh_test_data): Likewise.
57289         (atan2_test_data): Likewise.
57290         (cabs_test_data): Likewise.
57291         (cacos_test_data): Likewise.
57292         (cacosh_test_data): Likewise.
57293         (carg_test_data): Likewise.
57294         (casin_test_data): Likewise.
57295         (casinh_test_data): Likewise.
57296         (catan_test_data): Likewise.
57297         (catanh_test_data): Likewise.
57298         (cbrt_test_data): Likewise.
57299         (ccos_test_data): Likewise.
57300         (ccosh_test_data): Likewise.
57301         (ceil_test_data): Likewise.
57302         (cexp_test_data): Likewise.
57303         (cimag_test_data): Likewise.
57304         (clog_test_data): Likewise.
57305         (clog10_test_data): Likewise.
57306         (conj_test_data): Likewise.
57307         (copysign_test_data): Likewise.
57308         (cos_test_data): Likewise.
57309         (cos_tonearest_test_data): Likewise.
57310         (cos_towardzero_test_data): Likewise.
57311         (cos_downward_test_data): Likewise.
57312         (cos_upward_test_data): Likewise.
57313         (cosh_test_data): Likewise.
57314         (cosh_tonearest_test_data): Likewise.
57315         (cosh_towardzero_test_data): Likewise.
57316         (cosh_downward_test_data): Likewise.
57317         (cosh_upward_test_data): Likewise.
57318         (cpow_test_data): Likewise.
57319         (cproj_test_data): Likewise.
57320         (creal_test_data): Likewise.
57321         (csin_test_data): Likewise.
57322         (csinh_test_data): Likewise.
57323         (csqrt_test_data): Likewise.
57324         (ctan_test_data): Likewise.
57325         (ctan_tonearest_test_data): Likewise.
57326         (ctan_towardzero_test_data): Likewise.
57327         (ctan_downward_test_data): Likewise.
57328         (ctan_upward_test_data): Likewise.
57329         (ctanh_test_data): Likewise.
57330         (ctanh_tonearest_test_data): Likewise.
57331         (ctanh_towardzero_test_data): Likewise.
57332         (ctanh_downward_test_data): Likewise.
57333         (ctanh_upward_test_data): Likewise.
57334         (erf_test_data): Likewise.
57335         (erfc_test_data): Likewise.
57336         (exp_test_data): Likewise.
57337         (exp_tonearest_test_data): Likewise.
57338         (exp_towardzero_test_data): Likewise.
57339         (exp_downward_test_data): Likewise.
57340         (exp_upward_test_data): Likewise.
57341         (exp10_test_data): Likewise.
57342         (exp2_test_data): Likewise.
57343         (expm1_test_data): Likewise.
57344         (fabs_test_data): Likewise.
57345         (fdim_test_data): Likewise.
57346         (finite_test_data): Likewise.
57347         (floor_test_data): Likewise.
57348         (fma_test_data): Likewise.
57349         (fma_towardzero_test_data): Likewise.
57350         (fma_downward_test_data): Likewise.
57351         (fma_upward_test_data): Likewise.
57352         (fmax_test_data): Likewise.
57353         (fmin_test_data): Likewise.
57354         (fmod_test_data): Likewise.
57355         (fpclassify_test_data): Likewise.
57356         (frexp_test_data): Likewise.
57357         (gamma_test_data): Likewise.
57358         (hypot_test_data): Likewise.
57359         (ilogb_test_data): Likewise.
57360         (isfinite_test_data): Likewise.
57361         (isgreater_test_data): Likewise.
57362         (isgreaterequal_test_data): Likewise.
57363         (isinf_test_data): Likewise.
57364         (isless_test_data): Likewise.
57365         (islessequal_test_data): Likewise.
57366         (islessgreater_test_data): Likewise.
57367         (isnan_test_data): Likewise.
57368         (isnormal_test_data): Likewise.
57369         (issignaling_test_data): Likewise.
57370         (isunordered_test_data): Likewise.
57371         (j0_test_data): Likewise.
57372         (j1_test_data): Likewise.
57373         (jn_test_data): Likewise.
57374         (ldexp_test_data): Likewise.
57375         (lgamma_test_data): Likewise.
57376         (lrint_test_data): Likewise.
57377         (lrint_tonearest_test_data): Likewise.
57378         (lrint_towardzero_test_data): Likewise.
57379         (lrint_downward_test_data): Likewise.
57380         (lrint_upward_test_data): Likewise.
57381         (llrint_test_data): Likewise.
57382         (llrint_tonearest_test_data): Likewise.
57383         (llrint_towardzero_test_data): Likewise.
57384         (llrint_downward_test_data): Likewise.
57385         (llrint_upward_test_data): Likewise.
57386         (log_test_data): Likewise.
57387         (log10_test_data): Likewise.
57388         (log1p_test_data): Likewise.
57389         (log2_test_data): Likewise.
57390         (logb_test_data): Likewise.
57391         (logb_downward_test_data): Likewise.
57392         (lround_test_data): Likewise.
57393         (llround_test_data): Likewise.
57394         (modf_test_data): Likewise.
57395         (nearbyint_test_data): Likewise.
57396         (nextafter_test_data): Likewise.
57397         (nexttoward_test_data): Likewise.
57398         (pow_test_data): Likewise.
57399         (pow_tonearest_test_data): Likewise.
57400         (pow_towardzero_test_data): Likewise.
57401         (pow_downward_test_data): Likewise.
57402         (pow_upward_test_data): Likewise.
57403         (remainder_test_data): Likewise.
57404         (remainder_tonearest_test_data): Likewise.
57405         (remainder_towardzero_test_data): Likewise.
57406         (remainder_downward_test_data): Likewise.
57407         (remainder_upward_test_data): Likewise.
57408         (remquo_test_data): Likewise.
57409         (rint_test_data): Likewise.
57410         (rint_tonearest_test_data): Likewise.
57411         (rint_towardzero_test_data): Likewise.
57412         (rint_downward_test_data): Likewise.
57413         (rint_upward_test_data): Likewise.
57414         (round_test_data): Likewise.
57415         (scalb_test_data): Likewise.
57416         (scalbn_test_data): Likewise.
57417         (scalbln_test_data): Likewise.
57418         (signbit_test_data): Likewise.
57419         (sin_test_data): Likewise.
57420         (sin_tonearest_test_data): Likewise.
57421         (sin_towardzero_test_data): Likewise.
57422         (sin_downward_test_data): Likewise.
57423         (sin_upward_test_data): Likewise.
57424         (sincos_test_data): Likewise.
57425         (sinh_test_data): Likewise.
57426         (sinh_tonearest_test_data): Likewise.
57427         (sinh_towardzero_test_data): Likewise.
57428         (sinh_downward_test_data): Likewise.
57429         (sinh_upward_test_data): Likewise.
57430         (sqrt_test_data): Likewise.
57431         (tan_test_data): Likewise.
57432         (tan_tonearest_test_data): Likewise.
57433         (tan_towardzero_test_data): Likewise.
57434         (tan_downward_test_data): Likewise.
57435         (tan_upward_test_data): Likewise.
57436         (tanh_test_data): Likewise.
57437         (tgamma_test_data): Likewise.
57438         (trunc_test_data): Likewise.
57439         (y0_test_data): Likewise.
57440         (y1_test_data): Likewise.
57441         (yn_test_data): Likewise.
57442         (significand_test_data): Likewise.
57444         * math/gen-libm-test.pl (@functions): Remove variable.
57445         (generate_testfile): Don't handle START and END lines.
57446         * math/libm-test.inc (START): New macro.
57447         (END): Likewise.
57448         (END_COMPLEX): Likewise.
57449         (acos_test): Use END macro without arguments.
57450         (acos_test_tonearest): Likewise.
57451         (acos_test_towardzero): Likewise.
57452         (acos_test_downward): Likewise.
57453         (acos_test_upward): Likewise.
57454         (acosh_test): Likewise.
57455         (asin_test): Likewise.
57456         (asin_test_tonearest): Likewise.
57457         (asin_test_towardzero): Likewise.
57458         (asin_test_downward): Likewise.
57459         (asin_test_upward): Likewise.
57460         (asinh_test): Likewise.
57461         (atan_test): Likewise.
57462         (atanh_test): Likewise.
57463         (atan2_test): Likewise.
57464         (cabs_test): Likewise.
57465         (cacos_test): Use END_COMPLEX macro without arguments.
57466         (cacosh_test): Likewise.
57467         (carg_test): Use END macro without arguments.
57468         (casin_test): Use END_COMPLEX macro without arguments.
57469         (casinh_test): Likewise.
57470         (catan_test): Likewise.
57471         (catanh_test): Likewise.
57472         (cbrt_test): Use END macro without arguments.
57473         (ccos_test): Use END_COMPLEX macro without arguments.
57474         (ccosh_test): Likewise.
57475         (ceil_test): Use END macro without arguments.
57476         (cexp_test): Use END_COMPLEX macro without arguments.
57477         (cimag_test): Use END macro without arguments.
57478         (clog_test): Use END_COMPLEX macro without arguments.
57479         (clog10_test): Likewise.
57480         (conj_test): Likewise.
57481         (copysign_test): Use END macro without arguments.
57482         (cos_test): Likewise.
57483         (cos_test_tonearest): Likewise.
57484         (cos_test_towardzero): Likewise.
57485         (cos_test_downward): Likewise.
57486         (cos_test_upward): Likewise.
57487         (cosh_test): Likewise.
57488         (cosh_test_tonearest): Likewise.
57489         (cosh_test_towardzero): Likewise.
57490         (cosh_test_downward): Likewise.
57491         (cosh_test_upward): Likewise.
57492         (cpow_test): Use END_COMPLEX macro without arguments.
57493         (cproj_test): Likewise.
57494         (creal_test): Use END macro without arguments.
57495         (csin_test): Use END_COMPLEX macro without arguments.
57496         (csinh_test): Likewise.
57497         (csqrt_test): Likewise.
57498         (ctan_test): Likewise.
57499         (ctan_test_tonearest): Likewise.
57500         (ctan_test_towardzero): Likewise.
57501         (ctan_test_downward): Likewise.
57502         (ctan_test_upward): Likewise.
57503         (ctanh_test): Likewise.
57504         (ctanh_test_tonearest): Likewise.
57505         (ctanh_test_towardzero): Likewise.
57506         (ctanh_test_downward): Likewise.
57507         (ctanh_test_upward): Likewise.
57508         (erf_test): Use END macro without arguments.
57509         (erfc_test): Likewise.
57510         (exp_test): Likewise.
57511         (exp_test_tonearest): Likewise.
57512         (exp_test_towardzero): Likewise.
57513         (exp_test_downward): Likewise.
57514         (exp_test_upward): Likewise.
57515         (exp10_test): Likewise.
57516         (exp2_test): Likewise.
57517         (expm1_test): Likewise.
57518         (fabs_test): Likewise.
57519         (fdim_test): Likewise.
57520         (finite_test): Likewise.
57521         (floor_test): Likewise.
57522         (fma_test): Likewise.
57523         (fma_test_towardzero): Likewise.
57524         (fma_test_downward): Likewise.
57525         (fma_test_upward): Likewise.
57526         (fmax_test): Likewise.
57527         (fmin_test): Likewise.
57528         (fmod_test): Likewise.
57529         (fpclassify_test): Likewise.
57530         (frexp_test): Likewise.
57531         (gamma_test): Likewise.
57532         (hypot_test): Likewise.
57533         (ilogb_test): Likewise.
57534         (isfinite_test): Likewise.
57535         (isgreater_test): Likewise.
57536         (isgreaterequal_test): Likewise.
57537         (isinf_test): Likewise.
57538         (isless_test): Likewise.
57539         (islessequal_test): Likewise.
57540         (islessgreater_test): Likewise.
57541         (isnan_test): Likewise.
57542         (isnormal_test): Likewise.
57543         (issignaling_test): Likewise.
57544         (isunordered_test): Likewise.
57545         (j0_test): Likewise.
57546         (j1_test): Likewise.
57547         (jn_test): Likewise.
57548         (ldexp_test): Likewise.
57549         (lgamma_test): Likewise.
57550         (lrint_test): Likewise.
57551         (lrint_test_tonearest): Likewise.
57552         (lrint_test_towardzero): Likewise.
57553         (lrint_test_downward): Likewise.
57554         (lrint_test_upward): Likewise.
57555         (llrint_test): Likewise.
57556         (llrint_test_tonearest): Likewise.
57557         (llrint_test_towardzero): Likewise.
57558         (llrint_test_downward): Likewise.
57559         (llrint_test_upward): Likewise.
57560         (log_test): Likewise.
57561         (log10_test): Likewise.
57562         (log1p_test): Likewise.
57563         (log2_test): Likewise.
57564         (logb_test): Likewise.
57565         (logb_test_downward): Likewise.
57566         (lround_test): Likewise.
57567         (llround_test): Likewise.
57568         (modf_test): Likewise.
57569         (nearbyint_test): Likewise.
57570         (nextafter_test): Likewise.
57571         (nexttoward_test): Likewise.
57572         (pow_test): Likewise.
57573         (pow_test_tonearest): Likewise.
57574         (pow_test_towardzero): Likewise.
57575         (pow_test_downward): Likewise.
57576         (pow_test_upward): Likewise.
57577         (remainder_test): Likewise.
57578         (remainder_test_tonearest): Likewise.
57579         (remainder_test_towardzero): Likewise.
57580         (remainder_test_downward): Likewise.
57581         (remainder_test_upward): Likewise.
57582         (remquo_test): Likewise.
57583         (rint_test): Likewise.
57584         (rint_test_tonearest): Likewise.
57585         (rint_test_towardzero): Likewise.
57586         (rint_test_downward): Likewise.
57587         (rint_test_upward): Likewise.
57588         (round_test): Likewise.
57589         (scalb_test): Likewise.
57590         (scalbn_test): Likewise.
57591         (scalbln_test): Likewise.
57592         (signbit_test): Likewise.
57593         (sin_test): Likewise.
57594         (sin_test_tonearest): Likewise.
57595         (sin_test_towardzero): Likewise.
57596         (sin_test_downward): Likewise.
57597         (sin_test_upward): Likewise.
57598         (sincos_test): Likewise.
57599         (sinh_test): Likewise.
57600         (sinh_test_tonearest): Likewise.
57601         (sinh_test_towardzero): Likewise.
57602         (sinh_test_downward): Likewise.
57603         (sinh_test_upward): Likewise.
57604         (sqrt_test): Likewise.
57605         (tan_test): Likewise.
57606         (tan_test_tonearest): Likewise.
57607         (tan_test_towardzero): Likewise.
57608         (tan_test_downward): Likewise.
57609         (tan_test_upward): Likewise.
57610         (tanh_test): Likewise.
57611         (tgamma_test): Likewise.
57612         (trunc_test): Likewise.
57613         (y0_test): Likewise.
57614         (y1_test): Likewise.
57615         (yn_test): Likewise.
57616         (significand_test): Likewise.
57618 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57620         [BZ #15381]
57621         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57623 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57625         [BZ #14894]
57626         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57627         __ppc_mdoio and __ppc_mdoom.
57628         * manual/platform.texi: Document new functions __ppc_yield,
57629         __ppc_mdoio and __ppc_mdoom.
57631 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57633         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57634         (main): Mention "tls" pseudo-hwcap is legacy.
57635         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57637 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57639         * math/gen-libm-test.pl (parse_args): Output only string of
57640         arguments as text for test name, not full call or descriptions of
57641         tests for extra outputs.
57642         (generate_testfile): Do not pass function name to parse_args.
57643         Generate this_func variable from START.
57644         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57645         field to arg_str.
57646         (struct test_ff_f_data): Likewise.
57647         (test_ff_f_data_nexttoward): Likewise.
57648         (struct test_fi_f_data): Likewise.
57649         (struct test_fl_f_data): Likewise.
57650         (struct test_if_f_data): Likewise.
57651         (struct test_fff_f_data): Likewise.
57652         (struct test_c_f_data): Likewise.
57653         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57654         (struct test_fF_f1_data): Likewise.
57655         (struct test_ffI_f1_data): Likewise.
57656         (struct test_c_c_data): Rename test_name field to arg_str.
57657         (struct test_cc_c_data): Likewise.
57658         (struct test_f_i_data): Likewise.
57659         (struct test_ff_i_data): Likewise.
57660         (struct test_f_l_data): Likewise.
57661         (struct test_f_L_data): Likewise.
57662         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57663         and extra2_name.
57664         (COMMON_TEST_SETUP): New macro.
57665         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57666         (COMMON_TEST_CLEANUP): Likewise.
57667         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57668         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57669         macros.
57670         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57671         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57672         macros.
57673         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57674         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57675         cleanup macros.
57676         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57677         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57678         macros.
57679         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57680         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57681         macros.
57682         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57683         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57684         cleanup macros.
57685         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57686         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57687         cleanup macros.
57688         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57689         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57690         cleanup macros.
57691         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57692         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57693         macros.
57694         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57695         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57696         macros.
57697         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57698         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57699         macros.
57700         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57701         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57702         cleanup macros.
57703         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57704         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57705         cleanup macros.
57706         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57707         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57708         macros.
57709         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57710         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57711         cleanup macros.
57712         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57713         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57714         macros.
57715         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57716         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57717         macros.
57718         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57719         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57720         cleanup macros.
57721         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57723 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57725         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57726         to _sifields.sigfault.
57727         (si_addr_lsb): Define new macro.
57728         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57729         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57730         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57732 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57734         [BZ #15441]
57735         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57736         returns -1.
57737         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57738         null return -1.
57739         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57740         loading the domain.
57742 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57744         * math/gen-libm-test.pl (parse_args): Do not include expected
57745         result in test name.
57746         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57747         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57748         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57749         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57750         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57753 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57755         * benchtests/Makefile: Sort function entries.
57757         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57758         tanh, asinh, acosh, atanh.
57759         * benchtests/acos-inputs: New file.
57760         * benchtests/acosh-inputs: New file.
57761         * benchtests/asin-inputs: New file.
57762         * benchtests/asinh-inputs: New file.
57763         * benchtests/atanh-inputs: New file.
57764         * benchtests/cosh-inputs: New file.
57765         * benchtests/log-inputs: New file.
57766         * benchtests/sinh-inputs: New file.
57767         * benchtests/tanh-inputs: New file.
57769 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57771         [BZ #15339]
57772         * posix/tst-getaddrinfo4.c: New test.
57773         * posix/Makefile (tests): Add it.
57775 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57777         [BZ #15339]
57778         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57779         when no services were used.
57780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57781         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57783 2013-05-21  Andreas Schwab  <schwab@suse.de>
57785         [BZ #15014]
57786         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57787         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57788         successful.
57789         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57790         redundant variable declarations and reallocation of buffer when
57791         parsing as IPv6 address.  Always set NSS status when called from
57792         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57793         buffer too small.  Correct computation of needed size.
57794         * nss/Makefile (tests): Add test-digits-dots.
57795         * nss/test-digits-dots.c: New test.
57797 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57799         * benchtests/Makefile: Remove instructions for adding
57800         benchmark tests.
57801         * benchtests/README: New file to explain how to execute and
57802         enhance the benchmark tests.
57804 2013-05-21  Andreas Schwab  <schwab@suse.de>
57806         [BZ #15493]
57807         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57808         * setjmp/tst-sigsetjmp.c: New test.
57810 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57812         * sysdeps/x86_64/memset.S (memset): New implementation.
57813         (__bzero): Likewise.
57814         (__memset_tail): New function.
57816 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57818         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57819         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57820         __memcpy_sse2_unaligned ifunc selection.
57821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57822         Add memcpy-sse2-unaligned.S.
57823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57824         Add: __memcpy_sse2_unaligned.
57826 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57828         [BZ #15490]
57829         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57830         math_force_eval before restoring floating-point envrionment.
57831         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57832         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57833         Likewise.
57834         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57835         <math_private.h>.
57836         (__nearbyintl): Use math_force_eval before restoring
57837         floating-point environment.
57838         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57840         * math/gen-libm-test.pl (special_functions): Remove.
57841         (parse_args): Don't handle TEST_extra.  Handle functions with no
57842         return value.
57843         * math/libm-test.inc (struct test_sincos_data): Replace with
57844         struct test_fFF_11_data.
57845         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57846         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57847         (sincos_test_data): Change element type to struct
57848         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
57849         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57850         RUN_TEST_LOOP_sincos.
57851         * math/README.libm-test: Don't mention special handling of
57852         individual functions.
57853         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57854         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57855         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57856         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57857         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57860         * math/gen-libm-test.pl (get_variable): Remove function.
57861         (parse_args): Don't show pointer parameters to call in test
57862         names.  Use "extra output N" in test names for extra outputs
57863         rather than naming variables.
57865 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
57867         [BZ #15488]
57868         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57869         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57870         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57871         double tests.
57872         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
57873         disable.
57874         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
57875         check_long_double.
57877         * math/gen-libm-test.pl (@tests): Remove variable.
57878         ($count): Likewise.
57879         (new_test): Remove function.
57880         (show_exceptions): New function.
57881         (special_functions): Use show_exceptions instead of new_test.
57882         (parse_args): Likewise.
57883         (generate_testfile): Pass only function name in generated call to
57884         print_max_error or print_complex_max_error.
57885         (get_ulps): Do not handle complex tests specially.
57886         (output_test): Rename to ...
57887         (get_all_ulps_for_test): ... this.  Return a string rather than
57888         printing to a file.  Require ulps to be present.
57889         (output_ulps): Generate arrays rather than #defines.
57890         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
57891         (struct ulp_data): New type.
57892         (BUILD_COMPLEX_ULP): Remove macro.
57893         (compare_ulp_data): New function.
57894         (find_ulps): Likewise.
57895         (find_test_ulps): Likewise.
57896         (find_function_ulps): Likewise.
57897         (find_complex_function_ulps): Likewise.
57898         (print_max_error): Determine allowed ulps using
57899         find_function_ulps.
57900         (print_complex_max_error): Determine allowed ulps using
57901         find_complex_function_ulps.
57902         (check_float_internal): Determine max ulps using find_test_ulps.
57903         (check_float): Do not take max_ulp parameter.  Update call to
57904         check_float_internal.
57905         (check_complex): Likewise.
57906         (check_int): Do not take max_ulp parameter.
57907         (check_long): Likewise.
57908         (check_bool): Likewise.
57909         (check_longlong): Likewise.
57910         (struct test_f_f_data): Remove max_ulp field.
57911         (struct test_ff_f_data): Likewise.
57912         (struct test_ff_f_data_nexttoward): Likewise.
57913         (struct test_fi_f_data): Likewise.
57914         (struct test_fl_f_data): Likewise.
57915         (struct test_if_f_data): Likewise.
57916         (struct test_fff_f_data): Likewise.
57917         (struct test_c_f_data): Likewise.
57918         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
57919         (struct test_fF_f1_data): Likewise.
57920         (struct test_ffI_f1_data): Likewise.
57921         (struct test_c_c_data): Remove max_ulp field.
57922         (struct test_cc_c_data): Likewise.
57923         (struct test_f_i_data): Likewise.
57924         (struct test_ff_i_data): Likewise.
57925         (struct test_f_l_data): Likewise.
57926         (struct test_f_L_data): Likewise.
57927         (struct test_sincos_data): Likewise.
57928         (RUN_TEST_f_f): Do not handle ulps.
57929         (RUN_TEST_LOOP_f_f): Likewise.
57930         (RUN_TEST_2_f): Likewise.
57931         (RUN_TEST_LOOP_2_f): Likewise.
57932         (RUN_TEST_fff_f): Likewise.
57933         (RUN_TEST_LOOP_fff_f): Likewise.
57934         (RUN_TEST_c_f): Likewise.
57935         (RUN_TEST_LOOP_c_f): Likewise.
57936         (RUN_TEST_f_f1): Likewise.
57937         (RUN_TEST_LOOP_f_f1): Likewise.
57938         (RUN_TEST_fF_f1): Likewise.
57939         (RUN_TEST_LOOP_fF_f1): Likewise.
57940         (RUN_TEST_fI_f1): Likewise.
57941         (RUN_TEST_LOOP_fI_f1): Likewise.
57942         (RUN_TEST_ffI_f1): Likewise.
57943         (RUN_TEST_LOOP_ffI_f1): Likewise.
57944         (RUN_TEST_c_c): Likewise.
57945         (RUN_TEST_LOOP_c_c): Likewise.
57946         (RUN_TEST_cc_c): Likewise.
57947         (RUN_TEST_LOOP_cc_c): Likewise.
57948         (RUN_TEST_f_i): Likewise.
57949         (RUN_TEST_LOOP_f_i): Likewise.
57950         (RUN_TEST_f_i_tg): Likewise.
57951         (RUN_TEST_LOOP_f_i_tg): Likewise.
57952         (RUN_TEST_ff_i_tg): Likewise.
57953         (RUN_TEST_LOOP_ff_i_tg): Likewise.
57954         (RUN_TEST_f_b): Likewise.
57955         (RUN_TEST_LOOP_f_b): Likewise.
57956         (RUN_TEST_f_b_tg): Likewise.
57957         (RUN_TEST_LOOP_f_b_tg): Likewise.
57958         (RUN_TEST_f_l): Likewise.
57959         (RUN_TEST_LOOP_f_l): Likewise.
57960         (RUN_TEST_f_L): Likewise.
57961         (RUN_TEST_LOOP_f_L): Likewise.
57962         (RUN_TEST_sincos): Likewise.
57963         (RUN_TEST_LOOP_sincos): Likewise.
57965 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
57967         [BZ #15480]
57968         [BZ #15485]
57969         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
57970         main case of finite arguments, set rounding mode to FE_TONEAREST
57971         and discard exceptions.
57972         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
57973         exceptions.
57974         (remainder_tonearest_test_data): New variable.
57975         (remainder_test_tonearest): New function.
57976         (remainder_towardzero_test_data): New variable.
57977         (remainder_test_towardzero): New function.
57978         (remainder_downward_test_data): New variable.
57979         (remainder_test_downward): New function.
57980         (remainder_upward_test_data): New variable.
57981         (remainder_test_upward): New function.
57982         (main): Call the new test functions.
57984         * math/libm-test.inc (struct test_f_f1_data): Remove field
57985         extra_init.
57986         (struct test_fF_f1_data): Likewise.
57987         (struct test_ffI_f1_data): Likewise.
57988         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
57989         based on value of EXTRA_EXPECTED.
57990         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57991         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
57992         EXTRA_VAR based on value of EXTRA_EXPECTED.
57993         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57994         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
57995         EXTRA_VAR based on value of EXTRA_EXPECTED.
57996         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57997         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
57998         EXTRA_VAR based on value of EXTRA_EXPECTED.
57999         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58000         * math/gen-libm-test.pl (parse_args): Don't output initializers
58001         for extra output values.
58003         * math/libm-test.inc (check_int): Expect result to be exactly
58004         equal to expected value and do not handle ulps.
58005         (check_long): Likewise.
58006         (check_longlong): Likewise.
58008         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58009         exceptions.
58010         (cimag_test_data): Likewise.
58011         (conj_test_data): Likewise.
58012         (copysign_test_data): Likewise.
58013         (cproj_test_data): Likewise.
58014         (creal_test_data): Likewise.
58015         (fabs_test_data): Likewise.
58016         (fdim_test_data): Likewise.
58017         (finite_test_data): Likewise.
58018         (floor_test_data): Likewise.
58019         (fmax_test_data): Likewise.
58020         (fmin_test_data): Likewise.
58021         (fmod_test_data): Likewise.
58022         (fpclassify_test_data): Likewise.
58023         (frexp_test_data): Likewise.
58024         (ilogb_test_data): Likewise.
58025         (isfinite_test_data): Likewise.
58026         (isgreater_test_data): Likewise.
58027         (isgreaterequal_test_data): Likewise.
58028         (isinf_test_data): Likewise.
58029         (isless_test_data): Likewise.
58030         (islessequal_test_data): Likewise.
58031         (islessgreater_test_data): Likewise.
58032         (isnan_test_data): Likewise.
58033         (isnormal_test_data): Likewise.
58034         (issignaling_test_data): Likewise.
58035         (isunordered_test_data): Likewise.
58036         (ldexp_test_data): Likewise.
58037         (lrint_test_data): Likewise.
58038         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58039         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58040         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58041         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58042         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58043         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58044         test input.
58045         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58046         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58047         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58048         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58049         that test input.
58050         (lrint_downward_test_data): Test for "inexact" exceptions.
58051         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58052         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58053         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58054         test input.
58055         (lrint_upward_test_data): Test for "inexact" exceptions.
58056         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58057         test input.
58058         (llrint_test_data): Test for "inexact" exceptions.
58059         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58060         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58061         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58062         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58063         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58064         (llrint_downward_test_data): Test for "inexact" exceptions.
58065         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58066         (llrint_upward_test_data): Test for "inexact" exceptions.
58067         (logb_test_data): Likewise.
58068         (logb_downward_test_data): Likewise.
58069         (nextafter_test_data): Likewise.
58070         (nexttoward_test_data): Likewise.
58071         (remainder_test_data): Likewise.
58072         (remquo_test_data): Likewise.
58073         (scalbn_test_data): Likewise.
58074         (scalbln_test_data): Likewise.
58075         (signbit_test_data): Likewise.
58076         (sqrt_test_data): Likewise.
58077         (significand_test_data): Likewise.
58079 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58081         [BZ #15424]
58082         * benchtests/bench-modf.c (struct args): Mark arg0 as
58083         volatile.
58084         * scripts/bench.pl: Mark members of struct args as volatile.
58086 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58088         [BZ # 15497]
58089         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58090         negative infinity on POWER6 or lower.
58091         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58093 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58095         [BZ #15442]
58096         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58097         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58098         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58099         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58100         (_FP_SETQNAN): New macro.
58101         (_FP_SETQNAN_SEMIRAW): Likewise.
58102         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58103         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58104         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58105         (FP_EXTEND): Use _FP_FRAC_SNANP.
58106         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58107         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58108         into account.
58109         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58110         New macro.
58111         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58112         Likewise.
58114 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58116         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58117         with DIVIDE_BY_ZERO_EXCEPTION.
58118         (gamma_test_data): Likewise.
58119         (lgamma_test_data): Likewise.
58120         (log_test_data): Likewise.
58121         (log10_test_data): Likewise.
58122         (log2_test_data): Likewise.
58123         (tgamma_test_data): Likewise.
58125         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58126         (acos_test_tonearest): Likewise.
58127         (acos_test_towardzero): Likewise.
58128         (acos_test_downward): Likewise.
58129         (acos_test_upward): Likewise.
58130         (acosh_test): Likewise.
58131         (asin_test): Likewise.
58132         (asin_test_tonearest): Likewise.
58133         (asin_test_towardzero): Likewise.
58134         (asin_test_downward): Likewise.
58135         (asin_test_upward): Likewise.
58136         (asinh_test): Likewise.
58137         (atan_test): Likewise.
58138         (atanh_test): Likewise.
58139         (atan2_test): Likewise.
58140         (cabs_test): Likewise.
58141         (cacos_test): Likewise.
58142         (cacosh_test): Likewise.
58143         (casin_test): Likewise.
58144         (casinh_test): Likewise.
58145         (catan_test): Likewise.
58146         (catanh_test): Likewise.
58147         (cbrt_test): Likewise.
58148         (ccos_test): Likewise.
58149         (ccosh_test): Likewise.
58150         (cexp_test): Likewise.
58151         (clog_test): Likewise.
58152         (clog10_test): Likewise.
58153         (cos_test): Likewise.
58154         (cos_test_tonearest): Likewise.
58155         (cos_test_towardzero): Likewise.
58156         (cos_test_downward): Likewise.
58157         (cos_test_upward): Likewise.
58158         (cosh_test): Likewise.
58159         (cosh_test_tonearest): Likewise.
58160         (cosh_test_towardzero): Likewise.
58161         (cosh_test_downward): Likewise.
58162         (cosh_test_upward): Likewise.
58163         (cpow_test): Likewise.
58164         (csin_test): Likewise.
58165         (csinh_test): Likewise.
58166         (csqrt_test): Likewise.
58167         (ctan_test): Likewise.
58168         (ctan_test_tonearest): Likewise.
58169         (ctan_test_towardzero): Likewise.
58170         (ctan_test_downward): Likewise.
58171         (ctan_test_upward): Likewise.
58172         (ctanh_test): Likewise.
58173         (ctanh_test_tonearest): Likewise.
58174         (ctanh_test_towardzero): Likewise.
58175         (ctanh_test_downward): Likewise.
58176         (ctanh_test_upward): Likewise.
58177         (erf_test): Likewise.
58178         (erfc_test): Likewise.
58179         (exp_test): Likewise.
58180         (exp_test_tonearest): Likewise.
58181         (exp_test_towardzero): Likewise.
58182         (exp_test_downward): Likewise.
58183         (exp_test_upward): Likewise.
58184         (exp10_test): Likewise.
58185         (exp2_test): Likewise.
58186         (expm1_test): Likewise.
58187         (fmod_test): Likewise.
58188         (gamma_test): Likewise.
58189         (hypot_test): Likewise.
58190         (j0_test): Likewise.
58191         (j1_test): Likewise.
58192         (jn_test): Likewise.
58193         (lgamma_test): Likewise.
58194         (log_test): Likewise.
58195         (log10_test): Likewise.
58196         (log1p_test): Likewise.
58197         (log2_test): Likewise.
58198         (logb_test_downward): Likewise.
58199         (pow_test): Likewise.
58200         (pow_test_tonearest): Likewise.
58201         (pow_test_towardzero): Likewise.
58202         (pow_test_downward): Likewise.
58203         (pow_test_upward): Likewise.
58204         (remainder_test): Likewise.
58205         (remquo_test): Likewise.
58206         (sin_test): Likewise.
58207         (sin_test_tonearest): Likewise.
58208         (sin_test_towardzero): Likewise.
58209         (sin_test_downward): Likewise.
58210         (sin_test_upward): Likewise.
58211         (sincos_test): Likewise.
58212         (sinh_test): Likewise.
58213         (sinh_test_tonearest): Likewise.
58214         (sinh_test_towardzero): Likewise.
58215         (sinh_test_downward): Likewise.
58216         (sinh_test_upward): Likewise.
58217         (sqrt_test): Likewise.
58218         (tan_test): Likewise.
58219         (tan_test_tonearest): Likewise.
58220         (tan_test_towardzero): Likewise.
58221         (tan_test_downward): Likewise.
58222         (tan_test_upward): Likewise.
58223         (tanh_test): Likewise.
58224         (tgamma_test): Likewise.
58225         (y0_test): Likewise.
58226         (y1_test): Likewise.
58227         (yn_test): Likewise.
58229         * math/gen-libm-test.pl (adjust_arg): Remove function.
58230         (special_function): Remove argument $in_func.  Only handle
58231         generating output for tables of tests, not inside functions.
58232         (parse_args): Likewise.
58233         (generate_testfile): Remove variable $in_func.  Update call to
58234         parse_args.
58235         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
58236         (MINUS_ZERO_INIT): Rename macro to minus_zero.
58237         (PLUS_INFTY_INIT): Rename macro to plus_infty.
58238         (MINUS_INFTY_INIT): Rename macro to minus_infty.
58239         (QNAN_VALUE_INIT): Rename macro to qnan_value.
58240         (MAX_VALUE_INIT): Rename macro to max_value.
58241         (MIN_VALUE_INIT): Rename macro to min_value.
58242         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
58243         (plus_zero): Remove variable.
58244         (minus_zero): Likewise.
58245         (plus_infty): Likewise.
58246         (minus_infty): Likewise.
58247         (qnan_value): Likewise.
58248         (max_value): Likewise.
58249         (min_value): Likewise.
58250         (min_subnorm_value): Likewise.
58252 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58254         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
58255         uint64_t or uint32_t usage.
58256         * crypt/sha256-block.c: Likewise.
58257         * crypt/sha256-crypt.c: Likewise.
58258         * crypt/sha256.c: Likewise.
58259         * crypt/sha512-block.c: Likewise.
58260         * crypt/sha512-crypt.c: Likewise.
58261         * crypt/sha512.c: Likewise.
58262         * debug/backtrace-tst.c: Likewise.
58263         * debug/pcprofiledump.c: Likewise.
58264         * elf/cache.c: Likewise.
58265         * elf/dl-cache.c: Likewise.
58266         * elf/dl-misc.c: Likewise.
58267         * elf/dl-profile.c: Likewise.
58268         * elf/dl-support.c: Likewise.
58269         * elf/ldconfig.c: Likewise.
58270         * elf/sprof.c: Likewise.
58271         * iconv/dummy-repertoire.c: Likewise.
58272         * iconv/iconv_charmap.c: Likewise.
58273         * iconv/skeleton.c: Likewise.
58274         * iconvdata/8bit-generic.c: Likewise.
58275         * iconvdata/cp737.h: Likewise.
58276         * iconvdata/cp775.h: Likewise.
58277         * iconvdata/ibm1008.h: Likewise.
58278         * iconvdata/ibm1025.h: Likewise.
58279         * iconvdata/ibm1046.h: Likewise.
58280         * iconvdata/ibm1097.h: Likewise.
58281         * iconvdata/ibm1112.h: Likewise.
58282         * iconvdata/ibm1122.h: Likewise.
58283         * iconvdata/ibm1123.h: Likewise.
58284         * iconvdata/ibm1124.h: Likewise.
58285         * iconvdata/ibm1129.h: Likewise.
58286         * iconvdata/ibm1130.h: Likewise.
58287         * iconvdata/ibm1132.h: Likewise.
58288         * iconvdata/ibm1133.h: Likewise.
58289         * iconvdata/ibm1137.h: Likewise.
58290         * iconvdata/ibm1140.h: Likewise.
58291         * iconvdata/ibm1141.h: Likewise.
58292         * iconvdata/ibm1142.h: Likewise.
58293         * iconvdata/ibm1143.h: Likewise.
58294         * iconvdata/ibm1144.h: Likewise.
58295         * iconvdata/ibm1145.h: Likewise.
58296         * iconvdata/ibm1146.h: Likewise.
58297         * iconvdata/ibm1147.h: Likewise.
58298         * iconvdata/ibm1148.h: Likewise.
58299         * iconvdata/ibm1149.h: Likewise.
58300         * iconvdata/ibm1153.h: Likewise.
58301         * iconvdata/ibm1154.h: Likewise.
58302         * iconvdata/ibm1155.h: Likewise.
58303         * iconvdata/ibm1156.h: Likewise.
58304         * iconvdata/ibm1157.h: Likewise.
58305         * iconvdata/ibm1158.h: Likewise.
58306         * iconvdata/ibm1160.h: Likewise.
58307         * iconvdata/ibm1161.h: Likewise.
58308         * iconvdata/ibm1162.h: Likewise.
58309         * iconvdata/ibm1163.h: Likewise.
58310         * iconvdata/ibm1164.h: Likewise.
58311         * iconvdata/ibm1166.h: Likewise.
58312         * iconvdata/ibm1167.h: Likewise.
58313         * iconvdata/ibm12712.h: Likewise.
58314         * iconvdata/ibm1390.h: Likewise.
58315         * iconvdata/ibm1399.h: Likewise.
58316         * iconvdata/ibm16804.h: Likewise.
58317         * iconvdata/ibm4517.h: Likewise.
58318         * iconvdata/ibm4899.h: Likewise.
58319         * iconvdata/ibm4909.h: Likewise.
58320         * iconvdata/ibm4971.h: Likewise.
58321         * iconvdata/ibm5347.h: Likewise.
58322         * iconvdata/ibm803.h: Likewise.
58323         * iconvdata/ibm856.h: Likewise.
58324         * iconvdata/ibm901.h: Likewise.
58325         * iconvdata/ibm902.h: Likewise.
58326         * iconvdata/ibm9030.h: Likewise.
58327         * iconvdata/ibm9066.h: Likewise.
58328         * iconvdata/ibm921.h: Likewise.
58329         * iconvdata/ibm922.h: Likewise.
58330         * iconvdata/ibm9448.h: Likewise.
58331         * iconvdata/isiri-3342.h: Likewise.
58332         * iconvdata/jis0201.h: Likewise.
58333         * include/link.h: Likewise.
58334         * include/netdb.h: Likewise.
58335         * inet/check_native.c: Likewise.
58336         * inet/check_pf.c: Likewise.
58337         * inet/getipv4sourcefilter.c: Likewise.
58338         * inet/getnameinfo.c: Likewise.
58339         * inet/getsourcefilter.c: Likewise.
58340         * inet/htonl.c: Likewise.
58341         * inet/setipv4sourcefilter.c: Likewise.
58342         * inet/setsourcefilter.c: Likewise.
58343         * inet/test-inet6_opt.c: Likewise.
58344         * inet/tst-network.c: Likewise.
58345         * locale/C-collate.c: Likewise.
58346         * locale/C-ctype.c: Likewise.
58347         * locale/C-time.c: Likewise.
58348         * locale/C-translit.h: Likewise.
58349         * locale/loadarchive.c: Likewise.
58350         * locale/programs/3level.h: Likewise.
58351         * locale/programs/charmap.c: Likewise.
58352         * locale/programs/charmap.h: Likewise.
58353         * locale/programs/ld-address.c: Likewise.
58354         * locale/programs/ld-collate.c: Likewise.
58355         * locale/programs/ld-ctype.c: Likewise.
58356         * locale/programs/ld-identification.c: Likewise.
58357         * locale/programs/ld-measurement.c: Likewise.
58358         * locale/programs/ld-messages.c: Likewise.
58359         * locale/programs/ld-monetary.c: Likewise.
58360         * locale/programs/ld-name.c: Likewise.
58361         * locale/programs/ld-numeric.c: Likewise.
58362         * locale/programs/ld-paper.c: Likewise.
58363         * locale/programs/ld-telephone.c: Likewise.
58364         * locale/programs/ld-time.c: Likewise.
58365         * locale/programs/linereader.c: Likewise.
58366         * locale/programs/locale.c: Likewise.
58367         * locale/programs/locarchive.c: Likewise.
58368         * locale/programs/locfile.h: Likewise.
58369         * locale/programs/repertoire.c: Likewise.
58370         * locale/programs/simple-hash.c: Likewise.
58371         * locale/programs/simple-hash.h: Likewise.
58372         * malloc/memusage.c: Likewise.
58373         * malloc/memusagestat.c: Likewise.
58374         * nis/nis_defaults.c: Likewise.
58375         * nis/nis_hash.c: Likewise.
58376         * nis/nis_print.c: Likewise.
58377         * nis/nis_xdr.c: Likewise.
58378         * nscd/connections.c: Likewise.
58379         * nscd/hstcache.c: Likewise.
58380         * nscd/nscd_gethst_r.c: Likewise.
58381         * nscd/nscd_getserv_r.c: Likewise.
58382         * nscd/nscd_helper.c: Likewise.
58383         * nscd/servicescache.c: Likewise.
58384         * nss/makedb.c: Likewise.
58385         * nss/nss_db/db-XXX.c: Likewise.
58386         * nss/nss_db/db-initgroups.c: Likewise.
58387         * nss/nss_db/db-netgrp.c: Likewise.
58388         * nss/nss_files/files-network.c: Likewise.
58389         * nss/nss_files/files-parse.c: Likewise.
58390         * posix/bug-regex5.c: Likewise.
58391         * posix/fnmatch_loop.c: Likewise.
58392         * posix/regcomp.c: Likewise.
58393         * posix/regexec.c: Likewise.
58394         * posix/tst-rfc3484-2.c: Likewise.
58395         * posix/tst-rfc3484-3.c: Likewise.
58396         * posix/tst-rfc3484.c: Likewise.
58397         * resolv/nss_dns/dns-canon.c: Likewise.
58398         * resolv/nss_dns/dns-network.c: Likewise.
58399         * resolv/res_init.c: Likewise.
58400         * resolv/res_mkquery.c: Likewise.
58401         * resolv/tst-aton.c: Likewise.
58402         * stdlib/cxa_atexit.c: Likewise.
58403         * stdlib/cxa_finalize.c: Likewise.
58404         * stdlib/gen-fpioconst.c: Likewise.
58405         * stdlib/strtol_l.c: Likewise.
58406         * string/tst-endian.c: Likewise.
58407         * sunrpc/auth_des.c: Likewise.
58408         * sunrpc/clnt_udp.c: Likewise.
58409         * sunrpc/rtime.c: Likewise.
58410         * sunrpc/svcauth_des.c: Likewise.
58411         * sunrpc/xdr.c: Likewise.
58412         * sunrpc/xdr_intXX_t.c: Likewise.
58413         * sunrpc/xdr_rec.c: Likewise.
58414         * sysdeps/generic/ldconfig.h: Likewise.
58415         * sysdeps/generic/ldsodefs.h: Likewise.
58416         * sysdeps/generic/memusage.h: Likewise.
58417         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58418         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58419         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58420         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58421         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58423         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58424         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58425         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58426         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58427         * sysdeps/posix/getaddrinfo.c: Likewise.
58428         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58429         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58430         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58431         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58432         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58433         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58434         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58435         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58436         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58437         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58438         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58439         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58440         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58441         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58442         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58443         * sysdeps/x86_64/dl-tls.h: Likewise.
58444         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58445         * time/alt_digit.c: Likewise.
58446         * time/era.c: Likewise.
58447         * wcsmbs/tst-c16c32-1.c: Likewise.
58449 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58451         * math/libm-test.inc (struct test_sincos_data): New type.
58452         (RUN_TEST_LOOP_sincos): New macro.
58453         (sincos_test_data): New variable.
58454         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58456 2013-05-16  Richard Henderson  <rth@redhat.com>
58458         * math/atest-exp2.c (LIMB64): New macro.
58459         (CONSTSZ): New macro.
58460         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58461         (hexdig): Move ...
58462         (print_mpn_fp): ... to function scope.
58463         (read_mpn_hex): Remove.
58464         (get_log2): Remove.
58465         (exp2_mpn): Use mp_log2.
58466         (main): Use mp_exp1.
58468 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58470         * math/libm-test.inc: Remove comment about not testing "inexact"
58471         exceptions.
58472         (INEXACT_EXCEPTION): New macro.
58473         (NO_INEXACT_EXCEPTION): Likewise.
58474         (INVALID_EXCEPTION_OK): Update value.
58475         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58476         (OVERFLOW_EXCEPTION_OK): Likewise.
58477         (UNDERFLOW_EXCEPTION_OK): Likewise.
58478         (IGNORE_ZERO_INF_SIGN): Likewise.
58479         (ERRNO_UNCHANGED): Likewise.
58480         (ERRNO_EDOM): Likewise.
58481         (ERRNO_ERANGE): Likewise.
58482         (test_exceptions): Handle testing "inexact" exceptions.
58483         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58484         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58485         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58486         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58487         INEXACT_EXCEPTION.
58488         (rint_towardzero_test_data): Likewise.
58489         (rint_downward_test_data): Likewise.
58490         (rint_upward_test_data): Likewise.
58492         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58493         with OVERFLOW_EXCEPTION.
58494         (exp10_test_data): Likewise.
58495         (exp2_test_data): Likewise.
58496         (expm1_test_data): Likewise.
58497         (lgamma_test_data): Likewise.
58498         (pow_test_data): Likewise.
58499         (tgamma_test_data): Likewise.
58500         (yn_test_data): Remove duplicate test of overflow.
58502         * math/libm-test.inc (struct test_cc_c_data): New type.
58503         (RUN_TEST_LOOP_cc_c): New macro.
58504         (cpow_test_data): New variable.
58505         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58507         * math/libm-test.inc (struct test_f_L_data): New type.
58508         (RUN_TEST_LOOP_f_L): New macro.
58509         (llrint_test_data): New variable.
58510         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58511         (llrint_tonearest_test_data): New variable.
58512         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58513         (llrint_towardzero_test_data): New variable.
58514         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58515         (llrint_downward_test_data): New variable.
58516         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58517         (llrint_upward_test_data): New variable.
58518         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58519         (llround_test_data): New variable.
58520         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58522 2013-05-13  Peter Collingbourne  <pcc@google.com>
58524         * math/atest-exp2.c (get_log2): Remove const attribute.
58526 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58528         * math/libm-test.inc (struct test_f_l_data): New type.
58529         (RUN_TEST_LOOP_f_l): New macro.
58530         (lrint_test_data): New variable.
58531         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58532         (lrint_tonearest_test_data): New variable.
58533         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58534         (lrint_towardzero_test_data): New variable.
58535         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58536         (lrint_downward_test_data): New variable.
58537         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58538         (lrint_upward_test_data): New variable.
58539         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58540         (lround_test_data): New variable.
58541         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58543 2013-05-15  Peter Collingbourne  <pcc@google.com>
58545         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58546         (EXTRACT_WORDS64) Use where appropriate.
58547         (INSERT_WORDS64) Likewise.
58549         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58550         constraints with x constraints.
58551         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58553         * malloc/obstack.c (_obstack_compat): Add initializer.
58555 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58557         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58558         si_trapno and add si_addr_lsb to _sifields.sigfault.
58559         (si_trapno): Remove macro.
58560         (si_addr_lsb): Define new macro.
58561         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58563 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58565         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58566         instead of TEST_f_l.
58567         (llrint_test_tonearest): Likewise.
58568         (llrint_test_towardzero): Likewise.
58569         (llrint_test_downward): Likewise.
58570         (llrint_test_upward): Likewise.
58571         (llround_test): Likewise.
58573         * math/libm-test.inc (struct test_f_i_data): Add comment.
58574         (RUN_TEST_LOOP_f_b): New macro.
58575         (RUN_TEST_LOOP_f_b_tg): Likewise.
58576         (finite_test_data): New variable.
58577         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58578         (isfinite_test_data): New variable.
58579         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58580         (isinf_test_data): New variable.
58581         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58582         (isnan_test_data): New variable.
58583         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58584         (isnormal_test_data): New variable.
58585         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58586         (issignaling_test_data): New variable.
58587         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58588         (signbit_test_data): New variable.
58589         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58591         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58592         with INVALID_EXCEPTION.
58593         (acosh_test_data): Likewise.
58594         (asin_test_data): Likewise.
58595         (atanh_test_data): Likewise.
58596         (fmod_test_data): Likewise.
58597         (log_test_data): Likewise.
58598         (log10_test_data): Likewise.
58599         (log2_test_data): Likewise.
58600         (pow_test_data): Likewise.
58601         (sqrt_test_data): Likewise.
58602         (y0_test_data): Likewise.
58603         (y1_test_data): Likewise.
58604         (yn_test_data): Likewise.
58606         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58607         function contents.
58609         * math/libm-test.inc (struct test_ff_i_data): New type.
58610         (RUN_TEST_LOOP_ff_i_tg): New macro.
58611         (isgreater_test_data): New variable.
58612         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58613         (isgreaterequal_test_data): New variable.
58614         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58615         (isless_test_data): New variable.
58616         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58617         (islessequal_test_data): New variable.
58618         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58619         (islessgreater_test_data): New variable.
58620         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58621         (isunordered_test_data): New variable.
58622         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58624 2013-05-14  David S. Miller  <davem@davemloft.net>
58626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58628 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58630         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58632         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58633         extra_test to int.
58634         (struct test_f_i_data): Change type of max_ulp to int.
58636         * math/libm-test.inc (test_ffI_f1_data): New type.
58637         (RUN_TEST_LOOP_ffI_f1): New macro.
58638         (remquo_test_data): New variable.
58639         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58641         * setjmp/tst-setjmp-fp.c: New file.
58642         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58643         (link-libm): New variable.
58644         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58646         * math/libm-test.inc (struct test_f_i_data): New type.
58647         (RUN_TEST_LOOP_f_i): New macro.
58648         (RUN_TEST_LOOP_f_i_tg): Likewise.
58649         (fpclassify_test_data): New variable.
58650         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58651         (ilogb_test_data): New variable.
58652         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58654         * math/libm-test.inc (scalbln_test): Correct function name in END
58655         call.
58657         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58658         (RUN_TEST_LOOP_fI_f1): New macro.
58659         (frexp_test_data): New variable.
58660         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58662         * math/libm-test.inc (struct test_fF_f1_data): New type.
58663         (RUN_TEST_LOOP_fF_f1): New macro.
58664         (modf_test_data): New variable.
58665         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58667         * math/libm-test.inc (struct test_f_f1_data): New type.
58668         (RUN_TEST_LOOP_f_f1): New macro.
58669         (gamma_test_data): New variable.
58670         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58671         (lgamma_test_data): New variable.
58672         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58674 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58676         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58677         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58678         (main): Comment "tls" pseudo-hwcap.
58680 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58682         * math/libm-test.inc (struct test_fl_f_data): New type.
58683         (RUN_TEST_LOOP_fl_f): New variable.
58684         (scalbln_test_data): New variable.
58685         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58687         * math/libm-test.inc (struct test_fi_f_data): New type.
58688         (RUN_TEST_LOOP_fi_f): New macro.
58689         (ldexp_test_data): New variable.
58690         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58691         (scalbn_test_data): New variable.
58692         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58694         * math/libm-test.inc (struct test_c_f_data): New type.
58695         (RUN_TEST_LOOP_c_f): New macro.
58696         (cabs_test_data): New variable.
58697         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58698         (carg_test_data): New variable.
58699         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58700         (cimag_test_data): New variable.
58701         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58702         (creal_test_data): New variable.
58703         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58705         * math/libm-test.inc (struct test_if_f_data): New type.
58706         (RUN_TEST_LOOP_if_f): New macro.
58707         (jn_test_data): New variable.
58708         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58709         (yn_test_data): New variable.
58710         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58712         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58714 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58716         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58717         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58719 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58721         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58722         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58723         (bench-deps): Add bench-timing.h.
58724         * benchtests-bench-skeleton.c: Include bench-timing.h.
58725         (main): Use TIMING_* macros instead of clock_gettime.
58726         * benchtests/bench-timing.h: New file.
58728         [BZ #14582]
58729         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58730         Renamed from _LIB_VERSION.
58731         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58733 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58735         * math/libm-test.inc (struct test_fff_f_data): New type.
58736         (RUN_TEST_LOOP_fff_f): New macro.
58737         (fma_test_data): New variable.
58738         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58739         (fma_towardzero_test_data): New variable.
58740         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58741         (fma_downward_test_data): New variable.
58742         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58743         (fma_upward_test_data): New variable.
58744         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58746         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58747         (struct test_c_c_data): New type.
58748         (RUN_TEST_LOOP_c_c): New macro.
58749         (cacos_test_data): New variable.
58750         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58751         (cacosh_test_data): New variable.
58752         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58753         (casin_test_data): New variable.
58754         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58755         (casinh_test_data): New variable.
58756         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58757         (catan_test_data): New variable.
58758         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58759         (catanh_test_data): New variable.
58760         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58761         (ccos_test_data): New variable.
58762         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58763         (ccosh_test_data): New variable.
58764         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58765         (cexp_test_data): New variable.
58766         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58767         (clog_test_data): New variable.
58768         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58769         (clog10_test_data): New variable.
58770         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58771         (conj_test_data): New variable.
58772         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58773         (cproj_test_data): New variable.
58774         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58775         (csin_test_data): New variable.
58776         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58777         (csinh_test_data): New variable.
58778         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58779         (csqrt_test_data): New variable.
58780         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58781         (ctan_test_data): New variable.
58782         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58783         (ctan_tonearest_test_data): New variable.
58784         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58785         (ctan_towardzero_test_data): New variable.
58786         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58787         (ctan_downward_test_data): New variable.
58788         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58789         (ctan_upward_test_data): New variable.
58790         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58791         (ctanh_test_data): New variable.
58792         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58793         (ctanh_tonearest_test_data): New variable.
58794         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58795         (ctanh_towardzero_test_data): New variable.
58796         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58797         (ctanh_downward_test_data): New variable.
58798         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58799         (ctanh_upward_test_data): New variable.
58800         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58801         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58802         of BUILD_COMPLEX.
58804         * math/libm-test.inc (struct test_ff_f_data): New type.
58805         (struct test_ff_f_data_nexttoward): Likewise.
58806         (RUN_TEST_LOOP_2_f): New macro.
58807         (RUN_TEST_LOOP_ff_f): Likewise.
58808         (atan2_test_data): New variable.
58809         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58810         (copysign_test_data): New variable.
58811         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58812         (fdim_test_data): New variable.
58813         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58814         (fmax_test_data): New variable.
58815         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58816         (fmin_test_data): New variable.
58817         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58818         (fmod_test_data): New variable.
58819         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58820         (hypot_test_data): New variable.
58821         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58822         (nextafter_test_data): New variable.
58823         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58824         (nexttoward_test_data): New variable.
58825         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58826         (pow_test_data): New variable.
58827         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58828         (pow_tonearest_test_data): New variable.
58829         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58830         (pow_towardzero_test_data): New variable.
58831         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58832         (pow_downward_test_data): New variable.
58833         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58834         (pow_upward_test_data): New variable.
58835         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58836         (remainder_test_data): New variable.
58837         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58838         (scalb_test_data): New variable.
58839         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58840         * sysdeps/i386/fpu/libm-test-ulps: Update.
58842 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58844         * math/libm-test.inc (fma_test): Use max_value instead of local
58845         variable fltmax.
58846         (nextafter_test): Likewise.
58848         * math/libm-test.inc (acos_towardzero_test_data): New variable.
58849         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58850         (acos_downward_test_data): New variable.
58851         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58852         (acos_upward_test_data): New variable.
58853         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58854         (acosh_test_data): New variable.
58855         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58856         (asin_test_data): New variable.
58857         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58858         (asin_tonearest_test_data): New variable.
58859         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58860         (asin_towardzero_test_data): New variable.
58861         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58862         (asin_downward_test_data): New variable.
58863         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58864         (asin_upward_test_data): New variable.
58865         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58866         (asinh_test_data): New variable.
58867         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58868         (atan_test_data): New variable.
58869         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58870         (atanh_test_data): New variable.
58871         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58872         (cbrt_test_data): New variable.
58873         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
58874         (ceil_test_data): New variable.
58875         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
58876         (cos_test_data): New variable.
58877         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
58878         (cos_tonearest_test_data): New variable.
58879         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58880         (cos_towardzero_test_data): New variable.
58881         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58882         (cos_downward_test_data): New variable.
58883         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58884         (cos_upward_test_data): New variable.
58885         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58886         (cosh_test_data): New variable.
58887         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
58888         (cosh_tonearest_test_data): New variable.
58889         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58890         (cosh_towardzero_test_data): New variable.
58891         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58892         (cosh_downward_test_data): New variable.
58893         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58894         (cosh_upward_test_data): New variable.
58895         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58896         (erf_test_data): New variable.
58897         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
58898         (erfc_test_data): New variable.
58899         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
58900         (exp_test_data): New variable.
58901         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
58902         (exp_tonearest_test_data): New variable.
58903         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58904         (exp_towardzero_test_data): New variable.
58905         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58906         (exp_downward_test_data): New variable.
58907         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58908         (exp_upward_test_data): New variable.
58909         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58910         (exp10_test_data): New variable.
58911         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
58912         (exp2_test_data): New variable.
58913         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
58914         (expm1_test_data): New variable.
58915         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
58916         (fabs_test_data): New variable.
58917         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
58918         (floor_test_data): New variable.
58919         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
58920         (j0_test_data): New variable.
58921         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
58922         (j1_test_data): New variable.
58923         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
58924         (log_test_data): New variable.
58925         (log_test): Run tests with RUN_TEST_LOOP_f_f.
58926         (log10_test_data): New variable.
58927         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
58928         (log1p_test_data): New variable.
58929         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
58930         (log2_test_data): New variable.
58931         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
58932         (logb_test_data): New variable.
58933         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
58934         (logb_downward_test_data): New variable.
58935         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58936         (nearbyint_test_data): New variable.
58937         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
58938         (rint_test_data): New variable.
58939         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
58940         (rint_tonearest_test_data): New variable.
58941         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58942         (rint_towardzero_test_data): New variable.
58943         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58944         (rint_downward_test_data): New variable.
58945         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58946         (rint_upward_test_data): New variable.
58947         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58948         (round_test_data): New variable.
58949         (round_test): Run tests with RUN_TEST_LOOP_f_f.
58950         (sin_test_data): New variable.
58951         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
58952         (sin_tonearest_test_data): New variable.
58953         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58954         (sin_towardzero_test_data): New variable.
58955         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58956         (sin_downward_test_data): New variable.
58957         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58958         (sin_upward_test_data): New variable.
58959         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58960         (sinh_test_data): New variable.
58961         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
58962         (sinh_tonearest_test_data): New variable.
58963         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58964         (sinh_towardzero_test_data): New variable.
58965         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58966         (sinh_downward_test_data): New variable.
58967         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58968         (sinh_upward_test_data): New variable.
58969         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58970         (sqrt_test_data): New variable.
58971         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
58972         (tan_test_data): New variable.
58973         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
58974         (tan_tonearest_test_data): New variable.
58975         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58976         (tan_towardzero_test_data): New variable.
58977         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58978         (tan_downward_test_data): New variable.
58979         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58980         (tan_upward_test_data): New variable.
58981         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58982         (tanh_test_data): New variable.
58983         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
58984         (tgamma_test_data): New variable.
58985         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
58986         (trunc_test_data): New variable.
58987         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
58988         (y0_test_data): New variable.
58989         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
58990         (y1_test_data): New variable.
58991         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
58992         (significand_test_data): New variable.
58993         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
58995 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
58997         [BZ #12387]
58998         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59000 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59002         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59004 2013-05-10  Andreas Jaeger  <aj@suse.de>
59006         [BZ #15448]
59007         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59008         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59010 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59012         * math/gen-libm-test.pl (adjust_arg): New function.
59013         (special_functions): Handle generating output in both functions
59014         and arrays.
59015         (parse_args): Likewise.
59016         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59017         $in_func argument to parse_args.
59018         * math/libm-test.inc (struct test_f_f_data): New type.
59019         (IF_ROUND_INIT_): New macro.
59020         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59021         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59022         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59023         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59024         (ROUND_RESTORE_): Likewise.
59025         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59026         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59027         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59028         (ROUND_RESTORE_FE_UPWARD): Likewise.
59029         (RUN_TEST_LOOP_f_f): New macro.
59030         (acos_test_data): New variable.
59031         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59032         (acos_tonearest_test_data): New variable.
59033         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59035 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59037         * benchtests/bench-skeleton.c (startup): Fix coding style.
59039 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59041         [BZ #6809]
59042         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59043         negative infinity argument.
59044         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59045         negative infinity argument.
59046         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59047         negative infinity argument.
59048         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59049         domain errors.
59051 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59053         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59054         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59055         * iconv/iconv_prog.c (main): Likewise.
59056         * locale/programs/charmap-dir.c (charmap_readdir)
59057         (fopen_uncompressed): Likewise.
59058         * locale/programs/locfile.c (siblings_uncached)
59059         (write_locale_data): Use lstat64 instead of lstat.
59060         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59061         stat.
59063 2013-05-10  Andreas Jaeger  <aj@suse.de>
59065         [BZ #15395]
59066         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59067         localization.
59068         Include <locale.h>.
59070 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59072         * elf/dl-close.c (_dl_close_worker): Add comments.
59074 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59076         [BZ #15359]
59077         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59078         high part of pi/2.
59079         (__ieee754_rem_pio2l): Update comments.
59081         [BZ #15429]
59082         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59083         high part of pi/2.
59084         (__ieee754_rem_pio2l): Update comments.
59086         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59087         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59089         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59090         M_PI_4l.
59092         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59093         (M_PI_34_LOG10El): Likewise.
59094         (M_PI2_LOG10El): Likewise.
59095         (M_PI4_LOG10El): Likewise.
59096         (M_PI_LOG10El): Likewise.
59098 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59102 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59104         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59105         (MINUS_ZERO_INIT): Likewise.
59106         (PLUS_INFTY_INIT): Likewise.
59107         (MINUS_INFTY_INIT): Likewise.
59108         (QNAN_VALUE_INIT): Likewise.
59109         (MAX_VALUE_INIT): Likewise.
59110         (MIN_VALUE_INIT): Likewise.
59111         (MIN_SUBNORM_VALUE_INIT): Likewise.
59112         (plus_zero): Initialize with PLUS_ZERO_INIT.
59113         (minus_zero): Initialize with MINUS_ZERO_INIT.
59114         (plus_infty): Initialize with PLUS_INFTY_INIT.
59115         (minus_infty): Initialize with MINUS_INFTY_INIT.
59116         (qnan_value): Initialize with QNAN_VALUE_INIT.
59117         (max_value): Initialize with MAX_VALUE_INIT.
59118         (min_value): Initialize with MIN_VALUE_INIT.
59119         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59121         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59122         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59123         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59124         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59126         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59127         (RUN_TEST_2_f): Likewise.
59128         (RUN_TEST_ff_f): Likewise.
59129         (RUN_TEST_fi_f): Likewise.
59130         (RUN_TEST_fl_f): Likewise.
59131         (RUN_TEST_fff_f): Likewise.
59132         (RUN_TEST_c_f): Likewise.
59133         (RUN_TEST_f_f1): Likewise.
59134         (RUN_TEST_fF_f1): Likewise.
59135         (RUN_TEST_fI_f1): Likewise.
59136         (RUN_TEST_ffI_f1): Likewise.
59137         (RUN_TEST_c_c): Likewise.
59138         (RUN_TEST_cc_c): Likewise.
59139         (RUN_TEST_f_i): Likewise.
59140         (RUN_TEST_f_i_tg): Likewise.
59141         (RUN_TEST_ff_i_tg): Likewise.
59142         (RUN_TEST_f_b): Likewise.
59143         (RUN_TEST_f_b_tg): Likewise.
59144         (RUN_TEST_f_l): Likewise.
59145         (RUN_TEST_f_L): Likewise.
59146         (RUN_TEST_sincos): Likewise.
59147         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59148         whether to show exceptions.  Do not include ");\n" in return
59149         value.
59150         (special_functions): Output call to RUN_TEST_sincos instead of
59151         check_float calls.  Update calls to new_test.
59152         (parse_args): Output call to single RUN_TEST_* macro instead of
59153         check_* calls and other assignments.  Update calls to new_test.
59155         [BZ #2546]
59156         [BZ #2560]
59157         [BZ #5159]
59158         [BZ #15426]
59159         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59160         input to result for tgamma overflow.
59161         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59162         (gamma_coeff): New variable.
59163         (NCOEFF): New macro.
59164         (gamma_positive): New function.
59165         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59166         underflow here.  Use gamma_positive instead of exp (lgamma) for
59167         other arguments.
59168         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59169         (gamma_coeff): New variable.
59170         (NCOEFF): New macro.
59171         (gammaf_positive): New function.
59172         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59173         underflow here.  Use gamma_positive instead of exp (lgamma) for
59174         other arguments.
59175         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59176         (gamma_coeff): New variable.
59177         (NCOEFF): New macro.
59178         (gammal_positive): New function.
59179         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59180         underflow here.  Use gamma_positive instead of exp (lgamma) for
59181         other arguments.
59182         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59183         (gamma_coeff): New variable.
59184         (NCOEFF): New macro.
59185         (gammal_positive): New function.
59186         (__ieee754_gammal_r): Handle positive infinity, overflow and
59187         underflow here.  Handle NaN the same as positive infinity.  Remove
59188         check x < 0xffffffff for negative integers.  Use gamma_positive
59189         instead of exp (lgamma) for other arguments.
59190         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
59191         (gamma_coeff): New variable.
59192         (NCOEFF): New macro.
59193         (gammal_positive): New function.
59194         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
59195         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
59196         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
59197         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
59198         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
59199         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
59200         * sysdeps/generic/math_private.h (__gamma_productf): New
59201         prototype.
59202         (__gamma_product): Likewise.
59203         (__gamma_productl): Likewise.
59204         * math/Makefile (libm-calls): Add gamma_product.
59205         * math/libm-test.inc (tgamma_test): Add more tests.
59206         * sysdeps/i386/fpu/libm-test-ulps: Update.
59207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59209 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
59211         * benchtests/bench-skeleton.c (main): Preheat CPU.
59213 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
59215         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
59217 2013-05-07  Roland McGrath  <roland@hack.frob.com>
59219         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
59220         and _dl_skip_args_internal.
59222 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
59224         * manual/message.texi (Message Translation): Talk about users.
59225         Message to key mapping impacts design.
59227 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59229         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
59231         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
59233         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
59234         * sysdeps/wordsize-64/glob64.c: ... here.
59236         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
59237         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
59238         New macros.
59240         * debug/getlogin_r_chk.c: Moved to ...
59241         * login/getlogin_r_chk.c: ... here.
59242         * debug/Makefile (routines): Move getlogin_r_chk to ...
59243         * login/Makefile (routines): ... here.
59244         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
59245         * login/Versions (libc: GLIBC_2.4): ... here.
59247         * io/poll.c (__poll): Renamed from poll.
59248         Add libc_hidden_def.
59249         (poll): Define as weak alias.
59251         * debug/ptsname_r_chk.c: Moved to ...
59252         * login/ptsname_r_chk.c: ... here.
59253         * debug/Makefile (routines): Move ptsname_r_chk to ...
59254         * login/Makefile (routines): ... here.
59255         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
59256         * login/Versions (libc: GLIBC_2.4): ... here.
59258         * posix/getlogin.c: Moved to ...
59259         * login/getlogin.c: ... here.
59260         * posix/getlogin_r.c: Moved to ...
59261         * login/getlogin_r.c: ... here.
59262         * posix/getlogin_r.c: Moved to ...
59263         * login/getlogin_r.c: ... here.
59264         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59265         * login/Makefile (routines): ... here.
59266         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59267         * login/Versions (libc: GLIBC_2.0): ... here.
59269         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59270         (setrlimit): Define as weak alias.
59272         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59273         Call __ names for open, ftruncate, and close.
59274         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59275         (truncate): Define as weak alias.
59277 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59279         * math/gen-libm-test.pl (parse_args): Initialize x before each
59280         test of frexp, modf and remquo.
59282         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59283         test signgam value.
59285 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59287         [BZ #15418]
59288         [BZ #15419]
59289         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59290         internal tests.
59291         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59293 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59295         * elf/dl-writev.h: New file.
59296         * elf/dl-misc.c: Include it.
59297         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59298         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59300 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59302         * math/libm-test.inc (noXFails): Remove variable.
59303         (noXPasses): Likewise.
59304         (BUILD_COMPLEX_INT): Remove macro.
59305         (print_screen): Remove xfail argument.
59306         (print_screen_max_error): Likewise.
59307         (update_stats): Likewise.
59308         (print_max_error): Likewise.  Update calls to other affected
59309         functions.
59310         (print_complex_max_error): Likewise.
59311         (test_single_exception): Update calls to print_screen.
59312         (test_single_errno): Likewise.
59313         (check_float_internal): Remove xfail argument.  Update calls to
59314         other affected functions.
59315         (check_float): Likewise.
59316         (check_complex): Likewise.
59317         (check_int): Likewise.
59318         (check_long): Likewise.
59319         (check_bool): Likewise.
59320         (check_longlong): Likewise.
59321         (main): Don't print noXFails and noXPasses.
59322         * math/gen-libm-test.pl (top level): Don't mention expected
59323         failure handling in comment.
59324         (new_test): Don't handle expected failures.
59325         (parse_args): Don't mention expected failure handling in comment.
59326         (generate_testfile): Don't handle expected failures.
59327         (parse_ulps): Likewise.
59328         (print_ulps_file): Likewise.
59329         (get_failure): Remove function.
59330         (output_test): Don't handle expected failures.
59331         * make/README.libm-test: Don't mention expected failure handling.
59333         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59334         (minus_zero): Likewise.
59335         (plus_infty): Likewise.
59336         (minus_infty): Likewise.
59337         (qnan_value): Likewise.
59338         (max_value): Likewise.
59339         (min_value): Likewise.
59340         (min_subnorm_value): Likewise.
59341         (initialize): Do not initialize those variables dynamically.
59343 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59345         * io/open.c (__open_2): Moved to ...
59346         * io/open_2.c: ... this new file.
59347         * io/open64.c (__open64_2): Moved to ...
59348         * io/open64_2.c: ... this new file.
59349         * io/openat.c (__openat_2): Moved to ...
59350         * io/openat_2.c: ... this new file.
59351         * io/openat64.c (__openat64_2): Moved to ...
59352         * io/openat64_2.c: ... this new file.
59353         * io/Makefile (routines): Add them.
59354         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59355         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59356         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59357         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59358         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59359         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59360         (__openat64): Add hidden_ver.
59361         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59362         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59364         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59365         Separately conditionalize setting of GLRO(dl_sysinfo) so
59366         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59367         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59369 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59371         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59372         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59373         definition.
59374         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59375         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59376         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59377         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59378         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59380 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59382         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59383         test signgam value.
59385         * math/libm-test.inc (hypot_test): Do not use
59386         IGNORE_ZERO_INF_SIGN.
59388 2013-05-03  Andreas Jaeger  <aj@suse.de>
59390         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59391         Linux 3.9.
59392         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59393         (PF_MAX): Adjust for VSOCK change.
59395 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59399 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59401         [BZ #15264]
59402         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59403         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59404         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59406 2013-05-02  David S. Miller  <davem@davemloft.net>
59408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59410 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59412         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59414 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59416         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59418 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59420         [BZ #14952]
59421         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59422         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59423         Use __attribute__ ((__gnu_inline__)).
59424         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59425         Don't use __attribute__ ((__gnu_inline__)).
59427 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59429         [BZ #15423]
59430         * math/s_catan.c (__catan): Handle small real or imaginary part of
59431         input specially to avoid spurious underflow.
59432         * math/s_catanf.c (__catanf): Likewise.
59433         * math/s_catanh.c (__catanh): Likewise.
59434         * math/s_catanhf.c (__catanhf): Likewise.
59435         * math/s_catanhl.c (__catanhl): Likewise.
59436         * math/s_catanl.c (__catanl): Likewise.
59437         * math/libm-test.inc (catan_test): Add more tests.
59438         (catanh_test): Likewise.
59439         * sysdeps/i386/fpu/libm-test-ulps: Update.
59440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59442 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59446 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59448         [BZ #15416]
59449         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59450         accurately for denominator in atan2.
59451         * math/s_catanf.c (__catanf): Likewise.
59452         * math/s_catanh.c (__catanh): Likewise.
59453         * math/s_catanhf.c (__catanhf): Likewise.
59454         * math/s_catanhl.c (__catanhl): Likewise.
59455         * math/s_catanl.c (__catanl): Likewise.
59456         * math/libm-test.inc (catan_test): Add more tests.
59457         (catanh_test): Likewise.
59458         * sysdeps/i386/fpu/libm-test-ulps: Update.
59459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59461 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59463         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59465         * benchtests/Makefile (bench): Remove slow benchmarks.
59466         * benchtests/atan-inputs: Add slow benchmark inputs.
59467         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59468         (BENCH_FUNC): Accept variant offset.
59469         (VARIANT): Define.
59470         * benchtests/bench-skeleton.c (main): Run benchmark for each
59471         variant.
59472         * benchtests/cos-inputs: Add slow benchmark inputs.
59473         * benchtests/exp-inputs: Likewise.
59474         * benchtests/pow-inputs: Likewise.
59475         * benchtests/sin-inputs: Likewise.
59476         * benchtests/slowatan-inputs: Remove.
59477         * benchtests/slowatan.c: Remove.
59478         * benchtests/slowcos-inputs: Remove.
59479         * benchtests/slowcos.c: Remove.
59480         * benchtests/slowexp-inputs: Remove.
59481         * benchtests/slowexp.c: Remove.
59482         * benchtests/slowpow-inputs: Remove.
59483         * benchtests/slowpow.c: Remove.
59484         * benchtests/slowsin-inputs: Remove.
59485         * benchtests/slowsin.c: Remove.
59486         * benchtests/slowtan-inputs: Remove.
59487         * benchtests/slowtan.c: Remove.
59488         * benchtests/tan-inputs: Add slow benchmark inputs.
59489         * scripts/bench.pl: Parse comments and directives.
59491         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59492         in CPPFLAGS.
59493         ($(objpfx)bench-%.c): Remove *-ITER.
59494         * benchtests/bench-modf.c: Remove definition of ITER.
59495         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59496         (main): Loop for DURATION seconds instead of fixed number of
59497         iterations.
59498         * scripts/bench.pl: Don't expect iterations in parameters.
59500 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59502         * io/fchdir.c (__fchdir): Renamed from fchdir.
59503         (fchdir): Define as weak alias.
59505 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59507         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59508         (ERRNO_EDOM): Likewise.
59509         (ERRNO_ERANGE): Likewise.
59510         (noErrnoTests): New variable.
59511         (init_max_error): Set errno to 0.
59512         (test_single_errno): New function.
59513         (test_errno): Likewise.
59514         (check_float_internal): Call test_errno.  Set errno to 0.
59515         (check_complex): Refer to errno tests in comment.
59516         (check_int): Call test_errno.  Set errno to 0.
59517         (check_long): Likewise.
59518         (check_bool): Likewise.
59519         (check_longlong): Likewise.
59520         (cos_test): Use ERRNO_* flags for errno tests instead of
59521         check_int.
59522         (expm1_test): Likewise.
59523         (fmod_test): Likewise.
59524         (ilogb_test): Likewise.
59525         (lgamma_test): Likewise.
59526         (pow_test): Likewise.
59527         (remainder_test): Likewise.
59528         (sin_test): Likewise.
59529         (tan_test): Likewise.
59530         (yn_test): Likewise.
59531         (initialize): Set errno to 0.
59532         (main): Print number of errno tests.
59533         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59535 2013-04-29  Andreas Jaeger  <aj@suse.de>
59537         [BZ #15084]
59538         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59539         and RES_USEVC.
59541         [BZ #15085]
59542         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59543         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59544         unimplemented.
59546         [BZ #15380]
59547         * stdlib/random.c (__initstate): Return NULL if
59548         __initstate fails.
59550         [BZ #15086]
59551         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59552         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59553         RES_SNGLKUPREOP.
59555 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59559 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59561         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59562         of individual tests.
59563         (casin_test): Likewise.
59564         (casinh_test): Likewise.
59566 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59568         [BZ #15409]
59569         * math/s_catan.c (__catan): Handle arguments with large real or
59570         imaginary part separately without squaring.
59571         * math/s_catanf.c (__catanf): Likewise.
59572         * math/s_catanh.c (__catanh): Likewise.
59573         * math/s_catanhf.c (__catanhf): Likewise.
59574         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59575         and redefine.
59576         (__catanhl): Handle arguments with large real or imaginary part
59577         separately without squaring.
59578         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59579         and redefine.
59580         (__catanl): Handle arguments with large real or imaginary part
59581         separately without squaring.
59582         * math/libm-test.inc (catan_test): Add more tests.
59583         (catanh_test): Likewise.
59584         * sysdeps/i386/fpu/libm-test-ulps: Update.
59585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59587 2013-04-27  Andreas Jaeger  <aj@suse.de>
59589         [BZ #15007]
59590         * stdlib/stdlib.h: Update guards for qecvt.
59591         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59592         <stdlib.h>.
59594 2013-04-27  Allan McRae  <allan@archlinux.org>
59596         * sysdeps/i386/fpu/libm-test-ulps: Update.
59598 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59600         [BZ #15406]
59601         * math/s_catan.c: Include <float.h>.
59602         (__catan): Ensure underflow exception occurs for underflowed
59603         result.
59604         * math/s_catanf.c: Include <float.h>.
59605         (__catanf): Ensure underflow exception occurs for underflowed
59606         result.
59607         * math/s_catanh.c: Include <float.h>.
59608         (__catanh): Ensure underflow exception occurs for underflowed
59609         result.
59610         * math/s_catanhf.c: Include <float.h>.
59611         (__catanhf): Ensure underflow exception occurs for underflowed
59612         result.
59613         * math/s_catanhl.c: Include <float.h>.
59614         (__catanhl): Ensure underflow exception occurs for underflowed
59615         result.
59616         * math/s_catanl.c: Include <float.h>.
59617         (__catanl): Ensure underflow exception occurs for underflowed
59618         result.
59619         * math/libm-test.inc (catan_test): Add more tests.
59620         (catanh_test): Likewise.
59622         [BZ #15405]
59623         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59624         underflowed result.
59625         * math/s_ccoshf.c (__ccoshf): Likewise.
59626         * math/s_ccoshl.c (__ccoshl): Likewise.
59627         * math/s_csin.c (__csin): Likewise.
59628         * math/s_csinf.c (__csinf): Likewise.
59629         * math/s_csinh.c (__csinh): Likewise.
59630         * math/s_csinhf.c (__csinhf): Likewise.
59631         * math/s_csinhl.c (__csinhl): Likewise.
59632         * math/s_csinl.c (__csinl): Likewise.
59633         * math/libm-test.inc (ccos_test): Add more tests.
59634         (ccosh_test): Likewise.
59635         (csin_test): Likewise.
59636         (csinh_test): Likewise.
59638 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59640         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59641         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59642         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59643         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59644         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59645         powerpc/power5+/fpu folders.
59646         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59649 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59653 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59655         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59656         additions to variable.
59657         [$(config-machine) = x86_64] (modules-names): Likewise.
59658         ($(objpfx)tst-audit3): Remove dependency.
59659         ($(objpfx)tst-audit3.out): Likewise.
59660         ($(objpfx)tst-audit4): Likewise.
59661         ($(objpfx)tst-audit4.out): Likewise.
59662         ($(objpfx)tst-audit5): Likewise.
59663         ($(objpfx)tst-audit5.out): Likewise.
59664         ($(objpfx)tst-audit6): Likewise.
59665         ($(objpfx)tst-audit6.out): Likewise.
59666         ($(objpfx)tst-audit7): Likewise.
59667         ($(objpfx)tst-audit7.out): Likewise.
59668         (tst-audit3-ENV): Remove variable.
59669         (tst-audit4-ENV): Likewise.
59670         (tst-audit5-ENV): Likewise.
59671         (tst-audit6-ENV): Likewise.
59672         (tst-audit7-ENV): Likewise.
59673         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59674         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59675         addition to variable.
59676         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59677         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59678         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59679         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59680         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59681         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59682         tst-audit3, tst-audit4 and tst-audit5.
59683         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59684         tst-audit6 and tst-audit7.
59685         [$(subdir) = elf] (modules-names): Add audit modules for those
59686         tests.
59687         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59688         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59689         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59690         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59691         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59692         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59693         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59694         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59695         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59696         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59697         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59698         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59699         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59700         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59701         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59702         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59703         Likewise.
59704         [$(subdir) = elf && $(config-cflags-avx) = yes]
59705         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59706         [$(subdir) = elf && $(config-cflags-avx) = yes]
59707         (CFLAGS-tst-auditmod4a.c): Likewise.
59708         [$(subdir) = elf && $(config-cflags-avx) = yes]
59709         (CFLAGS-tst-auditmod4b.c): Likewise.
59710         [$(subdir) = elf && $(config-cflags-avx) = yes]
59711         (CFLAGS-tst-auditmod6b.c): Likewise.
59712         [$(subdir) = elf && $(config-cflags-avx) = yes]
59713         (CFLAGS-tst-auditmod6c.c): Likewise.
59714         [$(subdir) = elf && $(config-cflags-avx) = yes]
59715         (CFLAGS-tst-auditmod7b.c): Likewise.
59716         * elf/tst-audit3.c: Move to ...
59717         * sysdeps/x86_64/tst-audit3.c: ... here.
59718         * elf/tst-audit4.c: Move to ...
59719         * sysdeps/x86_64/tst-audit4.c: ... here.
59720         * elf/tst-audit5.c: Move to ...
59721         * sysdeps/x86_64/tst-audit5.c: ... here.
59722         * elf/tst-audit6.c: Move to ...
59723         * sysdeps/x86_64/tst-audit6.c: ... here.
59724         * elf/tst-audit7.c: Move to ...
59725         * sysdeps/x86_64/tst-audit7.c: ... here.
59726         * elf/tst-auditmod3a.c: Move to ...
59727         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59728         * elf/tst-auditmod3b.c: Move to ...
59729         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59730         * elf/tst-auditmod4a.c: Move to ...
59731         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59732         * elf/tst-auditmod4b.c: Move to ...
59733         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59734         * elf/tst-auditmod5a.c: Move to ...
59735         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59736         * elf/tst-auditmod5b.c: Move to ...
59737         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59738         * elf/tst-auditmod6a.c: Move to ...
59739         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59740         * elf/tst-auditmod6b.c: Move to ...
59741         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59742         * elf/tst-auditmod6c.c: Move to ...
59743         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59744         * elf/tst-auditmod7a.c: Move to ...
59745         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59746         * elf/tst-auditmod7b.c: Move to ...
59747         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59749 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59751         [BZ #15366]
59752         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59753         define unconditionally.
59754         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59755         define unconditionally.
59756         (INT8_C, INT16_C, etc.): Likewise.
59758 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59760         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59761         __ehdr_start with hidden visibility.
59763         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59765 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59767         * math/libm-test.inc (cos_test): Use accurate hex constants.
59768         (sincost_test): Likewise.
59770 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59772         * math/libm-test.inc (catan_test): Add more tests.
59773         (catanh_test): Likewise.
59775         * math/s_catanf.c (__catanf): Use suffixed floating-point
59776         constants.
59777         * math/s_catanhf.c (__catanhf): Likewise.
59778         * math/s_catanhl.c (__catanhl): Likewise.
59779         * math/s_catanl.c (__catanl): Likewise.
59781         [BZ #15394]
59782         * math/s_catan.c (__catan): Calculate imaginary part of result
59783         with log1p not log unless computing log of number close to 0.
59784         * math/s_catanf.c (__catanf): Likewise.
59785         * math/s_catanl.c (__catanl): Likewise.
59786         * math/s_catanh.c (__catanh): Calculate real part of result with
59787         log1p not log unless computing log of number close to 0.
59788         * math/s_catanhf.c (__catanhf): Likewise.
59789         * math/s_catanhl.c (__catanhl): Likewise.
59790         * math/libm-test.inc (catan_test): Add more tests.
59791         (catanh_test): Likewise.
59792         * sysdeps/i386/fpu/libm-test-ulps: Update.
59793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59795 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59797         * benchtests/Makefile: Mention files in which fast and slow
59798         paths of math functions are implemented.
59800 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59802         * sysdeps/posix/timespec_get.c: New file.
59804 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59806         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59807         POWER.
59808         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59809         for POWER.
59810         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59811         powerpc/power5/fpu folders.
59812         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59813         * benchtests/Makefile: Add modf testcase.
59814         * benchtests/bench-modf.c: New file: Benchmark test for mo
59816 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59818         [BZ #14888]
59819         * time/Makefile (tests): Add tst-strptime-whitespace.
59820         * time/strptime_l.c (get_number): Use ISSPACE.
59821         (__strptime_internal): Likewise.
59822         * time/tst-strptime-whitespace.c: New test case.
59824 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59826         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59827         member.
59828         (_nss_files_init): Set it here.
59830 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59832         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59833         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59834         unsigned.
59836 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59838         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59840 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59843         size just once.
59845 2013-04-21  David S. Miller  <davem@davemloft.net>
59847         * po/ru.po: Update Russion translation from translation project.
59849 2013-04-17  Adam Conrad  <adconrad@0c3.net>
59851         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59852         and setfsgid.
59854 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
59856         * configure.in: Remove i386 configure warning. Remove i386 case.
59857         * configure: Regenerate.
59858         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59859         Add example to error message.
59860         * sysdeps/i386/configure: Regenerate.
59862 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59864         * benchtests/Makefile (bench): Add cos, tan, slowcos and
59865         slowtan.
59866         * benchtests/cos-inputs: New file.
59867         * benchtests/slowcos-inputs: New file.
59868         * benchtests/slowcos.c: New file.
59869         * benchtests/slowtan-inputs: New file.
59870         * benchtests/slowtan.c: New file.
59871         * benchtests/tan-inputs: New file.
59873 2013-04-16  Roland McGrath  <roland@hack.frob.com>
59875         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
59876         considered kosher.
59878 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59880         * benchtests/Makefile: Include cppflags-iterator.mk to add
59881         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
59883         * Makefile.in (bench-clean): New target.
59884         * benchtests/Makefile (bench-clean): Likewise.
59886 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
59888         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
59890 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
59892         * stdio-common/tstdiomisc.c: Fix coding-style violation.
59894 2013-04-15  Andreas Schwab  <schwab@suse.de>
59896         * nscd/grpcache.c (cache_addgr): Properly check for short write.
59897         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59898         * nscd/pwdcache.c (cache_addpw): Likewise.
59899         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
59900         more than recsize.
59902 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59904         * benchtests/Makefile (bench): Write all output to
59905         bench-out.tmp together.
59907 2013-04-15  Andreas Schwab  <schwab@suse.de>
59909         * nscd/nscd.c (main): Don't fork again after closing files.
59911 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59913         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
59915         * benchtests/Rules (bench-deps): Collect dependencies into a
59916         single variable.  Add Makefile to dependencies.
59917         ($(objpfx)bench-%.c): Depend on bench-deps.
59919 2013-04-12  Roland McGrath  <roland@hack.frob.com>
59920             Xavier Roche  <roche+kml2@exalead.com>
59922         [BZ #15361]
59923         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
59924         just that it's a file descriptor.
59925         * manual/llio.texi (Synchronizing AIO Operations): Update description
59926         for EBADF error from aio_fsync.
59928 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59930         * Rules (bench): Move target definition...
59931         * benchtests/Makefile: ... here.
59933 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
59935         * math/libm-test.inc (cos_test): Fix PI/2 test.
59936         (sincos_test): Likewise.
59937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
59938         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
59940 2013-04-11  Andreas Schwab  <schwab@suse.de>
59942         [BZ #13988]
59943         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
59944         accept exponent character only when digits were seen.
59945         * stdio-common/Makefile (tests): Add bug26.
59946         * stdio-common/bug26.c: New file.
59948         [BZ #14293]
59949         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
59950         non-freeable.
59952 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59954         * Makeconfig (rtld-prefix): Define built linker prefix.
59955         * Rules (run-bench): Use it.
59956         * math/Makefile (run-regen-ulps): Likewise.
59958         * Rules (bench): Remove eval.
59960 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59961             Roland McGrath  <roland@hack.frob.com>
59962             Ondrej Bilka  <neleai@seznam.cz>
59964         [BZ #15346]
59965         * time/getdate.c: Include ctype.h and alloca.h.
59966         (__getdate_r): Trim leading and trailing spaces of input.
59967         * time/tst-getdate.c (tests): Add tests with leading and
59968         trailing spaces.
59970 2013-04-08  Roland McGrath  <roland@hack.frob.com>
59972         [BZ #14280]
59973         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
59974         when computing value.
59976 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59978         * math/README.libm-test (How can I generate "libm-test-ulps"?):
59979         Use testrun.sh to run libm tests.
59981         [BZ #15309]
59982         * elf/dl-open.c (dl_open_worker): memset all of seen array.
59984 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
59986         [BZ #15264]
59987         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
59989 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59991         * Makefile.in (regen-ulps): New target.
59992         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
59993         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
59994         [ifneq (no,$(PERL)] (regen-ulps): New target.
59995         [ifeq (no,$(PERL)] (regen-ulps): New target.
59996         * math/libm-test.inc (ulps_file_name): Define.
59997         (output_dir): New variable.
59998         (options): Add "output-dir" option.
59999         (parse_opt): Handle 'o' case.
60000         (main): If output_dir is non-NULL use it as a prefix
60001         otherwise use "".
60002         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60004 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60006         [BZ #10060, #10062]
60007         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60008         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60009         fail configure if __sync_val_compare_and_swap is not inlined.
60010         * sysdeps/i386/configure: Regenerate.
60011         * configure.in: Build for i686 when configured for i386.
60012         * configure: Regenerate.
60013         * README: Remove i386 reference.
60015 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60017         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60018         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60020 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60022         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60023         (lmsnanval): New variables.
60024         (F): Add conversion tests.
60025         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60026         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60028         * stdio-common/tstdiomisc.c (F): Properly collect individual
60029         tests' results.
60031         [BZ #14686, #15336]
60032         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60033         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60034         Instead, use input NaN values or generate a qNaN by arithmetic
60035         operation.  Also fix bugs to comply with the standard.
60036         * math/libm-test.inc (remainder_test): Add more tests.
60038         [BZ #15335, #15342]
60039         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60040         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60041         input NaN values or generate a qNaN by arithmetic operation.
60043         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60044         unreachable code.
60046         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60047         definitions.
60049 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60051         [BZ #14478]
60052         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60053         underflowed result.
60054         * math/s_cexpf.c (__cexpf): Likewise.
60055         * math/s_cexpl.c (__cexpl): Likewise.
60056         * math/libm-test.inc (cexp_test): Add more tests.
60058 2013-04-03  Andreas Schwab  <schwab@suse.de>
60060         [BZ #15330]
60061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60062         order arrays from heap if bigger than alloca cutoff.
60064 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60066         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60067         (SNAN_TESTS_double): Refer to GCC PR56831.
60068         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60069         GCC PR56828.
60071 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60073         * Rules (bench): Move bench.out after the run is complete.
60075         * Rules (bench): Echo currently running benchmark.
60077         * benchtests/Makefile (bench): Add atan and slowatan.
60078         * benchtests/atan-inputs: New file.
60079         * benchtests/slowatan-inputs: New file.
60080         * benchtests/slowatan.c: New file.
60082         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60083         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60084         its value.
60086         [BZ #15305]
60087         * sysdeps/unix/sysv/linux/kernel-features.h
60088         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60089         __ASSUME_XFS_RESTRICTED_CHOWN.
60090         * sysdeps/unix/sysv/linux/pathconf.c
60091         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60092         Save and restore errno.
60094 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60096         [BZ #15327]
60097         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60098         arguments using __kernel_casinh.
60099         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60100         arguments using __kernel_casinhf.
60101         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60102         arguments using __kernel_casinhl.
60103         * math/libm-test.inc (cacosh_test): Add more tests.
60104         * sysdeps/i386/fpu/libm-test-ulps: Update.
60105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60107 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60109         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60112         * bench/Makefile (bench): Add sin and slowsin.
60113         * benchtests/sin-inputs: New file.
60114         * benchtests/slowsin-inputs: New file.
60115         * benchtests/slowsin.c: New file.
60117         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60118         (bench): Add slowexp and slowpow.
60119         (exp-ITER): Increase iterations.
60120         (pow-ITER): Likewise.
60121         * benchtests/exp-inputs: Change input.
60122         * benchtests/pow-inputs: Likewise.
60123         * benchtests/slowexp-inputs: New file.
60124         * benchtests/slowexp.c: New file.
60125         * benchtests/slowpow-inputs: New file.
60126         * benchtests/slowpow.c: New file.
60128 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60130         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60131         instructions.
60132         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60133         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60134         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60135         * benchtests/Makefile: Add rint benchtest.
60136         * benchtests/rint-inputs: Input for rint benchtest.
60138 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60140         * Versions.def (libm): Add GLIBC_2.18.
60141         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60142         hidden libm prototypes.
60143         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60144         * math/Makefile (libm-calls): Add s_issignaling.
60145         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60146         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60147         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60148         declaration.
60149         * math/math.h [__USE_GNU] (issignaling): New macro.
60150         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60151         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60152         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60153         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60154         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60155         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60156         * manual/arith.texi (issignaling): New section.
60157         * manual/libm-err-tab.pl (@all_functions): Update comment.
60158         * math/gen-libm-test.pl (parse_args): Apply special handling for
60159         issignaling.
60160         * math/libm-test.inc (print_float, issignaling_test): New
60161         functions.
60162         (check_float_internal): Add issignaling checks.
60163         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60164         default definition.
60165         * sysdeps/powerpc/math-tests.h: New file.
60166         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60167         tests.
60168         * math/test-snan.c (TEST_FUNC): Likewise.
60170 2013-03-30  David S. Miller  <davem@davemloft.net>
60172         * po/de.po: Update from translation team.
60174 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60176         [BZ #10357]
60177         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60178         imaginary part less than 1.0 and real part less than 0.5
60179         specially.
60180         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60181         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60182         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60183         (cacos_test): Add more tests.
60184         (casin_test): Likewise.
60185         (casinh_test): Likewise.
60186         * sysdeps/i386/fpu/libm-test-ulps: Update.
60187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60189 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60191         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
60192         ONE with its value.
60194         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
60195         (__pow_mp): Replace ONE and MONE with their values.
60196         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
60198         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60199         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
60200         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60201         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60203         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
60205         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
60206         (__pow_mp): Replace ZERO and MZERO with their values.
60207         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60208         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60209         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60211         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60212         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
60213         (__sqr): Likewise.
60215         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
60217         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
60219 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60221         * include/stdlib.h [!SHARED] (__call_tls_dtors):
60222         Declare with __attribute__ ((weak)).
60223         * stdlib/exit.c (__libc_atexit) [!SHARED]:
60224         Call __call_tls_dtors only if it's not NULL.
60226 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60228         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
60229         didn't do it already, then set _dl_phdr and _dl_phnum based on the
60230         magic __ehdr_start linker symbol if it's defined.
60231         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
60232         them up here if it was already done.
60234         * elf/dl-support.c (_dl_phdr): Make pointer to const.
60235         (_dl_aux_init): Use const in cast when setting it.
60236         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
60237         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
60238         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
60240         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
60241         Declare them here.
60242         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
60243         * csu/libc-tls.c: Nor here.
60244         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
60246         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
60247         (__libc_message): Never call vsyslog.
60249 2013-03-28  Alan Modra  <amodra@gmail.com>
60251         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
60252         Define as empty.
60253         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
60254         Likewise.
60256 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60258         [BZ #15214]
60259         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
60260         underflow.
60261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60263 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60265         [BZ #15304]
60266         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60267         Don't add gid passed as argument.
60269         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60271 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60273         [BZ #15307]
60274         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60275         imaginary part between 1.0 and 1.5 and real part less than 0.5
60276         specially.
60277         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60278         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60279         * math/libm-test.inc (cacos_test): Add more tests.
60280         (casin_test): Likewise.
60281         (casinh_test): Likewise.
60282         * sysdeps/i386/fpu/libm-test-ulps: Update.
60283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60285 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60287         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60288         constants.
60289         (norm): Likewise.
60290         (denorm): Likewise.
60291         (__dbl_mp): Likewise.
60292         (add_magnitudes): Likewise.
60293         (sub_magnitudes): Likewise.
60294         (__add): Likewise.
60295         (__sub): Likewise.
60296         (__mul): Likewise.
60297         (__sqr): Likewise.
60298         (__inv): Likewise.
60299         (__dvd): Likewise.
60301         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60302         commented code.
60303         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60304         (__dubcos): Likewise.
60305         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60306         (__ieee754_acos): Likewise.
60307         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60308         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60309         (__exp1): Likewise.
60310         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60312         (log1): Likewise.
60313         (my_log2): Likewise.
60314         (checkint): Likewise.
60315         * sysdeps/ieee754/dbl-64/e_remainder.c
60316         (__ieee754_remainder): Likewise.
60317         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60318         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60319         (bsloww): Likewise.
60320         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60322         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60323         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60324         MANTISSA_STORE_T to store computations on mantissa.  Use
60325         macros for rounding and division.
60326         (denorm): Likewise.
60327         (__dbl_mp): Likewise.
60328         (add_magnitudes): Likewise.
60329         (sub_magnitudes): Likewise.
60330         (__mul): Likewise.
60331         (__sqr): Likewise.
60332         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60333         powers of two in terms of TWOPOW macro.
60334         (mp_no): Make type of mantissa as MANTISSA_T.
60335         [!RADIXI]: Define RADIXI.
60336         [!TWO52]: Define TWO52.
60337         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60339 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60341         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60342         llroundl symbol when building for PPC32.
60344 2013-03-24  Mark H Weaver  <mhw@netris.org>
60346         * manual/arith.texi (Normalization Functions): Fix prototypes for
60347         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60349 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60351         [BZ #13889]
60352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60353         high value to check if expl overflow.
60354         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60355         to check for underflow and overflow.
60356         * math/libm-test.inc: Add exp test.
60358 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60360         [BZ #11120]
60361         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60362         with NOT_IN_libc.
60364 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60366         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60367         symbol.
60369 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60371         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60372         wrap blocks consisting of several statements.
60374         * sysdeps/generic/math-tests.h: New file.
60375         * sysdeps/i386/fpu/math-tests.h: Likewise.
60376         * math/test-snan.c: Include it.
60377         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60379 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60381         [BZ #15285]
60382         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60383         (__ieee754_j0l): Do not improve calculations using cos of twice
60384         input for inputs above LDBL_MAX / 2.0L.
60385         (__ieee754_y0l): Likewise.
60386         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60387         (__ieee754_j1l): Do not improve calculations using cos of twice
60388         input for inputs above LDBL_MAX / 2.0L.
60389         (__ieee754_y1l): Likewise.
60390         * math/libm-test.inc (j0_test): Add another test.
60391         (j1_test): Likewise.
60392         (y0_test): Likewise.
60393         (y1_test): Likewise.
60394         * sysdeps/i386/fpu/libm-test-ulps: Update.
60396 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60398         * Rules ($(objpfx)bench-%.c): Include code from a C source
60399         file.
60401 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60403         [BZ #15287]
60404         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60405         imaginary part 1.0 and real part less than 0.5 specially.
60406         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60407         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60408         * math/libm-test.inc (cacos_test): Add more tests.
60409         (casin_test): Likewise.
60410         (casinh_test): Likewise.
60411         * sysdeps/i386/fpu/libm-test-ulps: Update.
60412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60414 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60416         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60417         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60419 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60421         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60422         * config.make.in (config-cflags-sse4): Remove variable.
60423         (config-cflags-avx): Likewise.
60424         (config-cflags-sse2avx): Likewise.
60425         (config-cflags-novzeroupper): Likewise.
60426         (config-asflags-i686): Likewise.
60427         (have-mfma4): Likewise.
60428         (have-as-vis3): Likewise.
60429         (MIG): Likewise.
60430         * configure.in (MIG): Do not AC_SUBST.
60431         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60432         (libc_cv_cc_sse4): Do not AC_SUBST.
60433         (libc_cv_cc_avx): Likewise.
60434         (libc_cv_cc_sse2avx): Likewise.
60435         (libc_cv_cc_novzeroupper): Likewise.
60436         (libc_cv_cc_fma4): Likewise.
60437         (libc_cv_as_i686): Likewise.
60438         (libc_cv_sparc_as_vis3): Likewise.
60439         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60440         LIBC_CONFIG_VAR.
60441         (config-asflags-i686): Likewise.
60442         (config-cflags-avx): Likewise.
60443         (config-cflags-sse2avx): Likewise.
60444         (have-mfma4): Likewise.
60445         (config-cflags-novzeroupper): Likewise.
60446         * sysdeps/mach/configure.in (MIG): Likewise.
60447         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60448         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60449         LIBC_CONFIG_VAR.
60450         (config-cflags-avx): Likewise.
60451         (config-cflags-sse2avx): Likewise.
60452         (have-mfma4): Likewise.
60453         (config-cflags-novzeroupper): Likewise.
60454         * configure: Regenerated.
60455         * sysdeps/i386/configure: Likewise.
60456         * sysdeps/mach/configure: Likewise.
60457         * sysdeps/sparc/configure: Likewise.
60458         * sysdeps/x86_64/configure: Likewise.
60460 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60462         [BZ #14812]
60463         * locale/programs/localedef.c (options): Put N_ translation marker
60464         on argument names, not just descriptions.
60466 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60468         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60470 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60472         [BZ #14176]
60473         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60475 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60477         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60478         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60479         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60480         [!BEFORE_ABORT] (before_abort): New function.
60481         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60482         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60483         (writev_for_fatal): New function.
60484         (WRITEV_FOR_FATAL): New macro; call that.
60485         (backtrace_and_maps): New function.
60486         (BEFORE_ABORT): New macro; call that.
60487         (struct str_list): Type removed.
60488         (__libc_message, __libc_fatal): Functions removed.
60489         Include <sysdeps/posix/libc_fatal.c> instead.
60491 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60493         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60494         constants.
60495         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60496         double constants.
60498 2013-03-19  Andreas Schwab  <schwab@suse.de>
60500         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60501         * sysdeps/gnu/configure: Regenerate.
60503         * configure.in: Substitute libc_cv_rtlddir.
60504         * configure: Regenerate.
60505         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60506         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60507         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60508         * elf/Makefile (install-others, CFLAGS-interp.c)
60509         (ldso_install, common-ldd-rewrite): Likewise.
60510         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60511         $(inst_slibdir)/$(rtld-installed-name).
60512         * scripts/rellns-sh: Add -p option.
60513         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60514         for source.
60516 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60518         * manual/nptl.texi: Renamed to ...
60519         * manual/threads.texi: ... this.
60520         * manual/Makefile (chapters): Update.
60522 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60524         [BZ #14812]
60525         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60526         on argument names, not just descriptions.
60527         * malloc/memusagestat.c (options): Likewise.
60528         * nss/getent.c (options): Likewise.
60530 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60532         [BZ #14812]
60533         * iconv/iconv_prog.c (options): Put N_ translation marker
60534         on argument names, not just descriptions.
60535         * iconv/iconvconfig.c (options): Likewise.
60537 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60539         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60540         implementation which is faster on all x86_64 architectures.
60541         Tested on AMD, Intel Nehalem, SNB, IVB.
60542         * sysdeps/x86_64/strnlen.S: Likewise.
60544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60545         Remove all multiarch strlen and strnlen versions.
60546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60547         Remove strlen and strnlen related parts.
60549         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60550         Inline strlen part.
60551         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60553         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60554         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60555         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60556         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60557         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60558         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60560 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60562         * manual/memory.texi (Malloc Tunable Parameters):
60563         Sort parameters alphabetically. Add comments for missing entries.
60565 2013-03-17  David S. Miller  <davem@davemloft.net>
60567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60569 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60571         [BZ #15283]
60572         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60573         for arguments at most half maximum finite value.
60574         * math/libm-test.inc (j0_test): Add more tests.
60575         (j1_test): Likewise.
60576         (y0_test): Likewise.
60577         (y1_test): Likewise.
60578         * sysdeps/i386/fpu/libm-test-ulps: Update.
60579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60581         [BZ #14155]
60582         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60583         1 / x and functions P and Q for arguments above 0x1p256L.
60584         (__ieee754_y0l): Likewise.
60585         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60586         (__ieee754_y1l): Likewise.
60587         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60588         (j1_test): Likewise.
60589         (y0_test): Likewise.
60590         (y1_test): Likewise.
60592 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60594         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60595         variable.
60597 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60599         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60600         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60601         zero since it's initialized to EXEC_PAGESIZE.
60603         * sysdeps/unix/sysv/linux/ldsodefs.h
60604         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60605         * sysdeps/generic/ldsodefs.h: ... here.
60607 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60609         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60611         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60612         math/test-snan.c.
60613         * math/test-snan.c: Renamed from
60614         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60615         * math/Makefile (tests): Add test-snan.
60616         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60617         test-powerpc-snan.
60619         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60620         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60621         functions.
60622         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60623         __builtin_nan family of functions.
60624         * math/libm-test.inc (initialize): Initialize qnan_value with
60625         __builtin_nan family of functions.
60626         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60627         Remove variables.
60628         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60629         Remove functions.
60630         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60631         storage class.  Initialize qNaN_var and sNaN_var with
60632         __builtin_nan and __builtin_nans families of functions,
60633         respectively.
60635         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60636         (sqrt_test): Remove duplicate test with qNaN input.
60637         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60638         (round_test, signbit_test, significand_test): Note missing +/-Inf
60639         as well as qNaN tests.
60641         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60642         qNaN_var.  Fix a few strings, too.
60643         * math/libm-test.inc (nan_value): Rename to qnan_value.
60644         * math/gen-libm-test.pl (%beautify): Adjust to that.
60645         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60646         * math/test-misc.c (main): Likewise.
60647         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60648         to __qnan_bytes, and __qnan_union, respectively.
60649         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60650         Likewise.
60651         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60652         and lqnanval, respectively.
60653         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60654         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60655         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60656         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60658         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60659         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60660         doubles.
60662         * math/test-misc.c (main): Fix copy'n'pastos.
60663         * misc/tst-efgcvt.c (special): Likewise.
60665         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60666         Remove declarations.
60668 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60670         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60671         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60672         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60673         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60675 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60677         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60678         macro to return vdso values correctly in IFUNC implementations.
60679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60680         Optimization by using IFUNC.
60682 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60683             Richard Henderson  <rth@redhat.com>
60684             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60686         * Makefile.in (bench): New target.
60687         * NEWS: Mention the benchmark framework.
60688         * Rules (bench): Likewise.
60689         (binaries-bench): Generate binaries for functions to
60690         benchmark.
60691         * benchtests/Makefile: New makefile for benchmark tests.
60692         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60693         programs.
60694         * benchtests/exp-inputs: New input file for EXP function.
60695         * benchtests/pow-inputs: New input file for POW function.
60696         * scripts/bench.pl: New script to generate source files for
60697         benchmark programs.
60699 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60701         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60702         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60703         computations on mantissa.  Use macros for rounding and
60704         division.
60705         (denorm): Likewise.
60706         (__dbl_mp): Likewise.
60707         (add_magnitudes): Likewise.
60708         (sub_magnitudes): Likewise.
60709         (__mul): Likewise.
60710         (__sqr): Likewise.
60711         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60712         powers of two in terms of TWOPOW macro.
60713         (mp_no): Make type of mantissa as MANTISSA_T.
60714         [!RADIXI]: Define RADIXI.
60715         [!TWO52]: Define TWO52.
60716         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60718         * manual/nptl.texi (cindex): Modify threads to pthreads.
60720 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60722         * sysdeps/x86_64/preconfigure: Regenerated.
60724 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60726         [BZ #14155]
60727         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60728         0x1p28 and above.
60729         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60730         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60731         0x1p28 and above.
60732         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60733         * math/libm-test.inc (j0_test): Do not allow one spurious
60734         underflow exception.
60735         (y1_test): Likewise.
60737 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60739         * manual/Makefile (chapters): Add nptl.
60740         * manual/debug.texi (Debugging Support): Add link to Threads
60741         chapter.
60742         * manual/nptl.texi: New file.
60744         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60746 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60748         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60749         for non-NULL pointer before the memory validity test. Pointed
60750         out by Holger Brunck <holger.brunck@keymile.com>.
60752 2013-03-13  Andreas Schwab  <schwab@suse.de>
60754         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60755         instead of .os.
60757 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60759         * timezone/zic.c: Update from tzcode 2013b.
60761 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60763         * manual/install.texi (Configuring and compiling):
60764         Mention i686 and i586.
60765         * INSTALL: Regenerate.
60767 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60769         * sysdeps/init_array/elf-init.c: New file.
60770         * csu/elf-init.c
60771         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60772         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60774         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60775         __gmon_start__ as global, but as static with a .preinit_array pointer.
60776         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60777         * sysdeps/init_array/crti.S: New file, empty except for comments.
60778         * sysdeps/init_array/crtn.S: Likewise.
60780 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60782         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60783         definining bcopy.
60784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60785         Remove Prefer_SSE_for_memop.
60786         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60787         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60788         HAS_PREFER_SSE_FOR_MEMOP.
60789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60790         memset-x86-64.
60791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60792         Remove bzero, memset ifunc support.
60793         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60794         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60795         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60796         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60798 2013-03-11  Andreas Schwab  <schwab@suse.de>
60800         [BZ #15234]
60801         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60802         by SHLIB_COMPAT.
60803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60804         (GLIBC_2.16): Remove pthread_atfork.
60806 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60808         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60809         (ptestcases.h): Likewise.
60811 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60813         * Makeconfig ($(common-objpfx)config.status): Depend on
60814         sysdeps/*/preconfigure{,.in} too.
60816 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60818         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60819         (__free_hook): Use void * instead of __malloc_ptr_t.
60820         (__malloc_hook): Likewise.
60821         (__realloc_hook): Likewise.
60822         (__memalign_hook): Likewise.
60823         (__after_morecore_hook): Likewise.
60824         * malloc/arena.c (save_malloc_hook): Likewise.
60825         (save_free_hook): Likewise.
60826         * malloc/hooks.c (malloc_hook_ini): Likewise.
60827         (realloc_hook_ini): Likewise.
60828         (memalign_hook_ini): Likewise.
60829         * malloc/malloc.c (malloc_hook_ini): Likewise.
60830         (realloc_hook_ini): Likewise.
60831         (memalign_hook_ini): Likewise.
60832         (__free_hook): Likewise.
60833         (__malloc_hook): Likewise.
60834         (__realloc_hook): Likewise.
60835         (__memalign_hook): Likewise.
60836         (__libc_malloc): Likewise.
60837         (__libc_free): Likewise.
60838         (__libc_realloc): Likewise.
60839         (__libc_memalign): Likewise.
60840         (__libc_valloc): Likewise.
60841         (__libc_pvalloc): Likewise.
60842         (__libc_calloc): Likewise.
60843         (__posix_memalign): Likewise.
60844         * malloc/morecore.c (__sbrk): Likewise.
60845         (__default_morecore): Likewise.
60847         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60849         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60850         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60851         __malloc_ptrdiff_t.
60853         * malloc/malloc.h (__malloc_size_t): Remove macro.
60854         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60855         __malloc_size_t.
60856         (old_memalign_hook): Likewise.
60857         (old_realloc_hook): Likewise.
60858         (struct hdr): Likewise.
60859         (flood): Likewise.
60860         (mallochook): Likewise.
60861         (memalignhook): Likewise.
60862         (reallochook): Likewise.
60863         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60864         (tr_old_realloc_hook): Likewise.
60865         (tr_old_memalign_hook): Likewise.
60866         (tr_mallochook): Likewise.
60867         (tr_reallochook): Likewise.
60868         (tr_memalignhook): Likewise.
60870 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
60873         default_ldbl_pack and using as default implementation.
60874         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60875         implementation.
60876         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
60877         redundant definition.
60878         (ldbl_insert_mantissa): Likewise.
60879         (ldbl_canonicalize): Likewise.
60880         (ldbl_nearbyint): Likewise.
60881         (ldbl_pack): Rename to ldbl_pack_ppc.
60882         (ldbl_unpack): Rename to ldbl_unpack_ppc.
60883         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
60884         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
60886 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
60889         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
60890         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
60891         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
60892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
60893         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
60894         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
60895         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
60897 2013-03-07  Andreas Jaeger  <aj@suse.de>
60899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60900         bits/mman-linux.h.
60902 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60904         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
60905         Include mpa.h and declare __MPEXP.
60906         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
60907         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60908         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60909         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
60910         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60911         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60912         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
60914         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
60915         (__slowpow): Use long double EXPL and LOGL functions to
60916         compute POW.
60917         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60918         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60919         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
60920         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60921         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60922         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
60924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
60925         intermediate variable to calculate exponent.
60926         (__sqr): Likewise.
60927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60928         Likewise.
60929         (__sqr): Likewise.
60931         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
60932         [!NO__SQR]: Define __sqr.
60933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
60934         and NO__SQR.  Remove all code except __mul and __sqr.  Include
60935         sysdeps/ieee754/dbl-64/mpa.c.
60936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60938         [BZ #12723]
60939         * posix/Makefile (tests): Add tst-pathconf.
60940         * posix/tst-pathconf.c: New test case.
60941         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
60942         _PC_PIPE_BUF.
60943         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
60945 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
60947         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
60949 2013-03-06  Andreas Jaeger  <aj@suse.de>
60951         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
60952         definition via __MAP_ANONYMOUS.
60954         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
60955         it's not part of Linux headers.
60957         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
60958         (MAP_HUGE_MASK): Define.
60960         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60961         Define.
60962         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60963         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60964         Define.
60965         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60966         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60967         Define.
60968         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60969         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
60970         Define.
60971         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60973         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
60974         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
60975         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
60976         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
60977         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
60978         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
60980         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60981         Handle f2fs.
60983         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60984         Handle f2fs and efivarfs.
60986         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
60987         f2fs.
60989         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
60990         (EFIVARFS_MAGIC): Add.
60991         (F2FS_LINK_MAX): Add.
60993 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60995         * stdio-common/vfprintf.c: Replace __builtin_expect with
60996         __glibc_unlikely.
60998 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61000         [BZ #13550]
61001         * sysdeps/generic/bp-sym.h: Remove file.
61002         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61003         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61004         <bp-sym.h> and <bp-asm.h>.
61005         (__longjmp): Don't use BP_SYM.
61006         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61007         and <bp-asm.h>.
61008         (memcpy): Don't use BP_SYM.
61009         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61010         <bp-sym.h> and <bp-asm.h>.
61011         (memcpy): Don't use BP_SYM.
61012         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61013         <bp-asm.h>.
61014         (memcpy): Don't use BP_SYM.
61015         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61016         <bp-asm.h>.
61017         (memset): Don't use BP_SYM.
61018         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61019         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61020         (__bzero): Don't use BP_SYM.
61021         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61022         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61023         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61024         <bp-sym.h> and <bp-asm.h>.
61025         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61026         pointers.
61027         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61028         <bp-sym.h> and <bp-asm.h>.
61029         (memcpy): Don't use BP_SYM.
61030         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61031         <bp-sym.h> and <bp-asm.h>.
61032         (memset): Don't use BP_SYM.
61033         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61034         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61035         (__bzero): Don't use BP_SYM.
61036         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61037         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61038         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61039         <bp-sym.h> and <bp-asm.h>.
61040         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61041         pointers.
61042         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61043         <bp-sym.h> and <bp-asm.h>.
61044         (memcpy): Don't use BP_SYM.
61045         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61046         <bp-sym.h> and <bp-asm.h>.
61047         (memset): Don't use BP_SYM.
61048         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61049         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61050         (__bzero): Don't use BP_SYM.
61051         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61052         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61053         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61054         <bp-sym.h> and <bp-asm.h>.
61055         (__memchr): Don't use BP_SYM.
61056         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61057         <bp-sym.h> and <bp-asm.h>.
61058         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61059         pointers.
61060         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61061         <bp-sym.h> and <bp-asm.h>.
61062         (memcpy): Don't use BP_SYM.
61063         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61064         <bp-sym.h> and <bp-asm.h>.
61065         (__mempcpy): Don't use BP_SYM.
61066         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61067         <bp-sym.h> and <bp-asm.h>.
61068         (__memrchr): Don't use BP_SYM.
61069         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61070         <bp-sym.h> and <bp-asm.h>.
61071         (memset): Don't use BP_SYM.
61072         (__bzero): Likewise.
61073         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61074         <bp-sym.h> and <bp-asm.h>.
61075         (__rawmemchr): Don't use BP_SYM.
61076         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61077         <bp-sym.h> and <bp-asm.h>.
61078         (__STRCMP): Don't use BP_SYM.
61079         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61080         <bp-sym.h> and <bp-asm.h>.
61081         (strchr): Don't use BP_SYM.
61082         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61083         <bp-sym.h> and <bp-asm.h>.
61084         (__strchrnul): Don't use BP_SYM.
61085         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61086         <bp-sym.h> and <bp-asm.h>.
61087         (strlen): Don't use BP_SYM.
61088         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61089         <bp-sym.h> and <bp-asm.h>.
61090         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61091         pointers.
61092         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61093         <bp-sym.h> and <bp-asm.h>.
61094         (__strnlen): Don't use BP_SYM.
61095         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61096         <bp-sym.h> and <bp-asm.h>.
61097         (__GI__setjmp): Don't use BP_SYM.
61098         (_setjmp): Likewise.
61099         (__sigsetjmp): Likewise.
61100         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61101         (L(start_addresses)): Don't use BP_SYM.
61102         (_start): Likewise.
61103         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61104         <bp-asm.h>.
61105         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61106         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61107         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61108         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61109         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61110         <bp-asm.h>.
61111         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61112         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61113         about bounded pointers.
61114         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61115         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61116         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61117         <bp-asm.h>.
61118         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61119         about bounded pointers.  Remove GKM FIXME comments.
61120         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61121         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61122         <bp-asm.h>.
61123         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61124         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61125         Remove GKM FIXME comments.
61126         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61127         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61128         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61129         <bp-asm.h>.
61130         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61131         about bounded pointers.  Remove GKM FIXME comment.
61132         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61133         and <bp-asm.h>.
61134         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61135         pointers.
61136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61137         <bp-sym.h> and <bp-asm.h>.
61138         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61140         <bp-sym.h> and <bp-asm.h>.
61141         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61142         comment.
61144 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61146         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61147         call free(NULL).
61149 2013-03-05  David S. Miller  <davem@davemloft.net>
61151         * po/es.po: Update from translation team.
61153 2013-03-05  Andreas Jaeger  <aj@suse.de>
61155         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61156         <bits/mman-linux.h>.
61157         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61158         is fine.
61159         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61160         <bits/mman-linux.h> to end of file.
61161         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61162         is fine.
61163         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61164         <bits/mman-linux.h> to end of file.
61165         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61166         is fine.
61167         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61168         <bits/mman-linux.h> to end of file.
61170         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61171         (MCL_CURRENT, MCL_FUTURE): Define here.
61173 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61175         [BZ #15232]
61176         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61177         attribute_hidden.
61178         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61180 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61182         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61183         fourth parameter needed for rt_sigprocmask syscall.
61184         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
61185         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61186         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
61187         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61188         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61189         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
61191 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
61193         [BZ #13550]
61194         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
61195         comment about bounded pointers.
61196         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
61197         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
61199 2013-03-04  Andreas Jaeger  <aj@suse.de>
61201         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
61202         common definitions.
61204         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61205         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
61206         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
61207         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61208         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61209         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61211 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61213         [BZ #15055]
61214         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
61215         __ieee754_sqrl instead of __sqrl.
61217 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
61219         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
61220         * sysdeps/powerpc/fpu_control.h: ... here.
61221         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
61222         * sysdeps/powerpc/bits/fenvinline.h: ... here.
61223         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
61224         * sysdeps/powerpc/bits/mathinline.h: ... here.
61226 2013-03-01  Roland McGrath  <roland@hack.frob.com>
61228         * elf/dl-hwcaps.c (_dl_important_hwcaps):
61229         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
61230         to just [NEED_DL_SYSINFO_DSO].
61231         * elf/dl-support.c: Likewise.
61232         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
61233         * elf/rtld.c (dl_main): Likewise.
61234         * elf/setup-vdso.h (setup_vdso): Likewise.
61235         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
61236         * sysdeps/unix/sysv/linux/dl-sysdep.c
61237         (_dl_discover_osversion): Likewise.
61239 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
61241         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
61242         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61244 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
61246         * NEWS: Mention libm performance improvements and non-x86 PI
61247         futex support.
61249         * csu/libc-start.c (__pthread_initialize_minimal): Change
61250         function arguments.
61251         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61253 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
61255         [BZ #13550]
61256         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
61257         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
61258         <bp-sym.h> and <bp-asm.h>.
61259         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61260         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61261         and <bp-asm.h>.
61262         (memcpy): Don't use BP_SYM.
61263         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61264         <bp-asm.h>.
61265         (__mpn_add_n): Don't use BP_SYM.
61266         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61267         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61268         and <bp-asm.h>.
61269         (__mpn_addmul_1): Don't use BP_SYM.
61270         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61271         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61272         <bp-sym.h>.
61273         (_setjmp): Don't use BP_SYM.
61274         (__novmx_setjmp): Likewise.
61275         (__GI__setjmp): Likewise.
61276         (__vmx_setjmp): Likewise.
61277         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61278         <bp-sym.h>.
61279         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61280         (__bzero): Don't use BP_SYM.
61281         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61282         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61283         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61284         <bp-sym.h> and <bp-asm.h>.
61285         (memcpy): Don't use BP_SYM.
61286         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61287         <bp-sym.h> and <bp-asm.h>.
61288         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61289         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61290         <bp-sym.h> and <bp-asm.h>.
61291         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61292         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61293         <bp-asm.h>.
61294         (__mpn_lshift): Don't use BP_SYM.
61295         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61296         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61297         <bp-asm.h>.
61298         (memset): Don't use BP_SYM.
61299         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61300         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61301         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61302         <bp-asm.h>.
61303         (__mpn_mul_1): Don't use BP_SYM.
61304         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61305         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61306         <bp-sym.h> and <bp-asm.h>.
61307         (memcmp): Don't use BP_SYM.
61308         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61309         <bp-sym.h> and <bp-asm.h>.
61310         (memcpy): Don't use BP_SYM.
61311         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61312         <bp-sym.h> and <bp-asm.h>.
61313         (memset): Don't use BP_SYM.
61314         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61315         <bp-sym.h> and <bp-asm.h>.
61316         (strncmp): Don't use BP_SYM.
61317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61318         <bp-sym.h> and <bp-asm.h>.
61319         (memcpy): Don't use BP_SYM.
61320         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61321         <bp-sym.h> and <bp-asm.h>.
61322         (memset): Don't use BP_SYM.
61323         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61324         <bp-sym.h> and <bp-asm.h>.
61325         (__memchr): Don't use BP_SYM.
61326         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61327         <bp-sym.h> and <bp-asm.h>.
61328         (memcmp): Don't use BP_SYM.
61329         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61330         <bp-sym.h> and <bp-asm.h>.
61331         (memcpy): Don't use BP_SYM.
61332         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61333         <bp-sym.h> and <bp-asm.h>.
61334         (__mempcpy): Don't use BP_SYM.
61335         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61336         <bp-sym.h> and <bp-asm.h>.
61337         (__memrchr): Don't use BP_SYM.
61338         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61339         <bp-sym.h> and <bp-asm.h>.
61340         (memset): Don't use BP_SYM.
61341         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61342         <bp-sym.h> and <bp-asm.h>.
61343         (__rawmemchr): Don't use BP_SYM.
61344         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61345         <bp-sym.h> and <bp-asm.h>.
61346         (__STRCMP): Don't use BP_SYM.
61347         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61348         <bp-sym.h> and <bp-asm.h>.
61349         (strchr): Don't use BP_SYM.
61350         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61351         <bp-sym.h> and <bp-asm.h>.
61352         (__strchrnul): Don't use BP_SYM.
61353         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61354         <bp-sym.h> and <bp-asm.h>.
61355         (strlen): Don't use BP_SYM.
61356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61357         <bp-sym.h> and <bp-asm.h>.
61358         (strncmp): Don't use BP_SYM.
61359         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61360         <bp-sym.h> and <bp-asm.h>.
61361         (__strnlen): Don't use BP_SYM.
61362         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61363         <bp-asm.h>.
61364         (__mpn_rshift): Don't use BP_SYM.
61365         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61366         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61367         <bp-sym.h> and <bp-asm.h>.
61368         (__sigsetjmp): Don't use BP_SYM.
61369         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61370         (L(start_addresses)): Don't use BP_SYM.
61371         (_start): Likewise.
61372         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61373         <bp-asm.h>.
61374         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61375         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61376         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61377         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61378         <bp-asm.h>.
61379         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61380         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61381         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61382         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61383         <bp-asm.h>.
61384         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61385         comments.
61386         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61387         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61388         <bp-asm.h>.
61389         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61390         FIXME comments.
61391         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61392         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61393         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61394         <bp-asm.h>.
61395         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61396         comment.
61397         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61398         and <bp-asm.h>.
61399         (strncmp): Don't use BP_SYM,
61400         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61401         <bp-asm.h>.
61402         (__mpn_sub_n): Don't use BP_SYM.
61403         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61404         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61405         and <bp-asm.h>.
61406         (__mpn_submul_1): Don't use BP_SYM.
61407         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61409         <bp-sym.h> and <bp-asm.h>.
61410         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61412         <bp-sym.h> and <bp-asm.h>.
61413         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61414         comment.
61416 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61419         Use ZK to minimize writes to Z.
61420         (sub_magnitudes): Simplify code a bit.
61421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61422         Use ZK to minimize writes to Z.
61423         (sub_magnitudes): Simplify code a bit.
61425 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61427         * csu/gmon-start.c: Add special exception to license text.
61429 2013-02-27  Richard Henderson  <rth@redhat.com>
61431         * scripts/config.guess: Update from config.git.
61432         * scripts/config.sub: Likewise.
61434 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61436         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61438         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61440         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61442         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61444         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61446 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61448         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61449         [$(build-shared = yes].
61451 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61453         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61454         (__mul): Reduce iterations for calculating mantissa.
61456         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61457         MPTWO.
61458         (__mpranred): Likewise.
61460         [BZ #15160]
61461         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61462         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61464 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61466         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61467         Define __attribute__.
61469 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61471         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61472         unused.
61473         * posix/regex_internal.h (__attribute): Remove.
61474         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61475         (re_string_context_at): Likewise.
61476         (bitset_not): Use __attribute__ and mark function as possibly
61477         unused.
61478         (bitset_merge): Likewise.
61479         (bitset_mask): Likewise.
61480         (re_string_char_size_at): Likewise.
61481         (re_string_wchar_at): Likewise.
61482         (re_string_elem_size_at): Likewise.
61484 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61486         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61487         code.
61488         (cc32): Likewise.
61490         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61491         (__acr): Likewise.
61492         (__cpy): Likewise.
61493         (norm): Likewise.
61494         (denorm): Likewise.
61495         (__dbl_mp): Likewise.
61496         (add_magnitudes): Likewise.
61497         (sub_magnitudes): Likewise.
61498         (__mul): Likewise.
61499         (__inv): Likewise.
61501         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61502         style.
61504         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61505         style.
61507         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61508         code.
61510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61511         up changes with default code.
61512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61513         Likewise.
61515 2013-02-24  Allan McRae  <allan@archlinux.org>
61517         * manual/socket.texi (The Internet Namespace): Order menu items
61518         to match that in the file.
61520         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61521         node listing of the info page menu.
61523 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61525         [BZ #13550]
61526         * sysdeps/i386/bp-asm.h: Remove file.
61527         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61528         (PARMS): Do not use macros from bp-asm.h.
61529         (S1): Likewise.
61530         (S2): Likewise.
61531         (SIZE): Likewise.
61532         (__mpn_add_n): Do not use BP_SYM
61533         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61534         "bp-asm.h".
61535         (PARMS): Do not use macros from bp-asm.h.
61536         (S1): Likewise.
61537         (SIZE): Likewise.
61538         (__mpn_addmul_1): Do not use BP_SYM
61539         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61540         "bp-asm.h".
61541         (PARMS): Do not use macros from bp-asm.h.
61542         (SIGMSK): Likewise.
61543         (_setjmp): Likewise.  Do not use BP_SYM.
61544         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61545         "bp-asm.h".
61546         (PARMS): Do not use macros from bp-asm.h.
61547         (SIGMSK): Likewise.
61548         (setjmp): Likewise.  Do not use BP_SYM.
61549         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61550         "bp-asm.h".
61551         (PARMS): Do not use macros from bp-asm.h.
61552         (__frexp): Do not use BP_SYM.
61553         (frexp): Likewise.
61554         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61555         "bp-asm.h".
61556         (PARMS): Do not use macros from bp-asm.h.
61557         (__frexpf): Do not use BP_SYM.
61558         (frexpf): Likewise.
61559         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61560         "bp-asm.h".
61561         (PARMS): Do not use macros from bp-asm.h.
61562         (__frexpl): Do not use BP_SYM.
61563         (frexpl): Likewise.
61564         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61565         "bp-asm.h".
61566         (PARMS): Do not use macros from bp-asm.h.
61567         (__remquo): Do not use BP_SYM.
61568         (remquo): Likewise.
61569         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61570         "bp-asm.h".
61571         (PARMS): Do not use macros from bp-asm.h.
61572         (__remquof): Do not use BP_SYM.
61573         (remquof): Likewise.
61574         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61575         "bp-asm.h".
61576         (PARMS): Do not use macros from bp-asm.h.
61577         (__remquol): Do not use BP_SYM.
61578         (remquol): Likewise.
61579         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61580         "bp-asm.h".
61581         (PARMS): Do not use macros from bp-asm.h.
61582         (DEST): Likewise.
61583         (SRC): Likewise.
61584         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61585         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61586         "bp-asm.h".
61587         (PARMS): Do not use macros from bp-asm.h.
61588         (strlen): Do not use BP_SYM.
61589         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61590         "bp-asm.h".
61591         (PARMS): Do not use macros from bp-asm.h.
61592         (S1): Likewise.
61593         (S2): Likewise.
61594         (SIZE): Likewise.
61595         (__mpn_add_n): Do not use BP_SYM.
61596         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61597         "bp-asm.h".
61598         (PARMS): Do not use macros from bp-asm.h.
61599         (S1): Likewise.
61600         (SIZE): Likewise.
61601         (__mpn_addmul_1): Do not use BP_SYM.
61602         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61603         weak_alias.
61604         (bzero): Likewise.
61605         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61606         "bp-asm.h".
61607         (PARMS): Do not use macros from bp-asm.h.
61608         (S): Likewise.
61609         (SIZE): Likewise.
61610         (__mpn_lshift): Do not use BP_SYM.
61611         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61612         "bp-asm.h".
61613         (PARMS): Do not use macros from bp-asm.h.
61614         (DEST): Likewise.
61615         (SRC): Likewise.
61616         (LEN): Likewise.
61617         (memcpy): Likewise.  Do not use BP_SYM.
61618         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61619         libc_hidden_def and weak_alias.
61620         (mempcpy): Do not use BP_SYM in weak_alias.
61621         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61622         "bp-asm.h".
61623         (PARMS): Do not use macros from bp-asm.h.
61624         (DEST): Likewise.
61625         (LEN): Likewise.
61626         [!BZERO_P] (CHR): Likewise.
61627         (memset): Likewise.  Do not use BP_SYM.
61628         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61629         "bp-asm.h".
61630         (PARMS): Do not use macros from bp-asm.h.
61631         (S1): Likewise.
61632         (SIZE): Likewise.
61633         (__mpn_mul_1): Do not use BP_SYM.
61634         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61635         "bp-asm.h".
61636         (PARMS): Do not use macros from bp-asm.h.
61637         (S): Likewise.
61638         (SIZE): Likewise.
61639         (__mpn_rshift): Do not use BP_SYM.
61640         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61641         "bp-asm.h".
61642         (PARMS): Do not use macros from bp-asm.h.
61643         (STR): Likewise.
61644         (CHR): Likewise.
61645         (strchr): Likewise.  Do not use BP_SYM.
61646         (index): Do not use BP_SYM in weak_alias.
61647         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61648         "bp-asm.h".
61649         (PARMS): Do not use macros from bp-asm.h.
61650         (DEST): Likewise.
61651         (SRC): Likewise.
61652         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61653         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61654         "bp-asm.h".
61655         (PARMS): Do not use macros from bp-asm.h.
61656         (strlen): Do not use BP_SYM.
61657         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61658         "bp-asm.h".
61659         (PARMS): Do not use macros from bp-asm.h.
61660         (S1): Likewise.
61661         (S2): Likewise.
61662         (SIZE): Likewise.
61663         (__mpn_sub_n): Do not use BP_SYM.
61664         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61665         "bp-asm.h".
61666         (PARMS): Do not use macros from bp-asm.h.
61667         (S1): Likewise.
61668         (SIZE): Likewise.
61669         (__mpn_submul_1): Do not use BP_SYM.
61670         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61671         "bp-asm.h".
61672         (PARMS): Do not use macros from bp-asm.h.
61673         (S1): Likewise.
61674         (S2): Likewise.
61675         (SIZE): Likewise.
61676         (__mpn_add_n): Do not use BP_SYM.
61677         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61678         weak_alias.
61679         (bzero): Likewise.
61680         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61681         "bp-asm.h".
61682         (PARMS): Do not use macros from bp-asm.h.
61683         (BLK2): Likewise.
61684         (LEN): Likewise.
61685         (memcmp): Do not use BP_SYM.
61686         (bcmp): Do not use BP_SYM in weak_alias.
61687         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61688         "bp-asm.h".
61689         (PARMS): Do not use macros from bp-asm.h.
61690         (DEST): Likewise.
61691         (SRC): Likewise.
61692         (LEN): Likewise.
61693         (memcpy): Likewise.  Do not use BP_SYM.
61694         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61695         "bp-asm.h".
61696         (PARMS): Do not use macros from bp-asm.h.
61697         (DEST): Likewise.
61698         (SRC): Likewise.
61699         (LEN): Likewise.
61700         (memmove): Likewise.  Do not use BP_SYM.
61701         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61702         "bp-asm.h".
61703         (PARMS): Do not use macros from bp-asm.h.
61704         (DEST): Likewise.
61705         (SRC): Likewise.
61706         (LEN): Likewise.
61707         (__mempcpy): Likewise.  Do not use BP_SYM.
61708         (mempcpy): Do not use BP_SYM in weak_alias.
61709         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61710         "bp-asm.h".
61711         (PARMS): Do not use macros from bp-asm.h.
61712         (DEST): Likewise.
61713         (LEN): Likewise.
61714         [!BZERO_P] (CHR): Likewise.
61715         (memset): Likewise.  Do not use BP_SYM.
61716         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61717         "bp-asm.h".
61718         (PARMS): Do not use macros from bp-asm.h.
61719         (STR2): Likewise.
61720         (strcmp): Do not use BP_SYM.
61721         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61722         "bp-asm.h".
61723         (PARMS): Do not use macros from bp-asm.h.
61724         (STR): Likewise.
61725         (DELIM): Likewise.
61726         [USE_AS_STRTOK_R] (SAVE): Likewise.
61727         (FUNCTION): Likewise.  Do not use BP_SYM.
61728         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61729         aliases.
61730         (strtok_r): Likewise.
61731         (__GI___strtok_r): Likewise.
61732         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61733         (PARMS): Do not use macros from bp-asm.h.
61734         (S): Likewise.
61735         (SIZE): Likewise.
61736         (__mpn_lshift): Do not use BP_SYM.
61737         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61738         (PARMS): Do not use macros from bp-asm.h.
61739         (STR): Likewise.
61740         (CHR): Likewise.
61741         (__memchr): Do not use BP_SYM.
61742         (memchr): Do not use BP_SYM in weak_alias.
61743         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61744         (PARMS): Do not use macros from bp-asm.h.
61745         (BLK2): Likewise.
61746         (LEN): Likewise.
61747         (memcmp): Do not use BP_SYM.
61748         (bcmp): Do not use BP_SYM in weak_alias.
61749         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61750         (PARMS): Do not use macros from bp-asm.h.
61751         (S1): Likewise.
61752         (SIZE): Likewise.
61753         (__mpn_mul_1): Do not use BP_SYM.
61754         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61755         "bp-asm.h".
61756         (PARMS): Do not use macros from bp-asm.h.
61757         (STR): Likewise.
61758         (CHR): Likewise.
61759         (__rawmemchr): Do not use BP_SYM.
61760         (rawmemchr): Do not use BP_SYM in weak_alias.
61761         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61762         (PARMS): Do not use macros from bp-asm.h.
61763         (S): Likewise.
61764         (SIZE): Likewise.
61765         (__mpn_rshift): Do not use BP_SYM.
61766         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61767         (PARMS): Do not use macros from bp-asm.h.
61768         (SIGMSK): Likewise.
61769         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61770         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61771         (_start): Do not use BP_SYM.
61772         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61773         (PARMS): Do not use macros from bp-asm.h.
61774         (DEST): Likewise.
61775         (SRC): Likewise.
61776         (__stpcpy): Likewise.  Do not use BP_SYM.
61777         (stpcpy): Do not use BP_SYM in weak_alias.
61778         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61779         "bp-asm.h".
61780         (PARMS): Do not use macros from bp-asm.h.
61781         (DEST): Likewise.
61782         (SRC): Likewise.
61783         (LEN): Likewise.
61784         (__stpncpy): Likewise.  Do not use BP_SYM.
61785         (stpncpy): Do not use BP_SYM in weak_alias.
61786         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61787         (PARMS): Do not use macros from bp-asm.h.
61788         (STR): Likewise.
61789         (CHR): Likewise.
61790         (strchr): Likewise.  Do not use BP_SYM.
61791         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61792         "bp-asm.h".
61793         (PARMS): Do not use macros from bp-asm.h.
61794         (STR): Likewise.
61795         (CHR): Likewise.
61796         (__strchrnul): Likewise.  Do not use BP_SYM.
61797         (strchrnul): Do not use BP_SYM in weak_alias.
61798         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61799         "bp-asm.h".
61800         (PARMS): Do not use macros from bp-asm.h.
61801         (STOP): Likewise.
61802         (strcspn): Do not use BP_SYM.
61803         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61804         "bp-asm.h".
61805         (PARMS): Do not use macros from bp-asm.h.
61806         (STR): Likewise.
61807         (STOP): Likewise.
61808         (strpbrk): Likewise.  Do not use BP_SYM.
61809         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61810         "bp-asm.h".
61811         (PARMS): Do not use macros from bp-asm.h.
61812         (STR): Likewise.
61813         (CHR): Likewise.
61814         (strrchr): Likewise.  Do not use BP_SYM.
61815         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61816         (PARMS): Do not use macros from bp-asm.h.
61817         (SKIP): Likewise.
61818         (strspn): Do not use BP_SYM.
61819         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61820         (PARMS): Do not use macros from bp-asm.h.
61821         (STR): Likewise.
61822         (DELIM): Likewise.
61823         (SAVE): Likewise.
61824         (FUNCTION): Likewise.  Do not use BP_SYM.
61825         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61826         aliases.
61827         (strtok_r): Likewise.
61828         (__GI___strtok_r): Likewise.
61829         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61830         (PARMS): Do not use macros from bp-asm.h.
61831         (S1): Likewise.
61832         (S2): Likewise.
61833         (SIZE): Likewise.
61834         (__mpn_sub_n): Do not use BP_SYM.
61835         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61836         "bp-asm.h".
61837         (PARMS): Do not use macros from bp-asm.h.
61838         (S1): Likewise.
61839         (SIZE): Likewise.
61840         (__mpn_submul_1): Do not use BP_SYM.
61841         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61842         <bp-sym.h>.
61843         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61844         and <bp-asm.h>.
61845         (PARMS): Do not use macros from bp-asm.h.
61846         (FLAGS): Likewise.
61847         (PTID): Likewise.
61848         (TLS): Likewise.
61849         (CTID): Likewise.
61850         (__clone): Do not use BP_SYM.
61851         (clone): Do not use BP_SYM in weak_alias.
61852         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61853         and <bp-asm.h>.
61854         (PARMS): Do not use macros from bp-asm.h.
61855         (LEN): Likewise.
61856         (__mmap64): Do not use BP_SYM.
61857         (mmap64): Do not use BP_SYM in weak_alias.
61858         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61859         <bp-sym.h> and <bp-asm.h>.
61860         (PARMS): Do not use macros from bp-asm.h.
61861         (__posix_fadvise64_l64): Do not use BP_SYM.
61862         * sysdeps/unix/sysv/linux/i386/semtimedop.S
61863         (PARMS): Do not use macros from bp-asm.h.
61864         (NSOPS): Likewise.
61865         (semtimedop): Do not use BP_SYM.
61866         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61867         and <bp-asm.h>.
61869 2013-02-21  Allan McRae  <allan@archlinux.org>
61871         * manual/message.texi (Charset conversion in gettext):
61872         Move @end statement to beginning of line.
61874 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
61877         static.
61878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61879         Likewise.
61881         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
61882         (denorm): Likewise.
61883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
61884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
61886 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61888         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
61889         tail-call to the resolved function if pltexit isn't needed.
61891 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
61894         or Y being zero as being unlikely.
61895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61896         Likewise.
61898 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
61900         * manual/nss.texi (System Databases and Name Service Switch):
61901         Remove frobnicate @pxref.
61903 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61905         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61906         __attribute__ ((unused)) to __attribute__ ((__unused__)).
61908 2013-02-20  Petr Machata  <pmachata@redhat.com>
61910         * elf/elf.h (R_ARM_TARGET1): New macro.
61911         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
61912         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
61913         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
61914         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
61915         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
61916         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
61917         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
61918         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
61919         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
61920         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
61921         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
61922         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
61923         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
61924         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
61925         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
61926         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
61927         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
61928         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
61929         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
61930         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
61931         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
61932         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
61933         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
61934         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
61935         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
61936         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
61937         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
61938         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
61939         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
61940         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
61941         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
61942         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
61943         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
61944         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
61945         (R_ARM_THM_GOT_BREL12): Likewise.
61946         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
61947         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
61948         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
61949         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
61950         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
61951         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
61952         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
61953         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
61954         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
61956 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61958         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61959         __attribute_used__ to __attribute__ ((unused)).
61961 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61963         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
61964         powerpc mpa.c.
61965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
61966         comment formatting.
61967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
61969 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
61971         [BZ #13550]
61972         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
61973         Remove macro.
61974         (ENTER): Remove both macro definitions.
61975         (LEAVE): Likewise.
61976         (CHECK_BOUNDS_LOW): Likewise.
61977         (CHECK_BOUNDS_HIGH): Likewise.
61978         (CHECK_BOUNDS_BOTH): Likewise.
61979         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
61980         (RETURN_BOUNDED_POINTER): Likewise.
61981         (RETURN_NULL_BOUNDED_POINTER): Likewise.
61982         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
61983         (POP_ERRNO_LOCATION_RETURN): Likewise.
61984         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
61985         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61986         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
61987         macros.
61988         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61989         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
61990         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
61991         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
61992         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
61993         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
61994         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
61995         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
61996         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
61997         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
61998         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
61999         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62000         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62001         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62002         removed macros.
62003         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62004         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62005         macros.
62006         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62007         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62008         * sysdeps/i386/i586/memset.S (memset): Likewise.
62009         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62010         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62011         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62012         macros.
62013         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62014         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62015         Change uses of L(2) to L(out).
62016         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62017         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62018         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62019         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62020         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62021         removed macros.
62022         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62023         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62024         macros.
62025         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62026         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62027         (RETURN): Do not use macro LEAVE.
62028         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62029         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62030         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62031         * sysdeps/i386/i686/memset.S (memset): Likewise.
62032         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62033         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62034         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62035         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62036         Likewise.
62037         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62038         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62039         L(1_2) and L(1_3) into L(1).
62040         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62041         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62042         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62043         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62044         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62045         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62046         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62047         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62048         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62049         macros.
62050         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62051         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62052         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62053         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62054         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62055         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62056         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62057         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62058         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62059         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62060         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62061         * sysdeps/i386/strspn.S (strspn): Likewise.
62062         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62063         conditional code.
62064         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62065         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62066         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62067         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62068         L(1_3) into L(1_1).
62069         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62070         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62071         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62072         macros.
62073         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62075 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62077         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62078         macro.
62080 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62082         * math/atest-exp.c (exp_mpn): Remove ROUND.
62083         * math/atest-exp2.c (exp_mpn): Likewise.
62084         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62086         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62087         * stdlib/tst-tls-atexit-lib.c: Likewise.
62088         * stdlib/tst-tls-atexit.c: Likewise.
62090 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62092         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62093         and __attribute_alloc_size__.
62095 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62097         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62098         __attribute_alloc_size__.
62099         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62100         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62102 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62104         * include/programs/xmalloc.h: New file.
62105         * catgets/gencat.c: Include it.
62106         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62107         * elf/pldd.c: Likewise.
62108         * iconv/iconv_charmap.c: Likewise.
62109         * iconv/iconvconfig.c: Likewise.
62110         * iconv/strtab.c: Likewise.
62111         * locale/programs/locale.c: Likewise.
62112         * locale/programs/localedef.h: Likewise.
62113         * locale/programs/simple-hash.c: Likewise.
62114         * nscd/nscd.h: Likewise.
62115         * nss/makedb.c: Likewise.
62116         * sysdeps/generic/ldconfig.h: Likewise.
62118 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62120         * Versions.def: Add GLIBC_2.18.
62121         * include/link.h (struct link_map): New member l_tls_dtor_count.
62122         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62123         (__call_tls_dtors): Likewise.
62124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62125         __cxa_thread_atexit_impl.
62126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62127         Likewise.
62128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62129         Likewise.
62130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62131         Likewise.
62132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62133         Likewise.
62134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62136         Likewise.
62137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62138         Likewise.
62139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62141         Likewise.
62142         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62143         (tests): Add test case tst-tls-atexit.
62144         (modules-names): Add shared library for tst-tls-atexit.
62145         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62146         (GLIBC_PRIVATE): Add __call_tls_dtors.
62147         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62148         for libstdc++.
62149         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62150         * stdlib/tst-tls-atexit.c: New test case.
62151         * stdlib/tst-tls-atexit-lib.c: New test case.
62153         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62155         * elf/Versions (ld): Add _dl_find_dso_for_object.
62156         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62157         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62158         (dl_open_worker): Use _dl_find_dso_for_object.
62159         * elf/dl-sym.c (do_sym): Likewise.
62160         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62162 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62164         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62165         Syntactic changes only.
62166         (_dl_runtime_profile): Do a tail-call to the resolved function.
62168 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62170         [BZ #13550]
62171         * sysdeps/x86_64/bp-asm.h: Remove file.
62172         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62173         <bp-sym.h> and <bp-asm.h>.
62174         (__clone): Do not use BP_SYM.
62175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62176         <bp-sym.h> and <bp-asm.h>.
62177         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62178         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62179         "bp-asm.h".
62180         (_setjmp): Do not use BP_SYM.
62181         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62182         "bp-asm.h".
62183         (setjmp): Do not use BP_SYM.
62184         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
62185         libc_hidden_def.
62186         (mempcpy): Do not use BP_SYM in weak_alias.
62187         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
62188         "bp-asm.h".
62189         (strchr): Do not use BP_SYM.
62190         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
62191         "bp-asm.h".
62192         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
62193         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
62194         (_start): Do not use BP_SYM.
62195         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
62196         "bp-asm.h".
62197         (strcat): Do not use BP_SYM.
62198         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
62199         "bp-asm.h".
62200         (STRCMP): Do not use BP_SYM.
62201         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
62202         "bp-asm.h".
62203         (STRCPY): Do not use BP_SYM.
62204         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
62205         "bp-asm.h".
62206         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
62207         "bp-asm.h".
62208         (FUNCTION): Do not use BP_SYM.
62209         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
62210         weak_alias.
62211         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
62213 2013-02-17  Andreas Jaeger  <aj@suse.de>
62215         * time/Versions: Sort entries.
62216         * string/Versions: Likewise.
62217         * resolv/Versions: Likewise.
62218         * posix/Versions: Likewise.
62219         * iconv/Versions: Likewise.
62220         * elf/Versions: Likewise.
62221         * wcsmbs/Versions: Likewise.
62223 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62225         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
62226         loop termination condition.
62228         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
62229         variable to calculate EZ.
62230         (__sqr): Likewise.
62232         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
62233         the lower precision input.
62235 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
62237         [BZ #13550]
62238         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
62239         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
62240         (run-via-rtld-prefix): Do not handle %-bp tests.
62241         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
62242         (all-object-suffixes): Remove .ob.
62243         (bppfx): Remove variable.
62244         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
62245         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
62246         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
62247         [$(build-bounded) = yes] (libtype.ob): Likewise.
62248         * Makerules (elide-routines.ob): Remove variable.
62249         (do-tests-clean): Do not handle *-bp.out.
62250         (common-mostlyclean): Do not handle *-bp and *-bp.out.
62251         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
62252         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
62253         (tests): Do not include $(tests-bp.out).
62254         (xtests): Do not include $(xtests-bp.out).
62255         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
62256         [$(build-bounded) = yes] ($(addprefix
62257         $(objpfx),$(binaries-bounded))): Remove rule.
62258         ($(objpfx)%-bp.out): Remove rule.
62259         * config.make.in (build-bounded): Remove variable.
62260         * crypt/Makefile [$(build-bounded) = yes]
62261         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62262         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62263         append to variable.
62264         [$(build-bounded) = yes] (install-lib): Likewise.
62265         [$(build-bounded) = yes] (generated): Likewise.
62266         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62267         Remove rule.
62268         * intl/Makefile [$(build-bounded) = yes]
62269         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62270         * math/Makefile [$(build-bounded) = yes]
62271         ($(tests:%=$(objpfx)%-bp): Likewise.
62272         * misc/Makefile [$(build-bounded) = yes]
62273         ($(objpfx)tst-tsearch-bp): Likewise.
62274         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62275         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62276         Remove dependency.
62277         * string/Makefile (o-objects.ob): Remove variable.
62278         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62279         (CFLAGS-.ob): Remove variable.
62280         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62281         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62282         both definitions of variable.
62283         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62284         (ASFLAGS-.ob): Remove variable.
62286 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62288         [BZ #13550]
62289         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62290         Remove __BOUNDED_POINTERS__ from condition.
62291         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62292         * string/bits/string2.h [!__NO_STRING_INLINES &&
62293         !__BOUNDED_POINTERS__]: Likewise.
62294         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62295         Likewise.
62296         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62297         Remove conditional code.
62298         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62299         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62300         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62301         condition.
62303         [BZ #13550]
62304         * csu/libc-start.c: Do not include <bp-sym.h>.
62305         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62306         * elf/dl-open.c: Do not include <bp-sym.h>.
62307         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62308         * math/fegetenv.c: Do not include <bp-sym.h>.
62309         (fegetenv): Do not use BP_SYM in versioned symbols.
62310         * nptl/sysdeps/pthread/bits/libc-lockP.h
62311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62312         <bp-sym.h>.
62313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62314         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62316         (__pthread_mutex_destroy): Likewise.
62317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62318         (__pthread_mutex_lock): Likewise.
62319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62320         (__pthread_mutex_trylock): Likewise.
62321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62322         (__pthread_mutex_unlock): Likewise.
62323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62324         (__pthread_mutexattr_init): Likewise.
62325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62326         (__pthread_mutexattr_destroy): Likewise.
62327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62328         (__pthread_mutexattr_settype): Likewise.
62329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62330         (__pthread_rwlock_init): Likewise.
62331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62332         (__pthread_rwlock_destroy): Likewise.
62333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62334         (__pthread_rwlock_rdlock): Likewise.
62335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62336         (__pthread_rwlock_tryrdlock): Likewise.
62337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62338         (__pthread_rwlock_wrlock): Likewise.
62339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62340         (__pthread_rwlock_trywrlock): Likewise.
62341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62342         (__pthread_rwlock_unlock): Likewise.
62343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62344         (__pthread_key_create): Likewise.
62345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62346         (__pthread_setspecific): Likewise.
62347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62348         (__pthread_getspecific): Likewise.
62349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62350         Likewise.
62351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62352         (_pthread_cleanup_push_defer): Likewise.
62353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62354         (_pthread_cleanup_pop_restore): Likewise.
62355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62356         (pthread_setcancelstate): Likewise.
62357         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62358         <bp-sym.h>.
62359         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62360         (memchr): Do not use BP_SYM in weak_alias.
62361         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62362         (fegetenv): Do not use BP_SYM in versioned symbols.
62363         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62364         (fesetenv): Do not use BP_SYM in versioned symbols.
62365         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62366         (feupdateenv): Do not use BP_SYM in versioned symbols.
62367         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62368         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62369         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62370         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62371         (open64): Do not use BP_SYM in weak_alias.
62372         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62373         (fegetenv): Do not use BP_SYM in versioned symbols.
62374         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62375         (fesetenv): Do not use BP_SYM in versioned symbols.
62376         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62377         (feupdateenv): Do not use BP_SYM in versioned symbols.
62378         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62379         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62380         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62381         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62382         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62383         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62384         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62385         <bp-sym.h>.
62386         (__libc_start_main): Do not use BP_SYM.
62388 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62391         redundant return line.
62392         (norm): Likewise.
62393         (denorm): Likewise.
62394         (dbl_mp): Likewise.
62395         (sub_magnitudes): Likewise.
62396         (__add): Likewise.
62397         (__sub): Likewise.
62398         (__mul): Likewise.
62399         (__inv): Likewise.
62400         (__dvd): Likewise.
62401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62402         (norm): Likewise.
62403         (denorm): Likewise.
62404         (dbl_mp): Likewise.
62405         (sub_magnitudes): Likewise.
62406         (__add): Likewise.
62407         (__sub): Likewise.
62408         (__mul): Likewise.
62409         (__inv): Likewise.
62410         (__dvd): Likewise.
62412         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62413         instead of __mul.
62414         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62415         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62416         (cc32): Likewise.
62418         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62419         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62421         of __mul for squares.
62422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62423         function
62424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62425         Likewise.
62426         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62427         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62429 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62431         [BZ #13550]
62432         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62433         code.
62434         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62435         prototype or function definition.  Rename ubp_* variables and
62436         parameters.  Remove argv definitions conditional on
62437         [__BOUNDED_POINTERS__].
62438         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62439         * elf/dl-runtime.c (_dl_fixup): Likewise.
62440         * include/set-hooks.h (RUN_HOOK): Likewise.
62441         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62442         definition.
62443         * string/strcpy.c (strcpy): Do not use __unbounded.
62444         * sysdeps/generic/frame.h (struct layout): Likewise.
62445         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62446         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62447         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62448         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62449         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62450         (__backtrace): Likewise.
62451         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62452         use __ptrvalue.
62453         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62454         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62455         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62456         Likewise.
62457         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62458         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62459         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62460         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62461         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62462         Do not use __unbounded.
62463         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62464         Rename __unboundedrlimits parameter to rlimits in prototype.
62465         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62466         Do not use __unbounded.
62467         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62468         not use __ptrvalue.
62469         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62470         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62471         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62472         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62473         __ptrvalue or __unbounded.
62474         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62475         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62476         use __unbounded.
62477         (__new_msgctl): Do not use __ptrvalue.
62478         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62479         __unbounded.
62480         (__libc_msgrcv): Do not use __ptrvalue.
62481         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62482         startup_info): Do not use __unbounded.
62483         (__libc_start_main): Likewise.  Rename ubp_* variables and
62484         parameters.  Remove argv definitions conditional on
62485         [__BOUNDED_POINTERS__].
62486         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62487         __ptrvalue.
62488         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62489         use __unbounded.
62490         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62491         or __ptrvalue.
62492         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62493         use __unbounded.
62494         (__new_shmctl): Do not use __ptrvalue.
62495         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62496         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62497         Likewise.
62498         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62499         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62500         (__libc_sigaction): Likewise.
62501         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62502         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62503         Likewise.
62504         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62506 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62508         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62510         * string/mempcpy.c: Implement by calling memcpy.
62512 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62514         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62517         evaluation.
62519         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62520         values in the mantissa.
62522         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62523         minimize writes to Z.
62524         (sub_magnitudes): Simplify code a bit.
62526 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62528         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62529         from the message.  The linker prefixes all warnings with that already.
62531 2013-02-12  Andreas Schwab  <schwab@suse.de>
62533         [BZ #15078]
62534         * posix/regexec.c (extend_buffers): Add parameter min_len.
62535         (check_matching): Pass minimum needed length.
62536         (clean_state_log_if_needed): Likewise.
62537         (get_subexp): Likewise.
62538         * posix/Makefile (tests): Add bug-regex34.
62539         (bug-regex34-ENV): Define.
62540         * posix/bug-regex34.c: New file.
62542         [BZ #11561]
62543         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62544         elements compare against the byte sequence of it, not its name.
62545         * posix/Makefile (tests): Add bug-regex35.
62546         (bug-regex35-ENV): Define.
62547         * posix/bug-regex35.c: New file.
62549 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62551         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62552         comment.
62553         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62554         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62555         (CHECK_EOL): Add undef.
62557 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62559         * bits/stdlib-bsearch.h: New file.
62560         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62561         * stdlib/stdlib.h: Likewise.
62563 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62565         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62566         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62567         declaration.
62568         * manual/search.texi (Array Search Function): Add missing const in
62569         lfind prototype.
62570         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62571         declaration to use rlim_t.
62572         (Basic Scheduling Functions): Remove erroneous const from
62573         sched_getparam prototype.  Remove erroneous * from
62574         sched_get_priority_max and sched_get_priority_min prototypes.
62575         (Resource Usage): Fix summary @comment on vtimes to refer to
62576         sys/vtimes.h rather than vtimes.h.
62577         Add missing *s in vtimes prototype.
62578         (Limits on Resources): Fix ulimit prototype to return long int.
62579         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62580         prototypes to use long int rather than double.
62581         (BSD Random): Fix initstate and setstate to use char *, not void *.
62582         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62583         prototype to make second argument 'struct aiocb64 *const[]'.
62584         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62585         (Status of AIO Operations): Remove erroneous const in aio_return and
62586         aio_return64 prototypes.
62587         (Synchronizing I/O): Fix sync prototype to return void.
62588         * manual/startup.texi (Suboptions): Remove an erroneous const in
62589         getsubopt prototype.
62590         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62591         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62592         use size_t rather than int.
62593         (Scanning All Users): Likewise for getpwent_r.
62594         (Setting Groups): Add missing const to setgroups prototype.
62595         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62596         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62597         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62598         'const void *' rather than 'const char *'.
62599         (Host Address Functions): Likewise for inet_ntop.
62600         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62601         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62602         ssize_t for return value.
62603         (Sending Data): Likewise for send, sendto, sendmsg.
62604         (Socket Option Functions): Add a missing const in setsockopt prototype.
62605         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62606         use wchar_t for the argument.
62607         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62608         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62609         take no arguments.
62610         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62611         double/float/long double for second argument.
62612         Fix return types of significand, significandf, significandl.
62613         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62614         argument in fchmod prototype.
62615         (File Owner): Use uid_t and gid_t in fchown prototype.
62616         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62617         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62618         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62619         use 'const struct dirent **' as argument types to CMP function pointer
62620         argument.
62621         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62622         (File Times): Fix summary magic @comment for struct utimbuf and utime
62623         to refer to utime.h, not time.h.
62624         * manual/string.texi (Argz Functions): Add missing const in
62625         argz_extract and argz_next prototypes.
62626         (Finding Tokens in a String): Likewise for basename.
62627         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62628         (Copying and Concatenation): Fix typo in wmemmove prototype.
62629         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62630         (Signal Stack): Remove erroneous const in sigstack prototype.
62631         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62632         prototype.
62633         (Simple Calendar Time): Likewise for stime.
62634         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62635         prototype.
62636         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62637         say sys/sysctl.h instead.
62638         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62639         and vsyslog prototypes.
62641 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62643         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62644         Remove.
62646 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62648         * misc/sys/mman.h: Fix typo in mremap comment.
62650 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62652         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62653         the '\0' terminator.
62655 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62657         [BZ #13550]
62658         * debug/segfault.c: Don't include <bp-checks.h>.
62659         * sysdeps/generic/bp-checks.h: Remove file.
62660         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62661         (__GETDENTS): Don't use CHECK_N.
62662         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62663         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62664         (__getgroups): Don't use CHECK_N.
62665         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62666         (setgroups): Don't use CHECK_N.
62667         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62668         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62669         (__libc_msgrcv): Don't use CHECK_N.
62670         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62671         (__libc_msgsnd): Don't use CHECK_N.
62672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62673         <bp-checks.h>.
62674         (__libc_pread): Don't use CHECK_N.
62675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62676         include <bp-checks.h>.
62677         (__libc_pread64): Don't use CHECK_N.
62678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62679         include <bp-checks.h>.
62680         (__libc_pwrite): Don't use CHECK_N.
62681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62682         include <bp-checks.h>.
62683         (__libc_pwrite64): Don't use CHECK_N.
62684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62685         <bp-checks.h>.
62686         (__libc_pread): Don't use CHECK_N.
62687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62688         include <bp-checks.h>.
62689         (__libc_pread64): Don't use CHECK_N.
62690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62691         include <bp-checks.h>.
62692         (__libc_pwrite): Don't use CHECK_N.
62693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62694         include <bp-checks.h>.
62695         (__libc_pwrite64): Don't use CHECK_N.
62696         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62697         (do_pread): Don't use CHECK_N.
62698         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62699         (do_pread64): Don't use CHECK_N.
62700         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62701         (do_pwrite): Don't use CHECK_N.
62702         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62703         (do_pwrite64): Don't use CHECK_N.
62704         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62705         (__libc_readv): Don't use CHECK_N.
62706         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62707         (semop): Don't use CHECK_N.
62708         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62709         <bp-checks.h>.
62710         (semtimedop): Don't use CHECK_N.
62711         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62712         (__libc_pread): Don't use CHECK_N.
62713         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62714         <bp-checks.h>.
62715         (__libc_pread64): Don't use CHECK_N.
62716         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62717         <bp-checks.h>.
62718         (__libc_pwrite): Don't use CHECK_N.
62719         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62720         <bp-checks.h>.
62721         (__libc_pwrite64): Don't use CHECK_N.
62722         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62723         <bp-checks.h>.
62724         (__libc_msgrcv): Don't use CHECK_N.
62725         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62726         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62727         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62728         (__libc_writev): Don't use CHECK_N.
62730 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62732         * string/strcpy.c: Removed unused variable.
62734         * Makeconfig (+sysdep-includes): Define with := rather than =.
62735         Use an existing include/ subdir of each sysdeps dir before it.
62737 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62739         * nscd/connection.c (register_traced_file): Comment function.
62740         [HAVE_INOTIFY] (union __inev): Define.
62741         [HAVE_INOTIFY] (inotify_check_files): New function.
62742         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62743         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62744         clear_db_cache.
62745         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62747 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62749         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62750         loaded if not already and that a failure is permanent.
62752 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62754         [BZ #15006]
62755         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62756         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62758 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62760         [BZ #13550]
62761         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62762         (CHECK_1_NULL_OK): Likewise.
62763         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62764         (__fxstat): Do not use CHECK_1.
62765         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62766         <bp-checks.h>.
62767         (___fxstat64): Do not use CHECK_1.
62768         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62769         <bp-checks.h>.
62770         (__fxstatat): Do not use CHECK_1.
62771         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62772         <bp-checks.h>.
62773         (__fxstatat64): Do not use CHECK_1.
62774         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62775         <bp-checks.h>.
62776         (__fxstat): Do not use CHECK_1.
62777         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62778         <bp-checks.h>.
62779         (__fxstatat): Do not use CHECK_1.
62780         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62781         <bp-checks.h>.
62782         (__getresgid): Do not use CHECK_1.
62783         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62784         <bp-checks.h>.
62785         (__getresuid): Do not use CHECK_1.
62786         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62787         <bp-checks.h>.
62788         (__lxstat): Do not use CHECK_1.
62789         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62790         <bp-checks.h>.
62791         (__old_msgctl): Do not use CHECK_1.
62792         (__new_msgctl): Likewise.
62793         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62794         <bp-checks.h>.
62795         (__new_setrlimit): Do not use CHECK_1.
62796         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62797         <bp-checks.h>.
62798         (__old_shmctl): Do not use CHECK_1.
62799         (__new_shmctl): Likewise.
62800         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62801         <bp-checks.h>.
62802         (__xstat): Do not use CHECK_1.
62803         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62804         (__lxstat): Do not use CHECK_1.
62805         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62806         <bp-checks.h>.
62807         (___lxstat64): Do not use CHECK_1.
62808         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62809         (__old_msgctl): Do not use CHECK_1.
62810         (__new_msgctl): Likewise.
62811         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62812         <bp-checks.h>.
62813         (__gettimeofday): Do not use CHECK_1.
62814         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62815         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62816         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62817         <bp-checks.h>.
62818         (__gettimeofday): Do not use CHECK_1.
62819         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62820         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62821         (__new_shmctl): Do not use CHECK_1.
62822         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62823         <bp-checks.h>.
62824         (do_sigtimedwait): Do not use CHECK_1.
62825         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62826         <bp-checks.h>.
62827         (do_sigwaitinfo): Do not use CHECK_1.
62828         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62829         <bp-checks.h>.
62830         (msgctl): Do not use CHECK_1.
62831         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62832         <bp-checks.h>.
62833         (shmctl): Do not use CHECK_1.
62834         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62835         (ustat): Do not use CHECK_1.
62836         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62837         <bp-checks.h>.
62838         (__fxstat): Do not use CHECK_1.
62839         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62840         <bp-checks.h>.
62841         (__fxstatat): Do not use CHECK_1.
62842         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62843         <bp-checks.h>.
62844         (__lxstat): Do not use CHECK_1.
62845         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62846         <bp-checks.h>.
62847         (__xstat): Do not use CHECK_1.
62848         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62849         (__xstat): Do not use CHECK_1.
62850         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62851         (___xstat64): Do not use CHECK_1.
62853         [BZ #13550]
62854         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62855         definitions.
62856         (CHECK_BOUNDS_HIGH): Likewise.
62857         * string/strcpy.c: Do not include <bp-checks.h>.
62858         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62860 2013-02-07  Roland McGrath  <roland@hack.frob.com>
62862         * nscd/nscd-client.h (__nscd_drop_map_ref):
62863         Add __attribute__ ((unused)).
62864         * nis/nss-nisplus.h (niserr2nss): Likewise.
62866         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62867         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62869         * csu/libc-tls.c (init_static_tls, init_slotinfo):
62870         Remove inline keyword.
62871         * include/rounding-mode.h (round_away): Likewise.
62872         * libio/wfileops.c (adjust_wide_data): Likewise.
62873         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
62874         (__m128i_strloadu_tolower): Likewise.
62875         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
62876         (__m128i_strloadu_tolower): Likewise.
62877         * time/mktime.c (ydhms_diff): Likewise.
62878         * locale/elem-hash.h (elem_hash): Likewise.
62879         * locale/setlocale.c (setdata): Likewise.
62880         * posix/regex_internal.h (re_string_char_size_at): Likewise.
62881         (re_string_wchar_at): Likewise.
62882         (bitset_not, bitset_merge, bitset_mask): Likewise.
62883         [!(__GNUC__ > 3)] (inline): Remove macro.
62884         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
62885         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
62886         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
62887         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
62888         * string/memcmp.c (memcmp_bytes): Likewise.
62889         * locale/programs/locarchive.c (compute_hashval): Likewise.
62890         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
62891         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
62892         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
62893         * nss/getent.c (print_rpc, print_protocols): Likewise.
62894         (print_passwd, print_group, print_aliases): Likewise.
62895         * nis/nss-nisplus.h (niserr2nss): Likewise.
62896         * nscd/connections.c (restart_p): Likewise.
62897         Change return type to bool.
62899 2013-02-05  Roland McGrath  <roland@hack.frob.com>
62901         * Makeconfig (all-Depend-files): Add existing
62902         $(sorted-subdirs:=/Depend) files.
62903         (all-subdirs): Remove nss.
62904         * sysdeps/unix/inet/Subdirs: Add it here instead.
62905         * hesiod/Depend: New file.
62907         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
62908         instead of calling alloca.
62910         * io/lseek.c (__lseek): Rename to __libc_lseek.
62911         Define __lseek as an alias.
62913         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
62915 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
62917         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
62918         else clause and remove check for non-standard endianness.
62920 2013-02-04  David S. Miller  <davem@davemloft.net>
62922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62924 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
62926         [BZ #13550]
62927         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
62928         (__ubp_memchr): Remove prototype.
62929         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
62930         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62931         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
62932         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62933         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
62934         Remove alias.
62935         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
62936         (__ubp_memchr): Likewise.
62937         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
62938         (__ubp_memchr): Likewise.
62939         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
62940         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
62941         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
62942         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
62943         CHECK_STRING.
62944         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
62945         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
62946         (__getcwd): Do not use CHECK_STRING.
62947         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62948         <bp-checks.h>.
62949         (__real_chown): Do not use CHECK_STRING.
62950         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
62951         <bp-checks.h>.
62952         (fchownat): Do not use CHECK_STRING.
62953         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
62954         CHECK_STRING.
62955         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62956         <bp-checks.h>.
62957         (__lchown): Do not use CHECK_STRING.
62958         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62959         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62960         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62961         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
62962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62963         include <bp-checks.h>.
62964         (truncate64): Do not use CHECK_STRING.
62965         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62966         <bp-checks.h>.
62967         (__real_chown): Do not use CHECK_STRING.
62968         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62969         <bp-checks.h>.
62970         (__lchown): Do not use CHECK_STRING.
62971         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62972         <bp-checks.h>.
62973         (__chown): Do not use CHECK_STRING.
62974         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
62975         <bp-checks.h>.
62976         (truncate64): Do not use CHECK_STRING.
62977         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
62978         Likewise.
62979         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
62980         (__xmknod): Do not use CHECK_STRING.
62981         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
62982         <bp-checks.h>.
62983         (__xmknodat): Do not use CHECK_STRING.
62984         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62985         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
62987 2013-02-04  Andreas Schwab  <schwab@suse.de>
62989         [BZ #14142]
62990         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
62991         * include/netdb.h: Likewise for h_errno.
62992         * elf/tst-stackguard1.c: Include <tls.h>.
62994 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
62996         * elf/link.h (struct link_map): Extend the l_addr comment.
62997         * include/link.h (struct link_map): Likewise.
62999 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63001         [BZ #13550]
63002         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63003         (BOUNDED_1): Remove macro.
63004         * debug/backtrace.c: Don't include <bp-checks.h>.
63005         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63006         (__backtrace): Likewise.
63007         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63008         <bp-checks.h>.
63009         (__backtrace): Don't use BOUNDED_1.
63010         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63011         <bp-checks.h>.
63012         (__backtrace): Don't use BOUNDED_1.
63013         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63014         (__backtrace): Don't use BOUNDED_1.
63015         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63016         (shmat): Don't use BOUNDED_N.
63018 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63020         [BZ #13550]
63021         * sysdeps/generic/bp-start.h: Remove file.
63022         * csu/libc-start.c: Don't include <bp-start.h>.
63023         (LIBC_START_MAIN): Set up __environ directly instead of using
63024         INIT_ARGV_and_ENVIRON.
63025         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63026         <bp-start.h>.
63028         [BZ #13550]
63029         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63030         definitions.
63031         (CHECK_FCNTL): Likewise.
63032         (CHECK_N_PAGES): Likewise.
63034         [BZ #13550]
63035         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63036         definitions.
63037         (CHECK_SIGSET_NULL_OK): Likewise.
63038         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63039         <bp-checks.h>.
63040         (sigpending): Don't use CHECK_SIGSET.
63041         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63042         <bp-checks.h>.
63043         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63044         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63045         <bp-checks.h>.
63046         (do_sigsuspend): Don't use CHECK_SIGSET.
63047         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63048         use CHECK_SIGSET.
63049         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63050         (do_sigwait): Don't use CHECK_SIGSET.
63051         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63052         use CHECK_SIGSET.
63053         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63054         include <bp-checks.h>.
63055         (sigpending): Don't use CHECK_SIGSET.
63056         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63057         include <bp-checks.h>.
63058         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63059         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63060         <bp-checks.h>.
63061         (sigpending): Don't use CHECK_SIGSET.
63062         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63063         <bp-checks.h>.
63064         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63066         [BZ #13550]
63067         * sysdeps/generic/bp-semctl.h: Remove file.
63068         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
63069         <bp-checks.h> and <bp-semctl.h>.
63070         (__old_semctl): Don't use CHECK_SEMCTL.
63071         (__new_semctl): Likewise.
63072         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
63073         and <bp-semctl.h>.
63074         (__old_semctl): Don't use CHECK_SEMCTL.
63075         (__new_semctl): Likewise.
63076         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63077         <bp-checks.h> and <bp-semctl.h>.
63078         (__old_semctl): Don't use CHECK_SEMCTL.
63079         (__new_semctl): Likewise.
63080         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63081         <bp-checks.h> and <bp-semctl.h>.
63082         (semctl): Don't use CHECK_SEMCTL.
63084         [BZ #13550]
63085         * Makerules (elide-bp-thunks): Remove variable.
63086         (elide-routines.oS): Don't use $(elide-bp-thunks).
63087         (elide-routines.os): Likewise.
63088         (elide-routines.o): Likewise.
63089         (elide-routines.op): Likewise.
63090         (elide-routines.og): Likewise.
63091         (objects): Don't use $(bp-thunks).
63092         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63093         include.
63094         (common-generated): Do not add s-proto-bp.d.
63095         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63096         (int): Likewise.
63097         (typ): Likewise.
63098         Do not generate makefile rules for bounded-pointer thunks.
63099         * sysdeps/generic/bp-thunks.h: Remove file.
63100         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63101         * sysdeps/unix/s-proto-bp.S: Likewise.
63103         [BZ #15062]
63104         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63105         parts of result separately when argument is not close to line from
63106         -i to i and one part of argument is small.
63107         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63108         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63109         * math/libm-test.inc (cacos_test): Add more tests.
63110         (casin_test): Likewise.
63111         (casinh_test): Likewise.
63112         * sysdeps/i386/fpu/libm-test-ulps: Update.
63113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63115 2013-01-31  David S. Miller  <davem@davemloft.net>
63117         * po/de.po: Update from translation team.
63119 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63121         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63123 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63125         * configure.in (_AC_PROG_CC_C89): New definition.
63126         * configure: Regenerate.
63128         * configure.in (AC_PROG_CPP): New definition.
63129         * configure: Regenerate.
63131 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63133         * debug/tst-backtrace.h: New file.
63134         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63135         (ret): Remove variable.
63136         (x): Likewise.
63137         (FAIL): Remove macro.
63138         (NO_INLINE): Likewise.
63139         (fn1): Use match function instead of strstr.
63140         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63141         (ret): Remove variable.
63142         (x): Likewise.
63143         (FAIL): Remove macro.
63144         (NO_INLINE): Likewise.
63145         (fn): Use match function instead of strstr.
63146         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63147         (ret): Remove variable.
63148         (x): Likewise.
63149         (FAIL): Remove macro.
63150         (NO_INLINE): Likewise.
63151         (handle_signal): Use match function instead of strstr.
63152         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63153         (ret): Remove variable.
63154         (x): Likewise.
63155         (FAIL): Remove macro.
63156         (NO_INLINE): Likewise.
63157         (handle_signal): Use match function instead of strstr.
63159 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63161         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63163 2013-01-23  David S. Miller  <davem@davemloft.net>
63165         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63166         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63167         argument of CAS if possible.
63168         * sysdeps/sparc/sparc64/bits/atomic.h
63169         (__arch_compare_and_exchange_val_32_acq): Likewise.
63170         (__arch_compare_and_exchange_val_64_acq): Likewise.
63172 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63174         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63175         * sysdeps/posix/ulimit.c: ... this.
63176         Include <limits.h>.
63177         * sysdeps/unix/bsd/ulimit.c: Remove file.
63179 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63181         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63182         (LDFLAGS-tst-array5): Likewise.
63184 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63186         [BZ #15036]
63187         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
63188         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
63189         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
63190         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
63192 2013-01-21  David S. Miller  <davem@davemloft.net>
63194         * sysdeps/sparc/backtrace.c: New file.
63195         * sysdeps/sparc/sparc32/backtrace.h: New file.
63196         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
63197         * sysdeps/sparc/sparc64/backtrace.h: New file.
63198         * sysdeps/sparc/sparc64/backtrace.c: Delete.
63199         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
63200         -funwind-tables.
63202 2013-01-21  Andreas Schwab  <schwab@suse.de>
63204         [BZ #15020]
63205         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
63206         closed its stdout.
63208 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
63210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
63211         "mpa2.h".
63212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63214 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
63215             Mark Mitchell  <mark@codesourcery.com>
63216             Tom de Vries  <tom@codesourcery.com>
63217             Paul Pluzhnikov  <ppluzhnikov@google.com>
63219         * debug/tst-backtrace2.c: New file.
63220         * debug/tst-backtrace3.c: Likewise.
63221         * debug/tst-backtrace4.c: Likewise.
63222         * debug/tst-backtrace5.c: Likewise.
63223         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
63224         (CFLAGS-tst-backtrace3.c): Likewise.
63225         (CFLAGS-tst-backtrace4.c): Likewise.
63226         (CFLAGS-tst-backtrace5.c): Likewise.
63227         (LDFLAGS-tst-backtrace2): Likewise.
63228         (LDFLAGS-tst-backtrace3): Likewise.
63229         (LDFLAGS-tst-backtrace4): Likewise.
63230         (LDFLAGS-tst-backtrace5): Likewise.
63231         (tests): Add new tests tst-backtrace2, tst-backtrace3,
63232         tst-backtrace4 and tst-backtrace5.
63234 2013-01-18  Anton Blanchard  <anton@samba.org>
63235             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63237         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
63238         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
63239         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
63240         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63242         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
63243         "+r" and remove output regs list as redundant.  Add explicit inline
63244         asm to specify register of return val to work around compiler codegen
63245         bug.  Remove (int) cast on return value.  Add return type parameter to
63246         use in macro so that this macro does not truncate return value for
63247         64-bit values.
63248         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
63249         pass to INTERNAL_VSYSCALL_NCS.
63250         (INLINE_VSYSCALL): Add 'long int' as return type to
63251         INTERNAL_VSYSCALL_NCS macro invocation.
63252         (INTERNAL_VSYSCALL): Add 'long int' as return type to
63253         INTERNAL_VSYSCALL_NCS macro invocation.
63254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63256 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63258         [BZ #14496]
63259         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
63260         Fix application of SIMD FP exception mask.
63262         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63263         mp_no from a power of two.
63264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63265         __mpexp_twomm1.  Use __pow_mp.
63267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63268         multiplication.
63270 2013-01-17  David S. Miller  <davem@davemloft.net>
63272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63274 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63276         [BZ #15023]
63277         * include/complex.h: Condition contents on [!_COMPLEX_H].
63278         (__kernel_casinhf): New prototype.
63279         (__kernel_casinh): Likewise.
63280         (__kernel_casinhl): Likewise.
63281         * math/Makefile (libm_calls): Add k_casinh.
63282         * math/k_casinh.c: New file.
63283         * math/k_casinhf.c: Likewise.
63284         * math/k_casinhl.c: Likewise.
63285         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63286         finite nonzero arguments.
63287         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63288         finite nonzero arguments.
63289         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63290         finite nonzero arguments.
63291         * math/s_casinh.c: Do not include <float.h>.
63292         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63293         * math/s_casinhf.c: Do not include <float.h>.
63294         (__casinhf): Move code for finite nonzero arguments to
63295         k_casinhf.c.
63296         * math/s_casinhl.c: Do not include <float.h>.
63297         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63298         redefine.
63299         (__casinhl): Move code for finite nonzero arguments to
63300         k_casinhl.c.
63301         * math/libm-test.inc (cacos_test): Add more tests.
63302         * sysdeps/i386/fpu/libm-test-ulps: Update.
63303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63305 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63307         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63308         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63309         [!HAVE_MREMAP]: Remove [defined linux] case.
63310         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63312 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63314         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63316 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63318         * elf/elf.h (R_386_SIZE32): New relocation.
63319         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63320         R_386_SIZE32.
63321         (elf_machine_rela): Likewise.
63322         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63323         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63325 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63327         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63328         (FP_FAST_FMA): Do not define.
63329         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63330         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63331         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63332         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63333         !_SOFT_FLOAT]: Likewise.
63334         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63335         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63336         value.
63337         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63338         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63339         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63340         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63341         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63342         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63343         file.
63345 2013-01-16  Andreas Schwab  <schwab@suse.de>
63347         [BZ #14327]
63348         * include/stdlib.h (__mktemp): Add declaration.
63349         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63350         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63352 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63354         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63355         definitions.
63356         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63357         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63358         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63359         definitions here.
63360         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63361         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63362         definitions.
63363         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63364         and ONE.
63365         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63366         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63367         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63368         definitions.
63369         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63370         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63371         definitions.
63372         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63374         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63376 2013-01-15  David S. Miller  <davem@davemloft.net>
63378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63379         trunc{,f} to libm-sysdep_routes.
63380         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63382         file.
63383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63385         file.
63386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63387         file.
63388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63390         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63391         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63392         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63393         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63394         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63395         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63398         nearbyint{,f} to libm-sysdep_routes.
63399         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63401         New file.
63402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63403         file.
63404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63405         New file.
63406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63407         file.
63408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63410         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63411         file.
63412         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63413         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63414         file.
63415         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63416         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63417         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63419         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63420         libc_feholdexcept and libc_fesetenv.
63422 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63424         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63426 2013-01-14  David S. Miller  <davem@davemloft.net>
63428         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63429         (SPARC_ASM_VIS2_IFUNC): Likewise.
63430         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63432         use of 'siam' instruction.
63433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63434         Likewise.
63435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63436         Likewise.
63437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63438         Likewise.
63439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63444         file.
63445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63446         file.
63447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63448         file.
63449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63450         file.
63451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63456         new VIS2 routines.
63457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63460         Likewise.
63461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63466         routines to libm-sysdep_routines.
63467         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63470         fdim/fdimf to libm-sysdep_routines.
63471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63472         file.
63473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63475         file.
63476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63479         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63480         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63481         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63482         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63484 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63486         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63487         to optimize copies.
63489         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63494         local variable MPTWO.
63495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63496         Likewise.
63498 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63500         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63501         GLOB_NOESCAPE.
63503 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63505         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63507 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63509         * manual/pattern.texi (glob_t): Document gl_flags.
63510         (glob64_t): Likewise.
63512 2013-01-11  David S. Miller  <davem@davemloft.net>
63514         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63515         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63516         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63517         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63518         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63519         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63520         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63521         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63522         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63523         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63524         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63525         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63526         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63528         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63529         sparc V9 rather than using V8 code.
63530         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63531         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63533         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63534         Move to...
63535         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63536         Here.
63538 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63540         [BZ #14941]
63541         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63542         not in the main loop.
63543         * configure: Regenerated.
63545 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63547         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63548         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63549         to just #else.
63550         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63551         [!__GLIBC_HAVE_LONG_LONG] case.
63552         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63553         condition to just #else.
63554         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63555         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63556         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63557         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63558         unconditional.
63559         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63560         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63561         #elif condition to just #else.
63562         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63563         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63564         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63565         #elif condition to just #else.
63567 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63569         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63570         (EF_MIPS_ARCH_64): Fix value.
63571         (EF_MIPS_ARCH_32R2): New.
63572         (EF_MIPS_ARCH_64R2): New.
63574 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63576         * Makeconfig (+link-pie-before-libc): New.
63577         (+link-pie-after-libc): Likewise.
63578         (+link-pie-tests): Likewise.
63579         (+link-pie): Rewritten.
63580         (link-before-libc): Remove $(config-LDFLAGS).
63581         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63582         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63583         (config-LDFLAGS): Renamed to ...
63584         (rtld-LDFLAGS): This.
63585         (rtld-tests-LDFLAGS): New macro.
63586         (link-libc-rpath-link): Likewise.
63587         (link-libc-tests-rpath-link): Likewise.
63588         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63589         (link-libc): Prepand $(link-libc-rpath-link).
63590         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63591         (test-program-prefix): New macro.
63592         (test-via-rtld-prefix): Likewise.
63593         (test-program-cmd): Likewise.
63594         (host-test-program-cmd): Likewise.
63595         * Makefile ($(common-objpfx)testrun.sh): Replace
63596         $(run-program-prefix) with $(test-program-prefix).
63597         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63598         $(rtld-LDFLAGS).
63599         ($(common-objpfx)shlib.lds): Likewise.
63600         (build-module-helper): Likewise.
63601         ($(common-objpfx)format.lds): Likewise.
63602         * Rules (binaries-pie-tests): New.
63603         (binaries-pie-notests): Likewise.
63604         (binaries-pie): Rewritten.
63605         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63606         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63607         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63608         (make-test-out): Replace $(host-built-program-cmd) with
63609         $(host-test-program-cmd).
63610         * config.make.in (build-hardcoded-path-in-tests): New variable.
63611         * configure.in (--enable-hardcoded-path-in-tests): New configure
63612         option.
63613         (hardcoded_path_in_tests): New AC_SUBST.
63614         * configure: Regenerated.
63615         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63616         $(built-program-cmd) with $(test-program-cmd).
63617         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63618         (test_program_cmd): This.
63619         * elf/Makefile ($(objpfx)order.out): Run test with
63620         $(test-program-prefix).
63621         ($(objpfx)order2.out): Likewise.
63622         ($(objpfx)tst-initorder.out): Likewise.
63623         ($(objpfx)tst-initorder2.out): Likewise.
63624         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63625         $(test-program-cmd).
63626         ($(objpfx)tst-array1-static.out): Likewise.
63627         ($(objpfx)tst-array2.out): Likewise.
63628         ($(objpfx)tst-array3.out): Likewise.
63629         ($(objpfx)tst-array4.out): Likewise.
63630         ($(objpfx)tst-array5.out): Likewise.
63631         ($(objpfx)tst-array5-static.out): Likewise.
63632         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63633         $(test-program-cmd).
63634         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63635         $(run-program-prefix) with $(test-program-prefix).
63636         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63637         (test_program_prefix): This.
63638         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63639         $(run-program-prefix) with $(test-program-prefix).
63640         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63641         (test_program_prefix): This.
63642         * iconvdata/tst-tables.sh: Likewise.
63643         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63644         $(run-program-prefix) with $(test-program-prefix).
63645         ($(objpfx)tst-translit.out): Likewise.
63646         ($(objpfx)tst-gettext2.out): Likewise.
63647         ($(objpfx)tst-gettext4.out): Likewise.
63648         ($(objpfx)tst-gettext6.out): Likewise.
63649         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63650         (test_program_prefix): This.
63651         * intl/tst-gettext2.sh: Likewise.
63652         * intl/tst-gettext4.sh  Likewise.
63653         * intl/tst-gettext6.sh: Likewise.
63654         * intl/tst-translit.sh: Likewise.
63655         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63656         with $(test-program-cmd).
63657         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63658         $(run-program-prefix) with $(test-program-prefix).
63659         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63660         (test_program_prefix): This.
63661         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63662         $(run-program-prefix) with $(test-program-prefix).
63663         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63664         (test_program_prefix): This.
63665         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63666         * posix/Makefile ($(objpfx)globtest.out): Replace
63667         $(run-via-rtld-prefix) and $(test-wrapper) with
63668         $(test-program-prefix) and $(test-via-rtld-prefix).
63669         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63670         $(test-program-prefix).
63671         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63672         $(host-test-program-cmd).
63673         (tst-spawn-ARGS): Likewise.
63674         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63675         $(test-program-prefix).
63676         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63677         (test_via_rtld_prefix): This.
63678         (test_wrapper): Renamed to ...
63679         (test_program_prefix): This.
63680         (run_program_prefix): Replaced by test_program_prefix.
63681         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63682         (test_program_prefix): This.
63683         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63684         with $(host-test-program-cmd).
63685         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63686         $(run-program-prefix) with $(test-program-prefix).
63687         ($(objpfx)tst-printf.out): Likewise.
63688         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63689         $(test-program-cmd).
63690         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63691         (test_program_prefix): This.
63692         * stdio-common/tst-unbputc.sh: Likewise.
63693         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63694         $(run-program-prefix) with $(test-program-prefix).
63695         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63696         (test_program_prefix): This.
63697         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63698         $(built-program-cmd) with $(test-program-cmd).
63700 2013-01-11  Andreas Jaeger  <aj@suse.de>
63702         [BZ #15003]
63703         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63704         value. Sync with Linux 3.7.
63706 2013-01-10  David S. Miller  <davem@davemloft.net>
63708         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63709         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63710         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63712 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63714         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63715         never set.
63716         * configure: Regenerated.
63718 2013-01-10  David S. Miller  <davem@davemloft.net>
63720         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63721         sparc V9 rather than using V8 code.
63722         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63723         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63725 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63727         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63728         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63729         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63730         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63731         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63732         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63733         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63734         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63735         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63736         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63737         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63738         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63739         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63740         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63741         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63742         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63743         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63744         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63745         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63746         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63747         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63748         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63749         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63750         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63751         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63752         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63753         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63755 2013-01-10  David S. Miller  <davem@davemloft.net>
63757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63759 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63761         * posix/Makefile (tests-static): New variable.
63762         (tests): Add $(tests-static).
63763         (tst-exec-static-ARGS): New variable.
63764         (tst-spawn-static-ARGS): Likewise.
63765         * posix/tst-exec-static.c: New file.
63766         * posix/tst-spawn-static.c: Likewise.
63767         * posix/tst-exec.c: Support run directly.
63768         * posix/tst-spawn.c: Likewise.
63770 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63772         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63773         long.
63774         * math/bits/mathcalls.h (llrint): Likewise.
63775         (llround): Likewise.
63776         * stdlib/stdlib.h (struct drand48_data): Likewise.
63777         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63778         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63779         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63780         Likewise.
63781         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63782         Likewise.
63783         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63784         (elf_greg_t): Likewise.
63785         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63786         (__jmp_buf): Likewise.
63787         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63788         definitions.
63789         (llrint): Likewise, for all definitions.
63790         (llrintl): Likewise.
63792         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63793         Remove [__GNUC__] condition.
63794         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63795         condition to just [__USE_ISOC99].
63796         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63798 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63800         [BZ #14200]
63801         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63802         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63803         defined.
63804         (_POSIX_V6_ILP32_OFF32): Likewise.
63805         (_XBS5_ILP32_OFF32): Likewise.
63806         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63807         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63809 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63811         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63813         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63814         doubles __mpexp_twomm1.  Adjust usage.
63815         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63816         Remove.
63818 2013-01-10  Andreas Schwab  <schwab@suse.de>
63820         [BZ #14964]
63821         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63822         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63824 2013-01-09  David S. Miller  <davem@davemloft.net>
63826         [BZ #15003]
63827         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63828         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63829         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63830         (TCP_FASTOPEN): Define.
63831         (tcp_repair_opt): New structure.
63832         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63833         enum values.
63834         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63835         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63836         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63837         (tcp_cookie_transactions): New structure.
63839 2013-01-09  Anton Blanchard  <anton@samba.org>
63841         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63842         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63844         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63846 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
63848         * include/features.h (__USE_ANSI): Remove.
63850 2013-01-09  Roland McGrath  <roland@hack.frob.com>
63852         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63854         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63856 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
63858         * sysdeps/s390/fpu/libm-test-ulps: Update.
63860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63862         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63863         (__acr): Likewise.
63864         (__cpy): Likewise.
63865         (norm): Likewise.
63866         (denorm): Likewise.
63867         (__mp_dbl): Likewise.
63868         (__dbl_mp): Likewise.
63869         (add_magnitudes): Likewise.
63870         (sub_magnitudes): Likewise.
63871         (__add): Likewise.
63872         (__sub): Likewise.
63873         (__mul): Likewise.
63874         (__inv): Likewise.
63875         (__dvd): Likewise.
63876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
63877         (__acr): Likewise.
63878         (__cpy): Likewise.
63879         (norm): Likewise.
63880         (denorm): Likewise.
63881         (__mp_dbl): Likewise.
63882         (__dbl_mp): Likewise.
63883         (add_magnitudes): Likewise.
63884         (sub_magnitudes): Likewise.
63885         (__add): Likewise.
63886         (__sub): Likewise.
63887         (__mul): Likewise.
63888         (__inv): Likewise.
63889         (__dvd): Likewise.
63890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
63891         (__acr): Likewise.
63892         (__cpy): Likewise.
63893         (norm): Likewise.
63894         (denorm): Likewise.
63895         (__mp_dbl): Likewise.
63896         (__dbl_mp): Likewise.
63897         (add_magnitudes): Likewise.
63898         (sub_magnitudes): Likewise.
63899         (__add): Likewise.
63900         (__sub): Likewise.
63901         (__mul): Likewise.
63902         (__inv): Likewise.
63903         (__dvd): Likewise.
63905 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
63907         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
63908         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
63909         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
63910         2 && __USE_EXTERN_INLINES]: Likewise.
63912 2013-01-08  Andreas Jaeger  <aj@suse.de>
63914         [BZ# 14985]
63915         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
63916         Remove.
63917         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63918         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63920 2013-01-07  Anton Blanchard  <anton@samba.org>
63922         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
63923         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63924         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
63925         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63926         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63927         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63928         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
63929         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63931         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63932         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63933         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63934         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63935         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63936         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63937         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63938         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63939         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63940         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
63941         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63942         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
63943         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
63944         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63945         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63946         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
63947         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63948         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63949         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
63951         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63952         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
63953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63954         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63955         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63956         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63957         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63958         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63959         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63960         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
63961         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
63962         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
63963         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63964         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63966 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
63968         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
63969         (__MALLOC_PMT): Likewise.
63970         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
63971         [__GNUC__], only on [_LIBC].
63972         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63973         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
63974         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63975         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
63976         forward declaration.
63977         (realloc_hook_ini): Likewise.
63978         (memalign_hook_ini): Likewise.
63979         (__libc_memalign): Do not use __MALLOC_PMT in variable
63980         declaration.
63981         (__libc_valloc): Likewise.
63982         (__libc_pvalloc): Likewise.
63983         (__libc_calloc): Likewise.
63984         (__posix_memalign): Likewise.
63986         [BZ #14996]
63987         * math/s_casinh.c: Include <float.h>.
63988         (__casinh): Do not do computation with squaring and square root
63989         for large arguments.
63990         * math/s_casinhf.c: Include <float.h>.
63991         (__casinhf): Do not do computation with squaring and square root
63992         for large arguments.
63993         * math/s_casinhl.c: Include <float.h>.
63994         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
63995         (__casinhl): Do not do computation with squaring and square root
63996         for large arguments.
63997         * math/libm-test.inc (casin_test): Add more tests.
63998         (casinh_test): Likewise.
63999         * sysdeps/i386/fpu/libm-test-ulps: Update.
64000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64002 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64004         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64005         (__x86_64_raw_data_cache_size): Likewise.
64006         (__x86_64_data_cache_size_half): Likewise.
64007         (__x86_64_raw_data_cache_size_half): Likewise.
64008         (__x86_64_shared_cache_size): Likewise.
64009         (__x86_64_raw_shared_cache_size): Likewise.
64010         (__x86_64_shared_cache_size_half): Likewise.
64011         (__x86_64_raw_shared_cache_size_half): Likewise.
64012         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64013         to ...
64014         (__x86_data_cache_size): This.
64015         (__x86_64_raw_data_cache_size): Renamed to ...
64016         (__x86_raw_data_cache_size): This.
64017         (__x86_64_data_cache_size_half): Renamed to ...
64018         (__x86_data_cache_size_half): This.
64019         (__x86_64_raw_data_cache_size_half): Renamed to ...
64020         (__x86_raw_data_cache_size_half): This.
64021         (__x86_64_shared_cache_size): Renamed to ...
64022         (__x86_shared_cache_size): This.
64023         (__x86_64_raw_shared_cache_size): Renamed to ...
64024         (__x86_raw_shared_cache_size): This.
64025         (__x86_64_shared_cache_size_half): Renamed to ...
64026         (__x86_shared_cache_size_half): This.
64027         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64028         (__x86_raw_shared_cache_size_half): This.
64029         * sysdeps/x86_64/memcpy.S: Updated.
64030         * sysdeps/x86_64/memset.S: Likewise.
64031         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64032         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64033         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64035 2013-01-04  David S. Miller  <davem@davemloft.net>
64037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64039 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64041         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64042         1 to avoid redefinition warning.
64043         (__USE_GNU): Don't define.
64044         (init_signaling_nan): Protoize.
64046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64048 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64050         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64052         (__cpymn): Likewise.
64053         (norm): Remove commented code.
64054         (denorm): Likewise.
64055         (__mp_dbl): Likewise.
64056         (__inv): Likewise.
64057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64058         (__cpymn): Likewise.
64059         (norm): Remove commented code.
64060         (denorm): Likewise.
64061         (__mp_dbl): Likewise.
64062         (__inv): Likewise.
64064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64065         mp_no value for 1.0 and 2.0.
64066         (norm): Use RADIXI instead of radixi.d.
64067         (denorm): Likewise.
64068         (__mul): Use 0.0 instead of zero.d.
64069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64070         mp_no value for 1.0 and 2.0.
64071         (norm): Use RADIXI instead of radixi.d.
64072         (denorm): Likewise.
64073         (__mul): Use 0.0 instead of zero.d.
64075 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64077         [BZ #14994]
64078         * math/s_casinh.c (__casinh): Reduce finite argument to first
64079         quadrant then set signs of results at the end.
64080         * math/s_casinhf.c (__casinhf): Likewise.
64081         * math/s_casinhl.c (__casinhl): Likewise.
64082         * math/libm-test.inc (casin_test): Add more tests.
64083         (casinh_test): Likewise.
64084         * sysdeps/i386/fpu/libm-test-ulps: Update.
64085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64087 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64089         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64091         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64093         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64094         declarations.
64095         (denorm): Likewise.
64096         (__mp_dbl): Likewise.
64097         (__inv): Likewise.
64099         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64100         and adjust the header comment.
64102         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64103         variable name from declaration.
64105 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64108         Initialize COMMON_CPUID_INDEX_7 element.
64109         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64110         (CPUID_RTM): Likewise.
64111         (HAS_RTM): Likewise.
64112         (COMMON_CPUID_INDEX_7): New enum.
64114 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64116         [BZ #14981]
64117         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64118         size is zero, record memory as freed.
64120 2013-01-03  Andreas Jaeger  <aj@suse.de>
64122         * po/ia.po: Add new Interlingua translation.
64124 2012-01-03  Allan McRae  <allan@archlinux.org>
64126         * locale/programs/localedef.c: Fix description of '--posix' flag.
64128 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64130         * NEWS: Update dates in second copyright notice.
64131         * README: Update copyright dates in example.
64132         * manual/libc.texinfo: Update copyright dates.
64133         * scripts/test-installation.pl: Update copyright date in --version
64134         output.
64136         * hurd/ctty-input.c: Fix copyright notice formatting.
64137         * hurd/ctty-output.c: Likewise.
64138         * hurd/dtable.c: Likewise.
64139         * hurd/hurd-raise.c: Likewise.
64140         * hurd/hurdprio.c: Likewise.
64141         * hurd/msgportdemux.c: Likewise.
64142         * misc/sys/file.h: Likewise.
64143         * misc/sys/ioctl.h: Likewise.
64144         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64145         * sysdeps/mach/hurd/chdir.c: Likewise.
64146         * sysdeps/mach/hurd/fchdir.c: Likewise.
64147         * sysdeps/mach/hurd/rename.c: Likewise.
64148         * sysdeps/mach/hurd/rmdir.c: Likewise.
64149         * sysdeps/mach/hurd/seekdir.c: Likewise.
64150         * sysdeps/mach/hurd/setsid.c: Likewise.
64151         * sysdeps/posix/wait3.c: Likewise.
64153         * All files with FSF copyright notices: Update copyright dates
64154         using scripts/update-copyrights.
64155         * intl/plural.c: Regenerated.
64156         * locale/programs/charmap-kw.h: Likewise.
64157         * locale/programs/locfile-kw.h: Likewise.
64159 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64161         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64162         four values.
64164         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64165         calculation loop and add branch prediction.
64167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64168         check access beyond bounds of m1np.
64170         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64171         MPTWO.
64172         (__inv): Remove local variable MPTWO to use the global
64173         constant.
64174         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64176         variable MPTWO.
64177         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64178         MP3HALFS static const.
64180 2013-01-01  David S. Miller  <davem@davemloft.net>
64182         * po/ca.po: Update from translation team.
64184 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
64186         * scripts/update-copyrights: New file.
64187         * Makeconfig: Reformat copyright notice.
64188         * ctype/ctype.h: Likewise.
64189         * debug/swprintf_chk.c: Likewise.
64190         * elf/dl-cache.c: Likewise.
64191         * elf/dl-debug.c: Likewise.
64192         * elf/dl-object.c: Likewise.
64193         * grp/initgroups.c: Likewise.
64194         * hurd/Makefile: Likewise.
64195         * hurd/hurd/signal.h: Likewise.
64196         * hurd/hurdfault.c: Likewise.
64197         * hurd/hurdioctl.c: Likewise.
64198         * hurd/hurdlookup.c: Likewise.
64199         * hurd/intr-msg.c: Likewise.
64200         * iconv/gconv_open.c: Likewise.
64201         * libio/swprintf.c: Likewise.
64202         * locale/lc-ctype.c: Likewise.
64203         * locale/nl_langinfo.c: Likewise.
64204         * mach/Machrules: Likewise.
64205         * mach/Makefile: Likewise.
64206         * malloc/obstack.h: Likewise.
64207         * manual/Makefile: Likewise.
64208         * manual/tsort.awk: Likewise.
64209         * misc/bits/stab.def: Likewise.
64210         * nis/nis_print_group_entry.c: Likewise.
64211         * nis/nis_table.c: Likewise.
64212         * nis/nss_compat/compat-pwd.c: Likewise.
64213         * nis/nss_compat/compat-spwd.c: Likewise.
64214         * po/Makefile: Likewise.
64215         * posix/fnmatch.c: Likewise.
64216         * posix/regex.h: Likewise.
64217         * resolv/Makefile: Likewise.
64218         * resolv/nss_dns/dns-network.c: Likewise.
64219         * resolv/res_hconf.c: Likewise.
64220         * scripts/gen-sorted.awk: Likewise.
64221         * soft-fp/soft-fp.h: Likewise.
64222         * stdio-common/printf.h: Likewise.
64223         * stdlib/monetary.h: Likewise.
64224         * stdlib/random.c: Likewise.
64225         * stdlib/random_r.c: Likewise.
64226         * sysdeps/generic/Makefile: Likewise.
64227         * sysdeps/gnu/Makefile: Likewise.
64228         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64229         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64230         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64231         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64232         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64234         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64235         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64236         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64238         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64239         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64240         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64241         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64242         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64243         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64244         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64245         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64246         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64247         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64248         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64249         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64250         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64251         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64252         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
64253         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64254         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
64255         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
64256         * sysdeps/mach/hurd/errnos.awk: Likewise.
64257         * sysdeps/mach/hurd/fork.c: Likewise.
64258         * sysdeps/mach/hurd/getcwd.c: Likewise.
64259         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
64260         * sysdeps/mach/hurd/mmap.c: Likewise.
64261         * sysdeps/mach/hurd/utimes.c: Likewise.
64262         * sysdeps/mach/hurd/xmknod.c: Likewise.
64263         * sysdeps/posix/profil.c: Likewise.
64264         * sysdeps/posix/readdir_r.c: Likewise.
64265         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64266         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64267         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64268         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64270         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64271         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64272         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64274         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64275         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64276         * sysdeps/pthread/lio_listio.c: Likewise.
64277         * sysdeps/sparc/dl-procinfo.h: Likewise.
64278         * sysdeps/unix/i386/sysdep.S: Likewise.
64279         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64280         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64281         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64282         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64284         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64285         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64286         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64287         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64288         * sysdeps/wordsize-32/divdi3.c: Likewise.
64289         * time/sys/time.h: Likewise.
64290         * wcsmbs/Makefile: Likewise.
64292 2013-01-01  David S. Miller  <davem@davemloft.net>
64294         * po/fr.po: Update from translation team.
64296         * catgets/gencat.c: Update copyright year.
64297         * csu/version.c: Likewise.
64298         * debug/catchsegv.sh: Likewise.
64299         * debug/pcprofiledump.c: Likewise.
64300         * debug/xtrace.sh: Likewise.
64301         * elf/ldconfig.c: Likewise.
64302         * elf/ldd.bash.in: Likewise.
64303         * elf/pldd.c: Likewise.
64304         * elf/sotruss.ksh: Likewise.
64305         * elf/sprof.c: Likewise.
64306         * iconv/iconv_prog.c: Likewise.
64307         * iconv/iconvconfig.c: Likewise.
64308         * locale/programs/locale.c: Likewise.
64309         * locale/programs/localedef.c: Likewise.
64310         * login/programs/pt_chown.c: Likewise.
64311         * malloc/memusage.sh: Likewise.
64312         * malloc/memusagestat.c: Likewise.
64313         * malloc/mtrace.pl: Likewise.
64314         * nscd/nscd.c: Likewise.
64315         * nss/getent.c: Likewise.
64316         * nss/makedb.c: Likewise.
64317         * posix/getconf.c: Likewise.
64319 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64321         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64322         numbers.
64324 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64326         * math/bits/mathcalls.h (modf): Use __nonnull.
64328 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64330         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64331         (split): Use macro CN instead of the bare value.
64332         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64333         could be used.
64334         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64335         instead of the bare value.
64336         (power1): Likewise.
64338 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64340         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64341         __ATAN_TWOM.
64342         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64344         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64345         their values.
64346         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64347         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64348         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64349         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64351 2012-12-28  Andreas Jaeger  <aj@suse.de>
64353         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64354         values are from Linux 3.7.
64356         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64357         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64359 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64361         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64362         TRUE case.
64364         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64365         (norm): Likewise.
64366         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64367         variables with preprocessor constants.
64368         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64369         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64370         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64372 2012-12-27  Bruno Haible  <bruno@clisp.org>
64374         [BZ #14317]
64375         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64376         only if needed.
64378 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64380         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64381         and use variable directly.
64382         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64384         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64385         MPONE.
64386         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64387         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64388         variable MPONE.
64389         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64390         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64391         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64392         include directive.  Remove local variable MPONE.
64393         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64394         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64395         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64397 2012-12-25  David S. Miller  <davem@davemloft.net>
64399         * version.h (RELEASE): Set to "development".
64400         (VERSION): Set to "2.17.90".
64401         * NEWS: Add 2.18 section.
64403 2012-12-21  David S. Miller  <davem@davemloft.net>
64405         * po/hr.po: Update from translation team.
64407 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64409         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64411 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64413         * NEWS:  Mention new memcpy for MIPS.
64415 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64417         * manual/contrib.texi (Contributors): Spelling correction.
64419 2012-12-15  David S. Miller  <davem@davemloft.net>
64421         * po/ru.po: Update from translation team.
64423 2012-12-13  David S. Miller  <davem@davemloft.net>
64425         * NEWS: Mention IFUNC testsuite enhancements.
64427         * po/pl.po: Update from translation team.
64428         * po/bg.po: Likewise.
64430         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64431         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64433 2012-12-11  David S. Miller  <davem@davemloft.net>
64435         * po/sv.po: Update from translation team.
64437         * po/vi.po: Update from translation team.
64439         * po/cs.po: Update from translation team.
64441         * po/de.po: Update from translation team.
64442         * po/eo.po: Likewise.
64443         * po/nl.po: Likewise.
64445 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64447         [BZ #14246]
64448         * manual/argp.texi (Argp Helper Functions): Move node to follow
64449         Argp Parsing State.
64451         [BZ #14872]
64452         * manual/conf.texi (Limits on File System Capacity): Mention if
64453         terminating null is included in the max size.
64455 2012-12-10  Andreas Jaeger  <aj@suse.de>
64457         * po/cs.po: Update from translation team.
64459 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64461         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64462         void pointer and cast to uintptr_t.
64463         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64464         path.
64465         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64466         * sysdeps/s390/s390-64/memset.S: Likewise.
64468 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64470         [BZ #14833]
64471         * menual/message.texi (Message Translation): Fix typos.
64472         (Helper programs for gettext): Likewise.
64474 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64476         [BZ #14898]
64477         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64478         Change to -1.
64480 2012-12-07  David S. Miller  <davem@davemloft.net>
64482         * po/libc.pot: Update.
64484 2012-12-07  Richard Henderson  <rth@redhat.com>
64486         [BZ #10114]
64487         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64488         normal/normal case to before the switch.
64489         (_FP_DIV): Likewise.
64491 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64492             Mike Frysinger  <vapier@gentoo.org>
64494         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64495         check for __NR_fadvise64_64.
64497 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64499         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64500         0, not just to plain "0" as a statement.
64501         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64502         with cw.
64504 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64506         * NEWS: Use sourceware.org in Bugzilla URL.
64508 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64511         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64513         * stdio-common/tst-put-error.c (do_test): Add newline to the
64514         padded test to ensure flush.
64516 2012-12-05  Jeff Law  <law@redhat.com>
64518         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64520 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64522         * README: Don't refer to ports add-on as distributed separately.
64523         Mention AArch64 in list of systems supported in the ports add-on.
64525         * LICENSES: Add more non-FSF copyright and license notices.
64527         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64528         ((unused)).
64530         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64532         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64533         10000 as width of padded output.
64535 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64537         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64539         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64540         variable LX with __attribute__ ((unused)).
64541         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64542         Likewise.
64543         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64545         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64546         with __attribute__ ((unused)).
64548 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64550         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64552 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64554         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64555         (CFLAGS-nldbl-acos.c): New variable.
64556         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64557         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64558         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64559         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64560         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64561         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64562         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64563         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64564         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64565         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64566         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64567         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64568         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64569         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64570         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64571         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64572         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64573         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64574         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64575         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64576         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64577         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64578         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64579         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64580         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64581         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64582         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64583         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64584         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64585         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64586         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64587         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64588         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64589         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64590         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64591         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64592         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64593         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64594         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64595         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64596         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64597         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64598         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64599         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64600         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64601         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64602         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64603         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64604         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64605         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64606         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64607         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64608         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64609         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64610         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64611         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64612         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64613         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64614         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64615         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64616         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64617         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64618         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64619         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64620         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64621         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64622         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64623         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64624         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64625         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64626         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64627         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64628         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64629         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64630         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64631         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64632         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64633         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64634         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64635         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64636         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64637         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64638         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64639         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64640         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64641         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64642         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64643         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64644         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64645         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64646         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64647         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64648         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64649         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64650         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64651         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64652         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64655         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64657         [BZ #14914]
64658         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64659         whole low double instead of just low 47 bits when splitting values
64660         into two parts.
64662 2012-12-03  Allan McRae  <allan@archlinux.org>
64664         * manual/stdio.texi (Predefined Printf Handlers): Remove
64665         @hsep and @vsep usage.
64667 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64669         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64670         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64672 2012-12-03  Jeff Law  <law@redhat.com>
64674         * time/sys/time.h (settimeofday): Do not mark TV argument
64675         as __nonnull.
64677 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64679         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64680         when currently writing and seek to current position when not.
64681         * libio/Makefile (tests): Remove bug-fclose1.
64682         * libio/bug-fclose1.c: Delete.
64684 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64686         * manual/arith.texi (feenableexcept): Fix typo.
64687         (fedisableexcept): Likewise.
64689 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64691         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64692         second, differently-typed declaration, rather than a cast.
64694 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64696         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64697         * include/rpc/svc.h: ... here.
64699 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64701         [BZ #13013]
64702         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64703         depending n and resplen2 to catch cases where answer
64704         equals answerp2.
64706 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64708         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64709         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64711 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64713         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64715 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64717         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64719 2012-11-28  Jeff Law  <law@redhat.com>
64721         [BZ #13761]
64722         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64723         dataset_temporary.  Track alloca usage into alloca_used.
64724         If dataset is large allocate and release it via malloc/free.
64726 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64728         [BZ #14197]
64729         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64731 2012-11-28  David S. Miller  <davem@davemloft.net>
64733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64735 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64737         [BZ #14803]
64738         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64739         of pi/2 rounded to nearest to 64 bits.
64740         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64741         nearest to 64 bits.
64742         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64743         bits.
64745 2012-11-28  Jeff Law <law@redhat.com>
64746             Martin Osvald <mosvald@redhat.com>
64748         [BZ #14889]
64749         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64750         * sunrpc/svc.c: Include time.h.
64751         (__svc_accept_failed): New function.
64752         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64753         any reason other than EINTR, call __svc_accept_failed.
64754         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64755         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64757 2012-11-28  Andreas Schwab  <schwab@suse.de>
64759         * scripts/abilist.awk: Also handle indirect functions in .opd
64760         section.
64762 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64764         [BZ #13881]
64765         * sysdeps/x86/fpu/powl_helper.c: New file.
64766         * sysdeps/x86/fpu/Makefile: Likewise.
64767         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64768         (p3): New object.
64769         (__ieee754_powl): Use __powl_helper for finite arguments except
64770         integer exponents below 8.
64771         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64772         (p3): New object.
64773         (__ieee754_powl): Use __powl_helper for finite arguments except
64774         integer exponents below 8.
64775         * math/libm-test.inc (pow_test): Add more tests and enable some
64776         previously disabled tests.
64777         * sysdeps/i386/fpu/libm-test-ulps: Update.
64778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64780 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64781             Carlos O'Donell  <carlos_odonell@mentor.com>
64783         * nss/makedb.c (is_prime): Assert that input is odd and greater
64784         than 4.  Note that fact in a comment too.
64785         (next_prime): Add 4 to input.
64787 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64789         [BZ #11741]
64790         * libio/Makefile (tests): Add test case tst-fwrite-error.
64791         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64792         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64793         * libio/tst-fwrite-error.c: New test case.
64795 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64797         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64798         before casting to void *.
64799         * include/libc-internal.h (__pointer_type): New macro.
64800         (__integer_if_pointer_type_sub): Likewise.
64801         (__integer_if_pointer_type): Likewise.
64802         (cast_to_integer): Likewise.
64803         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64804         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64805         before casting to atomic64_t.
64806         (atomic_exchange_acq): Likewise.
64807         (__arch_exchange_and_add_body): Likewise.
64808         (__arch_add_body): Likewise.
64809         (atomic_add_negative): Likewise.
64810         (atomic_add_zero): Likewise.
64812 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64814         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64815         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64816         (add_fdes): Likewise.
64817         (linear_search_fdes): Likewise.
64818         (binary_search_unencoded_fdes): Likewise.
64820 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64822         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64824 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64826         * configure.in: Autodetect C++ header directories.
64827         * configure: Regenerated.
64829 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64831         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64833 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64837 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64839         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64840         LDBL_MANT_DIG == 106]: Disable some tests.
64841         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64842         Likewise.
64843         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64844         Likewise.
64846         [BZ #14871]
64847         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64848         input for small inputs.  Return +/- pi/2 for large inputs.
64849         * math/libm-test.inc (atan_test): Add more tests.
64851         * sysdeps/generic/unwind-dw2-fde-glibc.c
64852         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64853         __attribute__ ((unused)).
64855         [BZ #14645]
64856         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64857         x * y if x and y are nonzero and z is zero.
64859         [BZ #14811]
64860         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64861         nonzero exponents with absolute value below 0x1p-117 to +/-
64862         0x1p-117.
64864         [BZ #14869]
64865         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64866         up arguments below 2**-450, not just those below 2**-500.
64867         * math/libm-test.inc (hypot_test): Add another test.
64869         [BZ #14868]
64870         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64871         Return a+b for ratio over 2**120, not 2**60.
64872         * math/libm-test.inc (hypot_test): Add another test.
64874         * math/libm-test.inc (clog_test): Use
64875         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
64876         (clog10_test): Likewise.
64878         [BZ #6778]
64879         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
64881 2012-11-22  Andreas Schwab  <schwab@suse.de>
64883         * sysdeps/i386/fpu/libm-test-ulps: Update.
64885 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
64887         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
64888         printf output with newline.
64890 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
64892         [BZ #14865]
64893         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
64894         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
64895         -z nodlopen, -z initfirst and -z execstack support.
64896         * configure: Regenerated.
64898         * elf/elf.h (DF_1_NODIRECT): New macro.
64899         (DF_1_IGNMULDEF): Likewise.
64900         (DF_1_NOKSYMS): Likewise.
64901         (DF_1_NOHDR): Likewise.
64902         (DF_1_EDITED): Likewise.
64903         (DF_1_NORELOC): Likewise.
64904         (DF_1_SYMINTPOSE): Likewise.
64905         (DF_1_GLOBAUDIT): Likewise.
64906         (DF_1_SINGLETON): Likewise.
64907         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
64908         DT_1_SUPPORTED_MASK bits.
64909         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
64911 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
64913         * sysdeps/unix/make-syscalls.sh: Document prefixes.
64915 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
64917         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
64918         macro.
64920         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
64921         (sendmmsg): Move declarations...
64922         * socket/sys/socket.h: ... here.
64923         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
64924         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
64925         include it from...
64926         * socket/recvmmsg.c: ... this new file.
64927         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
64928         (sendmmsg): Rename to __sendmmsg, create weak alias and make
64929         definition of __sendmmsg hidden.
64930         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
64931         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
64932         Move ENOSYS stub into and include it from...
64933         * socket/sendmmsg.c: ... this new file.
64934         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
64935         (sysdep_routines): Move recvmmsg and sendmmsg...
64936         * socket/Makefile (routines): ... here.
64937         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
64938         (GLIBC_PRIVATE): Add __sendmmsg.
64939         * include/sys/socket.h (__sendmmsg): Add declarations.
64940         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
64941         sendmmsg.
64943 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
64945         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
64946         variable I1 with __attribute__ ((unused)).
64947         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64949 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64951         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
64952         DUMMY variables with __attribute__ ((unused)).
64954         * bits/byteswap.h: Include <bits/types.h>.
64955         (__bswap_64): Use __uint64_t instead of unsigned long long int.
64957 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64959         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
64960         string_t.  Do not manually set errno.
64961         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
64962         length with __strnlen.  Make sure to both set errno and return it on
64963         failure.
64965 2012-11-19  David S. Miller  <davem@davemloft.net>
64967         With help from Joseph Myers.
64968         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
64969         very large arguments properly.
64970         * math/libm-test.inc (atan_test): New tests.
64971         (atan2_test): New tests.
64972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64975 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64977         [BZ #14856]
64978         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
64979         Define to 3.
64981         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
64982         [POSIX] (EADDRNOTAVAIL): Likewise.
64983         [POSIX] (EAFNOSUPPORT): Likewise.
64984         [POSIX] (EALREADY): Likewise.
64985         [POSIX] (ECONNABORTED): Likewise.
64986         [POSIX] (ECONNREFUSED): Likewise.
64987         [POSIX] (ECONNRESET): Likewise.
64988         [POSIX] (EDESTADDRREQ): Likewise.
64989         [POSIX] (EDQUOT): Likewise.
64990         [POSIX] (EHOSTUNREACH): Likewise.
64991         [POSIX] (EIDRM): Likewise.
64992         [POSIX] (EISCONN): Likewise.
64993         [POSIX] (ELOOP): Likewise.
64994         [POSIX] (EMULTIHOP): Likewise.
64995         [POSIX] (ENETDOWN): Likewise.
64996         [POSIX] (ENETUNREACH): Likewise.
64997         [POSIX] (ENOBUFS): Likewise.
64998         [POSIX] (ENODATA): Likewise.
64999         [POSIX] (ENOLINK): Likewise.
65000         [POSIX] (ENOMSG): Likewise.
65001         [POSIX] (ENOPROTOOPT): Likewise.
65002         [POSIX] (ENOSR): Likewise.
65003         [POSIX] (ENOSTR): Likewise.
65004         [POSIX] (ENOTCONN): Likewise.
65005         [POSIX] (ENOTSOCK): Likewise.
65006         [POSIX] (EOPNOTSUPP): Likewise.
65007         [POSIX] (EOVERFLOW): Likewise.
65008         [POSIX] (EPROTO): Likewise.
65009         [POSIX] (EPROTONOSUPPORT): Likewise.
65010         [POSIX] (EPROTOTYPE): Likewise.
65011         [POSIX] (ESTALE): Likewise.
65012         [POSIX] (ETIME): Likewise.
65013         [POSIX] (ETXTBSY): Likewise.
65014         [POSIX] (EWOULDBLOCK): Likewise.
65015         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65016         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65017         [POSIX] (SEEK_CUR): Likewise.
65018         [POSIX] (SEEK_END): Likewise.
65019         [POSIX || UNIX98] (mode_t): Do not require.
65020         [POSIX] (off_t): Likewise.
65021         [POSIX] (pid_t): Likewise.
65022         [POSIX] (sys/stat.h): Do not allow header.
65023         [POSIX] (unistd.h): Likewise.
65024         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65025         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65026         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65027         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65028         require.
65029         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65030         sigevent): Specify elements.
65031         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65032         entry.
65033         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65034         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65036         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65037         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65038         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65039         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65040         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65041         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65042         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65043         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65044         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65045         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65046         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65047         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65048         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65049         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65050         Likewise.
65051         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65052         Likewise.
65053         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65054         Likewise.
65055         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65056         Likewise.
65057         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65058         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65059         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65060         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65061         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65062         Specify lower bound on value.
65063         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65064         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65065         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65066         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65067         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65068         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65069         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65070         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65071         value.
65072         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65073         as optional.
65074         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65075         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65076         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65077         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65078         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65079         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65080         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65081         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65082         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65083         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65084         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65085         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65086         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65087         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65088         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65089         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65090         entry.
65091         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65092         optional.
65093         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65094         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65095         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65096         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65097         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65098         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65099         Likewise.
65100         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65101         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65102         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65103         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65104         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65105         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65106         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65107         as optional.
65108         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65109         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65110         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65111         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65112         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65113         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65114         specify as optional.
65115         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65116         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65117         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65118         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65119         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65120         [XPG3] (NL_LANGMAX): Likewise.
65121         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65122         [POSIX || XPG3] (NL_NMAX): Likewise.
65123         [POSIX || XPG3] (NL_SETMAX): Likewise.
65124         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65125         [XPG3] (NZERO): Likewise.
65126         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65127         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65128         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65129         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65130         (REG_ERANGE): Expect.
65131         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65132         optional-constant.
65133         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65134         Use (void) in prototype.
65135         [POSIX] (*_t): Allow.
65136         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65137         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65138         (WRDE_BADVAL): Expect.
65140         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65141         expect.
65142         [XPG3 || XPG4] (O_RSYNC): Likewise.
65143         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65144         Likewise.
65145         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65146         [XPG3 || XPG4] (sigqueue): Likewise.
65147         [XPG3 || XPG4] (sigtimedwait): Likewise.
65148         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65149         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65150         [XPG3 || XPG4] (vsnprintf): Likewise.
65151         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65152         Likewise.
65153         [XPG3 || XPG4] (blksize_t): Likewise.
65154         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65155         Likewise.
65156         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65157         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65158         [XPG3 || XPG4] (struct itimerspec): Likewise.
65159         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65160         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65161         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65162         [XPG3 || XPG4] (clockid_t): Likewise.
65163         [XPG3 || XPG4] (timer_t): Likewise.
65164         [XPG3 || XPG4] (clock_getres): Likewise.
65165         [XPG3 || XPG4] (clock_gettime): Likewise.
65166         [XPG3 || XPG4] (clock_settime): Likewise.
65167         [XPG3 || XPG4] (nanosleep): Likewise.
65168         [XPG3 || XPG4] (timer_create): Likewise.
65169         [XPG3 || XPG4] (timer_delete): Likewise.
65170         [XPG3 || XPG4] (timer_gettime): Likewise.
65171         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65172         [XPG3 || XPG4] (timer_settime): Likewise.
65173         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65174         [XPG3 || XPG4] (getlogin_r): Likewise.
65175         [XPG3 || XPG4] (pread): Likewise.
65176         [XPG3 || XPG4] (pthread_atfork): Likewise.
65177         [XPG3 || XPG4] (pwrite): Likewise.
65179         [BZ #14835]
65180         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65181         <bits/siginfo.h>.
65183 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65185         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
65186         finalizing MALLSTREAM.
65188         * sysdeps/mach/hurd/syncfs.c: New file.
65190 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65192         [BZ #14719]
65193         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
65194         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
65195         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
65196         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
65197         (_nss_dns_gethostbyname4_r): Likewise.
65198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
65199         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
65201 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
65203         [BZ #13763]
65204         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
65206 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
65208         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
65209         * elf/cache.c (print_entry): Print ",AArch64" for
65210         FLAG_AARCH64_LIB64
65212         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
65213         * elf/cache.c (print_entry): Print ",hard-float" for
65214         FLAG_ARM_LIBHF.
65216 2012-11-18  David S. Miller  <davem@davemloft.net>
65218         With help from Joseph Myers.
65219         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
65220         cutoff to 2**-13.
65221         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
65222         cutoff to 2**-25.
65223         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
65224         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
65225         small.
65226         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
65227         * math/libm-test.inc (y0_test): New tests.
65228         (y1_test): New tests.
65229         * sysdeps/i386/fpu/libm-test-ulps: Update.
65230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65233 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
65235         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
65236         64-bit targets.
65237         * configure: Regenerated.
65239 2012-11-17  David S. Miller  <davem@davemloft.net>
65241         [BZ #14811]
65242         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
65243         nonzero exponents with absolute value below 0x1p-128 to +/-
65244         0x1p-128.
65246 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
65248         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
65250         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
65252         * posix/getconf-speclist.c: New file.
65253         * posix/posix-envs.def: Likewise.
65254         * posix/confstr.c (START_ENV_GROUP): New macro.
65255         (END_ENV_GROUP): Likewise.
65256         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65257         (KNOWN_PRESENT_ENV_STRING): Likewise.
65258         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65259         (UNKNOWN_ENVIRONMENT): Likewise.
65260         (confstr): Include posix-envs.def instead of handling
65261         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65262         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65263         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65264         (END_ENV_GROUP): Likewise.
65265         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65266         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65267         (UNKNOWN_ENVIRONMENT): Likewise.
65268         (__sysconf): Include posix-envs.def instead of handling associated
65269         cases directly here.
65270         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65271         preprocessing getconf-speclist.c rather than running getconf or
65272         generating empty file.
65274 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65276         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65278 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65280         [BZ #14672]
65281         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65283 2012-11-16  David S. Miller  <davem@davemloft.net>
65285         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65286         smaller than LDBL_EPSILON/2.0L, just return xm1.
65288 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65290         * elf/tst-array1.c (init): Set constructor priority to 1000.
65291         (fini): Set destructor priority to 1000.
65292         * elf/tst-array2dep.c: Likewise.
65294 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65296         [BZ #11741]
65297         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65298         (_IO_new_file_xsputn): Also return EOF if none of the input
65299         data was written when overflow failed.
65300         * libio/iopadn.c (_IO_padn): Likewise.
65301         * libio/iowpadn.c (_IO_wpadn): Likewise.
65302         * stdio-common/tst-put-error.c: Add copyright notice.
65303         (do_test): Add case for printing padded string.
65304         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65305         _IO_padn returned error.
65306         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65307         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65308         return EOF.
65310 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65312         * libio/libioP.h: Add comment note that the references to C++
65313         bits are now obsolete.
65315 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65317         * math/libm-test.inc (check_complex): Use asprintf.
65319 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65321         * debug/pcprofiledump.c (print_version): Update copyright year.
65322         * malloc/memusagestat.c (print_version): Likewise.
65324 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65326         [BZ #14831]
65327         * elf/Makefile (tests): Add tst-audit8.
65328         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65329         ($(objpfx)tst-audit8.out): New target.
65330         (tst-audit8-ENV): New variable.
65331         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65332         audit if l_reloc_result is NULL.
65333         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65334         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65335         * elf/tst-audit8.c: New file.
65337 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65339         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65340         * misc/Makefile (CFLAGS-select.c): Define.
65341         * posix/Makefile (CFLAGS-pause.c): Define.
65343 2012-11-13  David S. Miller  <davem@davemloft.net>
65345         * crypt/Makefile: Move test targets after toplevel Rules
65346         inclusion.  Grab any necessary sysdep routines when linking.
65347         * crypt/md5.c (md5_process_block): Remove define, we will always
65348         name it __md5_process_block.
65349         (md5_finish_ctx): Update md5_process_block call.
65350         (md5_stream): Likewise.
65351         (md5_process_bytes): Likewise.
65352         (md5_process_block): Rename to __md5_process_block and move to ...
65353         * crypt/md5-block.c: ... here.
65354         * crypt/sha256.c (sha256_process_block): Move to ...
65355         * crypt/sha256-block.c: ... here.
65356         * crypt/sha512.c (sha512_process_block): Move to ...
65357         * crypt/sha512-block.c: ... here.
65358         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65359         path.
65360         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65361         * sysdeps/sparc/sparc64/multiarch/Makefile
65362         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65363         crypt subdir.
65364         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65365         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65366         multiarch changes.
65367         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65368         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65369         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65370         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65371         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65372         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65373         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65374         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65375         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65376         file.
65377         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65378         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65379         file.
65380         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65382 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65384         * timezone/tzselect.ksh: Update from tzcode git revision
65385         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65386         * timezone/zdump.c: Likewise.
65387         * timezone/zic.c: Likewise.
65388         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65389         in TZVERSION setting, not $(PKGVERSION).
65390         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65391         REPORT_BUGS_TO settings.
65393         [BZ #14838]
65394         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65395         macro.
65397 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65399         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65400         detection to immediately after _FP_ROUND().
65401         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65402         bits are 0.
65404 2012-11-11  David S. Miller  <davem@davemloft.net>
65406         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65407         inttypes.h
65408         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65409         __close rather than their public counterparts.
65411 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65413         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65414         file.
65415         [UNIX98] (sem_timedwait): Do not expect.
65416         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65417         [XPG4 || UNIX98] (sockatmark): Do not expect.
65418         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65419         (clock_getcpuclockid): Do not expect.
65420         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65421         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65422         Do not expect.
65423         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65424         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65425         [UNIX98] (vwscanf): Likewise.
65426         [UNIX98] (vswscanf): Likewise.
65428 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65430         * timezone/version.h: Remove file.
65431         * timezone/README: Do not refer to version.h.
65432         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65433         $(objpfx)version.h.
65434         ($(objpfx)zdump.o): Likewise.
65435         ($(objpfx)version.h): New target.
65437         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65438         2012i.
65439         * timezone/README: Don't mention modification to tzselect.ksh.
65440         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65441         work on unmodified tzselect.ksh.  Substitute version numbers in
65442         tzselect.ksh.
65444         * Makefile (format-me): Remove.
65445         (INSTALL): Adjust indentation.  Use commands directly instead of
65446         using $(format-me).
65448         * aclocal.m4 (ACX_PKGVERSION): New macro.
65449         (ACX_BUGURL): Likewise.
65450         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65451         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65452         (REPORT_BUGS_TO): Likewise.
65453         * configure: Regenerated.
65454         * config.h.in (PKGVERSION): New macro.
65455         (REPORT_BUGS_TO): Likewise.
65456         * config.make.in (PKGVERSION): New variable.
65457         (PKGVERSION_TEXI): Likewise.
65458         (REPORT_BUGS_TO): Likewise.
65459         (REPORT_BUGS_TEXI): Likewise.
65460         * Makefile (format-me): Use -I$(common-objpfx)manual.
65461         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65462         ($(common-objpfx)manual/%): New target.
65463         (manual/%): Remove target.
65464         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65465         (print_version): Use PKGVERSION.
65466         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65467         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65468         and REPORT_BUGS_TO.
65469         ($(objpfx)xtrace): Likewise.
65470         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65471         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65472         (print_version): Use PKGVERSION.
65473         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65474         (do_version): Use PKGVERSION.
65475         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65476         REPORT_BUGS_TO.
65477         (common-ldd-rewrite): Likewise.
65478         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65479         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65480         (print_version): Use PKGVERSION.
65481         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65482         * elf/pldd.c (argp_program_bug_address): Remove variable.
65483         (more_help): New function.
65484         (argp): Use more_help.
65485         (print_version): Use PKGVERSION.
65486         * elf/sln.c (main): Use PKGVERSION.
65487         (usage): Use REPORT_BUGS_TO.
65488         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65489         (top level): Use PKGVERSION.
65490         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65491         (print_version): Use PKGVERSION.
65492         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65493         (print_version): Use PKGVERSION.
65494         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65495         (print_version): Use PKGVERSION.
65496         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65497         (print_version): Use PKGVERSION.
65498         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65499         (print_version): Use PKGVERSION.
65500         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65501         (print_version): Use PKGVERSION.
65502         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65503         and BUGURL.
65504         ($(objpfx)memusage): Likewise.
65505         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65506         (do_version): Use PKGVERSION.
65507         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65508         (print_version): Use PKGVERSION.
65509         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65510         ($PKGVERSION): New variable.
65511         ($REPORT_BUGS_TO): Likewise.
65512         (usage): Use $REPORT_BUGS_TO.
65513         (top level): Use $PKGVERSION.
65514         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65515         ($(objpfx)pkgvers.texi): New rule.
65516         ($(objpfx)stamp-pkgvers): Likewise.
65517         * manual/install.texi: Include pkgvers.texi.
65518         (--with-pkgversion): Document new configure option.
65519         (--with-bugurl): Likewise.
65520         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65521         than necessarily for this particular distribution.  Use
65522         REPORT_BUGS_TO for where to report bugs.
65523         * INSTALL: Regenerated.
65524         * manual/libc.texinfo: Include pkgvers.texi.
65525         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65526         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65527         (print_version): Use PKGVERSION.
65528         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65529         (print_version): Use PKGVERSION.
65530         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65531         (print_version): Use PKGVERSION.
65532         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65533         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65534         macro.
65535         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65536         (print_version): Use PKGVERSION.
65537         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65538         (print_version): Use PKGVERSION.
65539         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65540         and PKGVERSION.
65542         * timezone/checktab.awk: Update from tzcode 2012i.
65543         * timezone/ialloc.c: Likewise.
65544         * timezone/private.h: Likewise.
65545         * timezone/scheck.c: Likewise.
65546         * timezone/tzfile.h: Likewise.
65547         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65548         (TZVERSION): Hardcode tzcode version number.
65549         * timezone/zdump.c: Update from tzcode 2012i.
65550         * timezone/zic.c: Likewise.
65551         * timezone/version.h: New file.
65552         * timezone/README: Describe version.h.  Update upstream location.
65554         [BZ #14824]
65555         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65556         (mktemp): Enable declaration.
65557         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65558         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65559         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65560         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65561         Likewise.
65562         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65563         Likewise.
65564         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65565         Likewise.
65566         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65567         Likewise.
65568         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65569         Likewise.
65570         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65571         Likewise.
65573         [BZ #14821]
65574         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65575         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65576         for copies of such integer values.
65577         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65578         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65580 2012-11-09  Andreas Jaeger  <aj@suse.de>
65582         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65583         definitions and declarations that are provided by
65584         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65586 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65588         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65589         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65590         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65591         definition.
65593 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65595         * elf/elf.h: Update comment before AArch64 relocations.
65597 2012-11-07  David S. Miller  <davem@davemloft.net>
65599         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65600         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65601         (__start_context): Declare.
65602         (__makecontext_ret): Delete.
65603         (__makecontext): Hook up __start_context instead of
65604         __makecontext_ret.
65605         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65606         (sysdep_routines): Add __start_context when in stdlib.
65608 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65610         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65611         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65612         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65613         hardcoded "nm".
65614         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65615         (READELF): New variable.  Use it instead of hardcoded "readelf".
65617 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65619         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65620         * sysdeps/x86/Makefile: Here.
65621         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65622         * sysdeps/x86/tst-xmmymm.sh: This.
65624 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65626         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65627         expectations.
65628         [UNIX98] (pthread_barrier_t): Do not expect.
65629         [UNIX98] (pthread_barrierattr_t): Likewise.
65630         [UNIX98] (pthread_spinlock_t): Likewise.
65631         [UNIX98] (pthread_barrier_destroy): Likewise.
65632         [UNIX98] (pthread_barrier_init): Likewise.
65633         [UNIX98] (pthread_barrier_wait): Likewise.
65634         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65635         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65636         [UNIX98] (pthread_barrierattr_init): Likewise.
65637         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65638         [UNIX98] (pthread_getcpuclockid): Likewise.
65639         [UNIX98] (pthread_mutex_timedlock): Likewise.
65640         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65641         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65642         [UNIX98] (pthread_sigmask): Likewise.
65643         [UNIX98] (pthread_spin_destroy): Likewise.
65644         [UNIX98] (pthread_spin_init): Likewise.
65645         [UNIX98] (pthread_spin_lock): Likewise.
65646         [UNIX98] (pthread_spin_trylock): Likewise.
65647         [UNIX98] (pthread_spin_unlock): Likewise.
65648         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65649         Do not expect.
65650         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65651         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65652         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65653         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65654         [XPG3 || XPG4] (pthread_key_t): Likewise.
65655         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65656         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65657         [XPG3 || XPG4] (pthread_once_t): Likewise.
65658         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65659         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65660         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65661         [XPG3 || XPG4] (pthread_t): Likewise.
65663         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65664         not expect.
65665         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65667         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65668         Change function return type to int.
65670         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65671         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65672         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65673         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65674         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65675         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65676         [!POSIX] (posix_madvise): Likewise.
65677         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65678         && !UNIX98].
65679         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65680         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65681         (mode_t): Likewise.
65682         (posix_mem_offset): Likewise.
65683         (posix_typed_mem_get_info): Likewise.
65684         (posix_typed_mem_open): Likewise.
65686         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65687         Change condition to [XOPEN2K8].
65689         * conform/conformtest.pl: Preprocess allow-header data with -x c
65690         instead of from stdin.
65691         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65692         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65693         [C99-based standards] (cerfc): Likewise.
65694         [C99-based standards] (cexp2): Likewise.
65695         [C99-based standards] (cexpm1): Likewise.
65696         [C99-based standards] (clog10): Likewise.
65697         [C99-based standards] (clog1p): Likewise.
65698         [C99-based standards] (clog2): Likewise.
65699         [C99-based standards] (clgamma): Likewise.
65700         [C99-based standards] (ctgamma): Likewise.
65701         [C99-based standards] (cerff): Likewise.
65702         [C99-based standards] (cerfcf): Likewise.
65703         [C99-based standards] (cexp2f): Likewise.
65704         [C99-based standards] (cexpm1f): Likewise.
65705         [C99-based standards] (clog10f): Likewise.
65706         [C99-based standards] (clog1pf): Likewise.
65707         [C99-based standards] (clog2f): Likewise.
65708         [C99-based standards] (clgammaf): Likewise.
65709         [C99-based standards] (ctgammaf): Likewise.
65710         [C99-based standards] (cerfl): Likewise.
65711         [C99-based standards] (cerfcl): Likewise.
65712         [C99-based standards] (cexp2l): Likewise.
65713         [C99-based standards] (cexpm1l): Likewise.
65714         [C99-based standards] (clog10l): Likewise.
65715         [C99-based standards] (clog1pl): Likewise.
65716         [C99-based standards] (clog2l): Likewise.
65717         [C99-based standards] (clgammal): Likewise.
65718         [C99-based standards] (ctgammal): Likewise.
65719         * conform/data/inttypes.h-data [C99-based standards]: Include
65720         stdint.h-data.  Remove all expectations for stdint.h contents.
65721         [C99-based standards] (PRI*): Do not allow.
65722         [C99-based standards] (SCN*): Likewise.
65723         [C99-based standards] (*_t): Likewise.
65724         [C99-based-standards] (PRId8): Expect macro.
65725         [C99-based-standards] (PRIi8): Likewise.
65726         [C99-based-standards] (PRIo8): Likewise.
65727         [C99-based-standards] (PRIu8): Likewise.
65728         [C99-based-standards] (PRIx8): Likewise.
65729         [C99-based-standards] (PRIX8): Likewise.
65730         [C99-based-standards] (SCNd8): Likewise.
65731         [C99-based-standards] (SCNi8): Likewise.
65732         [C99-based-standards] (SCNo8): Likewise.
65733         [C99-based-standards] (SCNu8): Likewise.
65734         [C99-based-standards] (SCNx8): Likewise.
65735         [C99-based-standards] (PRIdLEAST8): Likewise.
65736         [C99-based-standards] (PRIiLEAST8): Likewise.
65737         [C99-based-standards] (PRIoLEAST8): Likewise.
65738         [C99-based-standards] (PRIuLEAST8): Likewise.
65739         [C99-based-standards] (PRIxLEAST8): Likewise.
65740         [C99-based-standards] (PRIXLEAST8): Likewise.
65741         [C99-based-standards] (SCNdLEAST8): Likewise.
65742         [C99-based-standards] (SCNiLEAST8): Likewise.
65743         [C99-based-standards] (SCNoLEAST8): Likewise.
65744         [C99-based-standards] (SCNuLEAST8): Likewise.
65745         [C99-based-standards] (SCNxLEAST8): Likewise.
65746         [C99-based-standards] (PRIdFAST8): Likewise.
65747         [C99-based-standards] (PRIiFAST8): Likewise.
65748         [C99-based-standards] (PRIoFAST8): Likewise.
65749         [C99-based-standards] (PRIuFAST8): Likewise.
65750         [C99-based-standards] (PRIxFAST8): Likewise.
65751         [C99-based-standards] (PRIXFAST8): Likewise.
65752         [C99-based-standards] (SCNdFAST8): Likewise.
65753         [C99-based-standards] (SCNiFAST8): Likewise.
65754         [C99-based-standards] (SCNoFAST8): Likewise.
65755         [C99-based-standards] (SCNuFAST8): Likewise.
65756         [C99-based-standards] (SCNxFAST8): Likewise.
65757         [C99-based-standards] (PRId16): Likewise.
65758         [C99-based-standards] (PRIi16): Likewise.
65759         [C99-based-standards] (PRIo16): Likewise.
65760         [C99-based-standards] (PRIu16): Likewise.
65761         [C99-based-standards] (PRIx16): Likewise.
65762         [C99-based-standards] (PRIX16): Likewise.
65763         [C99-based-standards] (SCNd16): Likewise.
65764         [C99-based-standards] (SCNi16): Likewise.
65765         [C99-based-standards] (SCNo16): Likewise.
65766         [C99-based-standards] (SCNu16): Likewise.
65767         [C99-based-standards] (SCNx16): Likewise.
65768         [C99-based-standards] (PRIdLEAST16): Likewise.
65769         [C99-based-standards] (PRIiLEAST16): Likewise.
65770         [C99-based-standards] (PRIoLEAST16): Likewise.
65771         [C99-based-standards] (PRIuLEAST16): Likewise.
65772         [C99-based-standards] (PRIxLEAST16): Likewise.
65773         [C99-based-standards] (PRIXLEAST16): Likewise.
65774         [C99-based-standards] (SCNdLEAST16): Likewise.
65775         [C99-based-standards] (SCNiLEAST16): Likewise.
65776         [C99-based-standards] (SCNoLEAST16): Likewise.
65777         [C99-based-standards] (SCNuLEAST16): Likewise.
65778         [C99-based-standards] (SCNxLEAST16): Likewise.
65779         [C99-based-standards] (PRIdFAST16): Likewise.
65780         [C99-based-standards] (PRIiFAST16): Likewise.
65781         [C99-based-standards] (PRIoFAST16): Likewise.
65782         [C99-based-standards] (PRIuFAST16): Likewise.
65783         [C99-based-standards] (PRIxFAST16): Likewise.
65784         [C99-based-standards] (PRIXFAST16): Likewise.
65785         [C99-based-standards] (SCNdFAST16): Likewise.
65786         [C99-based-standards] (SCNiFAST16): Likewise.
65787         [C99-based-standards] (SCNoFAST16): Likewise.
65788         [C99-based-standards] (SCNuFAST16): Likewise.
65789         [C99-based-standards] (SCNxFAST16): Likewise.
65790         [C99-based-standards] (PRId32): Likewise.
65791         [C99-based-standards] (PRIi32): Likewise.
65792         [C99-based-standards] (PRIo32): Likewise.
65793         [C99-based-standards] (PRIu32): Likewise.
65794         [C99-based-standards] (PRIx32): Likewise.
65795         [C99-based-standards] (PRIX32): Likewise.
65796         [C99-based-standards] (SCNd32): Likewise.
65797         [C99-based-standards] (SCNi32): Likewise.
65798         [C99-based-standards] (SCNo32): Likewise.
65799         [C99-based-standards] (SCNu32): Likewise.
65800         [C99-based-standards] (SCNx32): Likewise.
65801         [C99-based-standards] (PRIdLEAST32): Likewise.
65802         [C99-based-standards] (PRIiLEAST32): Likewise.
65803         [C99-based-standards] (PRIoLEAST32): Likewise.
65804         [C99-based-standards] (PRIuLEAST32): Likewise.
65805         [C99-based-standards] (PRIxLEAST32): Likewise.
65806         [C99-based-standards] (PRIXLEAST32): Likewise.
65807         [C99-based-standards] (SCNdLEAST32): Likewise.
65808         [C99-based-standards] (SCNiLEAST32): Likewise.
65809         [C99-based-standards] (SCNoLEAST32): Likewise.
65810         [C99-based-standards] (SCNuLEAST32): Likewise.
65811         [C99-based-standards] (SCNxLEAST32): Likewise.
65812         [C99-based-standards] (PRIdFAST32): Likewise.
65813         [C99-based-standards] (PRIiFAST32): Likewise.
65814         [C99-based-standards] (PRIoFAST32): Likewise.
65815         [C99-based-standards] (PRIuFAST32): Likewise.
65816         [C99-based-standards] (PRIxFAST32): Likewise.
65817         [C99-based-standards] (PRIXFAST32): Likewise.
65818         [C99-based-standards] (SCNdFAST32): Likewise.
65819         [C99-based-standards] (SCNiFAST32): Likewise.
65820         [C99-based-standards] (SCNoFAST32): Likewise.
65821         [C99-based-standards] (SCNuFAST32): Likewise.
65822         [C99-based-standards] (SCNxFAST32): Likewise.
65823         [C99-based-standards] (PRId64): Likewise.
65824         [C99-based-standards] (PRIi64): Likewise.
65825         [C99-based-standards] (PRIo64): Likewise.
65826         [C99-based-standards] (PRIu64): Likewise.
65827         [C99-based-standards] (PRIx64): Likewise.
65828         [C99-based-standards] (PRIX64): Likewise.
65829         [C99-based-standards] (SCNd64): Likewise.
65830         [C99-based-standards] (SCNi64): Likewise.
65831         [C99-based-standards] (SCNo64): Likewise.
65832         [C99-based-standards] (SCNu64): Likewise.
65833         [C99-based-standards] (SCNx64): Likewise.
65834         [C99-based-standards] (PRIdLEAST64): Likewise.
65835         [C99-based-standards] (PRIiLEAST64): Likewise.
65836         [C99-based-standards] (PRIoLEAST64): Likewise.
65837         [C99-based-standards] (PRIuLEAST64): Likewise.
65838         [C99-based-standards] (PRIxLEAST64): Likewise.
65839         [C99-based-standards] (PRIXLEAST64): Likewise.
65840         [C99-based-standards] (SCNdLEAST64): Likewise.
65841         [C99-based-standards] (SCNiLEAST64): Likewise.
65842         [C99-based-standards] (SCNoLEAST64): Likewise.
65843         [C99-based-standards] (SCNuLEAST64): Likewise.
65844         [C99-based-standards] (SCNxLEAST64): Likewise.
65845         [C99-based-standards] (PRIdFAST64): Likewise.
65846         [C99-based-standards] (PRIiFAST64): Likewise.
65847         [C99-based-standards] (PRIoFAST64): Likewise.
65848         [C99-based-standards] (PRIuFAST64): Likewise.
65849         [C99-based-standards] (PRIxFAST64): Likewise.
65850         [C99-based-standards] (PRIXFAST64): Likewise.
65851         [C99-based-standards] (SCNdFAST64): Likewise.
65852         [C99-based-standards] (SCNiFAST64): Likewise.
65853         [C99-based-standards] (SCNoFAST64): Likewise.
65854         [C99-based-standards] (SCNuFAST64): Likewise.
65855         [C99-based-standards] (SCNxFAST64): Likewise.
65856         [C99-based-standards] (PRIdMAX): Likewise.
65857         [C99-based-standards] (PRIiMAX): Likewise.
65858         [C99-based-standards] (PRIoMAX): Likewise.
65859         [C99-based-standards] (PRIuMAX): Likewise.
65860         [C99-based-standards] (PRIxMAX): Likewise.
65861         [C99-based-standards] (PRIXMAX): Likewise.
65862         [C99-based-standards] (SCNdMAX): Likewise.
65863         [C99-based-standards] (SCNiMAX): Likewise.
65864         [C99-based-standards] (SCNoMAX): Likewise.
65865         [C99-based-standards] (SCNuMAX): Likewise.
65866         [C99-based-standards] (SCNxMAX): Likewise.
65867         [C99-based-standards] (PRIdPTR): Likewise.
65868         [C99-based-standards] (PRIiPTR): Likewise.
65869         [C99-based-standards] (PRIoPTR): Likewise.
65870         [C99-based-standards] (PRIuPTR): Likewise.
65871         [C99-based-standards] (PRIxPTR): Likewise.
65872         [C99-based-standards] (PRIXPTR): Likewise.
65873         [C99-based-standards] (SCNdPTR): Likewise.
65874         [C99-based-standards] (SCNiPTR): Likewise.
65875         [C99-based-standards] (SCNoPTR): Likewise.
65876         [C99-based-standards] (SCNuPTR): Likewise.
65877         [C99-based-standards] (SCNxPTR): Likewise.
65878         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
65879         allow.
65880         * conform/data/stdint.h-data: Update comments to clarify
65881         requirements.
65882         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
65883         type.
65884         [C99-based standards] (INT8_MAX): Likewise.
65885         [C99-based standards] (INT16_MIN): Likewise.
65886         [C99-based standards] (INT16_MAX): Likewise.
65887         [C99-based standards] (INT32_MIN): Likewise.
65888         [C99-based standards] (INT32_MAX): Likewise.
65889         [C99-based standards] (INT64_MIN): Likewise.
65890         [C99-based standards] (INT64_MAX): Likewise.
65891         [C99-based standards] (UINT8_MAX): Likewise.
65892         [C99-based standards] (UINT16_MAX): Likewise.
65893         [C99-based standards] (UINT32_MAX): Likewise.
65894         [C99-based standards] (UINT64_MAX): Likewise.
65895         [C99-based standards] (INT_LEAST8_MIN): Likewise.
65896         [C99-based standards] (INT_LEAST8_MAX): Likewise.
65897         [C99-based standards] (INT_LEAST16_MIN): Likewise.
65898         [C99-based standards] (INT_LEAST16_MAX): Likewise.
65899         [C99-based standards] (INT_LEAST32_MIN): Likewise.
65900         [C99-based standards] (INT_LEAST32_MAX): Likewise.
65901         [C99-based standards] (INT_LEAST64_MIN): Likewise.
65902         [C99-based standards] (INT_LEAST64_MAX): Likewise.
65903         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
65904         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
65905         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
65906         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
65907         [C99-based standards] (INT_FAST8_MIN): Likewise.
65908         [C99-based standards] (INT_FAST8_MAX): Likewise.
65909         [C99-based standards] (INT_FAST16_MIN): Likewise.
65910         [C99-based standards] (INT_FAST16_MAX): Likewise.
65911         [C99-based standards] (INT_FAST32_MIN): Likewise.
65912         [C99-based standards] (INT_FAST32_MAX): Likewise.
65913         [C99-based standards] (INT_FAST64_MIN): Likewise.
65914         [C99-based standards] (INT_FAST64_MAX): Likewise.
65915         [C99-based standards] (UINT_FAST8_MAX): Likewise.
65916         [C99-based standards] (UINT_FAST16_MAX): Likewise.
65917         [C99-based standards] (UINT_FAST32_MAX): Likewise.
65918         [C99-based standards] (UINT_FAST64_MAX): Likewise.
65919         [C99-based standards] (INTPTR_MIN): Likewise.
65920         [C99-based standards] (INTPTR_MAX): Likewise.
65921         [C99-based standards] (UINTPTR_MAX): Likewise.
65922         [C99-based standards] (INTMAX_MIN): Likewise.
65923         [C99-based standards] (INTMAX_MAX): Likewise.
65924         [C99-based standards] (UINTMAX_MAX): Likewise.
65925         [C99-based standards] (PTRDIFF_MIN): Likewise.
65926         [C99-based standards] (PTRDIFF_MAX): Likewise.
65927         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
65928         [C99-based standards] (SIZE_MAX): Likewise.
65929         [C99-based standards] (WCHAR_MAX): Likewise.
65930         [C99-based standards] (WINT_MAX): Likewise.
65931         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
65932         constraint on value.
65933         [C99-based standards] (WCHAR_MIN): Likewise.
65934         [C99-based standards] (WINT_MIN): Likewise.
65935         [C99-based standards] (*_t): Allow.
65936         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
65937         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
65938         Include math.h-data and complex.h-data.  Remove all expectations
65939         of math.h and complex.h contents.
65940         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
65941         at end of line.
65942         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
65943         (struct tm): Expect tag.
65944         [C99-based-standards] (wcstof): Expect function.
65945         [C99-based-standards] (wcstold): Likewise.
65946         [C99-based-standards] (wcstoll): Likewise.
65947         [C99-based-standards] (wcstoull): Likewise.
65948         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
65949         macro-int-constant.  Specify type.
65950         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
65951         constraint on value.
65952         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65953         Specify type.
65954         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
65955         Specify value.
65956         [ISO C standards]: Do not allow headers.
65957         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
65958         wcs[abcdefghijklmnopqrstuvwxyz]*.
65959         [ISO C standards] (*_t): Do not allow.
65960         * conform/data/wctype.h-data [C99-based standards] (iswblank):
65961         Expect function.
65962         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
65963         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65964         Specify type.
65965         [ISO C standards]: Do not allow headers.
65966         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
65967         is[abcdefghijklmnopqrstuvwxyz]*.
65968         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
65969         to[abcdefghijklmnopqrstuvwxyz]*.
65970         [ISO C standards] (*_t): Do not allow.
65971         * conform/data/stdalign.h-data: New file.
65972         * conform/data/stdbool.h-data: Likewise.
65973         * conform/data/stdnoreturn.h-data: Likewise.
65975 2012-11-07  Roland McGrath  <roland@hack.frob.com>
65977         [BZ #14815]
65978         * manual/filesys.texi (Directory Entries): Typo fix.
65979         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
65981 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65983         * elf/elf.h (EM_AARCH64): New macro.
65984         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
65985         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
65986         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
65987         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
65988         (R_AARCH64_TLSDESC): Likewise.
65989         (NT_ARM_TLS): Likewise.
65990         (NT_ARM_HW_BREAK): Likewise.
65991         (NT_ARM_HW_WATCH): Likewise.
65993 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65995         [BZ #14811]
65996         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
65997         (__ieee754_powl): Saturate nonzero exponents with absolute value
65998         below 0x1p-79 to +/- 0x1p-79.
65999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66000         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66001         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66002         nonzero exponents with absolute value below 0x1p-32 to +/-
66003         0x1p-32.
66004         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66005         (__ieee754_powl): Saturate nonzero exponents with absolute value
66006         below 0x1p-79 to +/- 0x1p-79.
66007         * math/libm-test.inc (pow_test): Add more tests.
66009 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66011         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66012         _dl_s390_cap_flags with kernel. Increase string length.
66013         (_dl_s390_platforms): Add z196 and zEC12.
66015 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66017         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66018         Change XOPEN21K to XOPEN2K.
66020 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66022         * string/memmove.c: Use memcpy when possible.
66024 2012-11-06  Andreas Jaeger  <aj@suse.de>
66026         * po/eo.po: Update from translation team.
66028 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66030         [BZ #14793]
66031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66032         exponent and small x and y exponents, scale x or y up.  Increase
66033         by 2 the exponent used in scaling up.
66034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66035         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66036         * math/libm-test.inc (fma_test): Add more tests.
66037         (fma_test_towardzero): Likewise.
66038         (fma_test_downward): Likewise.
66039         (fma_test_upward): Likewise.
66041 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66043         [BZ #14805]
66044         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66045         fenv_t *.
66047         [BZ #14801]
66048         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66049         namespace for names of struct fields.
66050         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66051         fenv_t fields.
66052         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66053         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66055 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66057         [BZ #3665]
66058         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66060 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66062         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66063         PTR_DEMANGLE.
66065         [BZ #5246]
66066         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66067         PTR_DEMANGLE.
66069 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66071         [BZ #14797]
66072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66073         definitely overflow as x * y not x * y + z.
66074         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66075         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66076         * math/libm-test.inc (fma_test): Add more tests.
66077         (fma_test_towardzero): Likewise.
66078         (fma_test_downward): Likewise.
66079         (fma_test_upward): Likewise.
66081 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66083         [BZ #157]
66085         * include/stub-tag.h: Remove file.
66086         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66087         '#include' of it.
66088         * manual/maint.texi (Porting): Don't reference it.
66089         * Makerules ($(objpfx)stubs): Likewise.
66090         * dirent/closedir.c: Don't include <stub-tag.h>.
66091         * dirent/dirfd.c: Likewise.
66092         * dirent/fdopendir.c: Likewise.
66093         * dirent/getdents.c: Likewise.
66094         * dirent/getdents64.c: Likewise.
66095         * dirent/opendir.c: Likewise.
66096         * dirent/readdir.c: Likewise.
66097         * dirent/readdir64.c: Likewise.
66098         * dirent/readdir64_r.c: Likewise.
66099         * dirent/readdir_r.c: Likewise.
66100         * dirent/rewinddir.c: Likewise.
66101         * dirent/seekdir.c: Likewise.
66102         * dirent/telldir.c: Likewise.
66103         * gmon/profil.c: Likewise.
66104         * grp/setgroups.c: Likewise.
66105         * inet/if_index.c: Likewise.
66106         * io/access.c: Likewise.
66107         * io/chdir.c: Likewise.
66108         * io/chmod.c: Likewise.
66109         * io/chown.c: Likewise.
66110         * io/close.c: Likewise.
66111         * io/dup.c: Likewise.
66112         * io/dup2.c: Likewise.
66113         * io/dup3.c: Likewise.
66114         * io/euidaccess.c: Likewise.
66115         * io/faccessat.c: Likewise.
66116         * io/fchdir.c: Likewise.
66117         * io/fchmod.c: Likewise.
66118         * io/fchmodat.c: Likewise.
66119         * io/fchown.c: Likewise.
66120         * io/fchownat.c: Likewise.
66121         * io/fcntl.c: Likewise.
66122         * io/flock.c: Likewise.
66123         * io/fstatfs.c: Likewise.
66124         * io/fstatfs64.c: Likewise.
66125         * io/fstatvfs.c: Likewise.
66126         * io/fstatvfs64.c: Likewise.
66127         * io/futimens.c: Likewise.
66128         * io/fxstat.c: Likewise.
66129         * io/fxstat64.c: Likewise.
66130         * io/fxstatat.c: Likewise.
66131         * io/fxstatat64.c: Likewise.
66132         * io/getcwd.c: Likewise.
66133         * io/isatty.c: Likewise.
66134         * io/lchmod.c: Likewise.
66135         * io/lchown.c: Likewise.
66136         * io/link.c: Likewise.
66137         * io/linkat.c: Likewise.
66138         * io/lseek.c: Likewise.
66139         * io/lseek64.c: Likewise.
66140         * io/lxstat64.c: Likewise.
66141         * io/mkdir.c: Likewise.
66142         * io/mkdirat.c: Likewise.
66143         * io/mkfifo.c: Likewise.
66144         * io/mkfifoat.c: Likewise.
66145         * io/open.c: Likewise.
66146         * io/open64.c: Likewise.
66147         * io/openat.c: Likewise.
66148         * io/openat64.c: Likewise.
66149         * io/pipe.c: Likewise.
66150         * io/pipe2.c: Likewise.
66151         * io/poll.c: Likewise.
66152         * io/posix_fadvise.c: Likewise.
66153         * io/posix_fadvise64.c: Likewise.
66154         * io/posix_fallocate.c: Likewise.
66155         * io/posix_fallocate64.c: Likewise.
66156         * io/read.c: Likewise.
66157         * io/readlink.c: Likewise.
66158         * io/readlinkat.c: Likewise.
66159         * io/rmdir.c: Likewise.
66160         * io/sendfile.c: Likewise.
66161         * io/sendfile64.c: Likewise.
66162         * io/statfs.c: Likewise.
66163         * io/statfs64.c: Likewise.
66164         * io/statvfs.c: Likewise.
66165         * io/statvfs64.c: Likewise.
66166         * io/symlink.c: Likewise.
66167         * io/symlinkat.c: Likewise.
66168         * io/ttyname.c: Likewise.
66169         * io/ttyname_r.c: Likewise.
66170         * io/umask.c: Likewise.
66171         * io/unlink.c: Likewise.
66172         * io/unlinkat.c: Likewise.
66173         * io/utime.c: Likewise.
66174         * io/utimensat.c: Likewise.
66175         * io/write.c: Likewise.
66176         * io/xmknod.c: Likewise.
66177         * io/xmknodat.c: Likewise.
66178         * io/xstat.c: Likewise.
66179         * io/xstat64.c: Likewise.
66180         * login/getpt.c: Likewise.
66181         * login/grantpt.c: Likewise.
66182         * login/unlockpt.c: Likewise.
66183         * math/e_acoshl.c: Likewise.
66184         * math/e_acosl.c: Likewise.
66185         * math/e_asinl.c: Likewise.
66186         * math/e_atan2l.c: Likewise.
66187         * math/e_atanhl.c: Likewise.
66188         * math/e_coshl.c: Likewise.
66189         * math/e_expl.c: Likewise.
66190         * math/e_fmodl.c: Likewise.
66191         * math/e_gammal_r.c: Likewise.
66192         * math/e_hypotl.c: Likewise.
66193         * math/e_j0l.c: Likewise.
66194         * math/e_j1l.c: Likewise.
66195         * math/e_jnl.c: Likewise.
66196         * math/e_lgammal_r.c: Likewise.
66197         * math/e_log10l.c: Likewise.
66198         * math/e_log2l.c: Likewise.
66199         * math/e_logl.c: Likewise.
66200         * math/e_powl.c: Likewise.
66201         * math/e_rem_pio2l.c: Likewise.
66202         * math/e_sinhl.c: Likewise.
66203         * math/e_sqrtl.c: Likewise.
66204         * math/fclrexcpt.c: Likewise.
66205         * math/fedisblxcpt.c: Likewise.
66206         * math/feenablxcpt.c: Likewise.
66207         * math/fegetenv.c: Likewise.
66208         * math/fegetexcept.c: Likewise.
66209         * math/fegetround.c: Likewise.
66210         * math/feholdexcpt.c: Likewise.
66211         * math/fesetenv.c: Likewise.
66212         * math/fesetround.c: Likewise.
66213         * math/feupdateenv.c: Likewise.
66214         * math/fgetexcptflg.c: Likewise.
66215         * math/fraiseexcpt.c: Likewise.
66216         * math/fsetexcptflg.c: Likewise.
66217         * math/ftestexcept.c: Likewise.
66218         * math/k_cosl.c: Likewise.
66219         * math/k_rem_pio2l.c: Likewise.
66220         * math/k_sinl.c: Likewise.
66221         * math/k_tanl.c: Likewise.
66222         * math/s_asinhl.c: Likewise.
66223         * math/s_atanl.c: Likewise.
66224         * math/s_cbrtl.c: Likewise.
66225         * math/s_erfl.c: Likewise.
66226         * math/s_expm1l.c: Likewise.
66227         * math/s_log1pl.c: Likewise.
66228         * math/s_tanhl.c: Likewise.
66229         * misc/acct.c: Likewise.
66230         * misc/brk.c: Likewise.
66231         * misc/chflags.c: Likewise.
66232         * misc/chroot.c: Likewise.
66233         * misc/fchflags.c: Likewise.
66234         * misc/fgetxattr.c: Likewise.
66235         * misc/flistxattr.c: Likewise.
66236         * misc/fremovexattr.c: Likewise.
66237         * misc/fsetxattr.c: Likewise.
66238         * misc/fsync.c: Likewise.
66239         * misc/ftruncate.c: Likewise.
66240         * misc/futimes.c: Likewise.
66241         * misc/futimesat.c: Likewise.
66242         * misc/getdomain.c: Likewise.
66243         * misc/getdtsz.c: Likewise.
66244         * misc/gethostid.c: Likewise.
66245         * misc/gethostname.c: Likewise.
66246         * misc/getloadavg.c: Likewise.
66247         * misc/getpagesize.c: Likewise.
66248         * misc/getsysstats.c: Likewise.
66249         * misc/getxattr.c: Likewise.
66250         * misc/gtty.c: Likewise.
66251         * misc/ioctl.c: Likewise.
66252         * misc/lgetxattr.c: Likewise.
66253         * misc/listxattr.c: Likewise.
66254         * misc/llistxattr.c: Likewise.
66255         * misc/lremovexattr.c: Likewise.
66256         * misc/lsetxattr.c: Likewise.
66257         * misc/lutimes.c: Likewise.
66258         * misc/madvise.c: Likewise.
66259         * misc/mincore.c: Likewise.
66260         * misc/mlock.c: Likewise.
66261         * misc/mlockall.c: Likewise.
66262         * misc/mmap.c: Likewise.
66263         * misc/mprotect.c: Likewise.
66264         * misc/msync.c: Likewise.
66265         * misc/munlock.c: Likewise.
66266         * misc/munlockall.c: Likewise.
66267         * misc/munmap.c: Likewise.
66268         * misc/preadv.c: Likewise.
66269         * misc/preadv64.c: Likewise.
66270         * misc/ptrace.c: Likewise.
66271         * misc/pwritev.c: Likewise.
66272         * misc/pwritev64.c: Likewise.
66273         * misc/readv.c: Likewise.
66274         * misc/reboot.c: Likewise.
66275         * misc/remap_file_pages.c: Likewise.
66276         * misc/removexattr.c: Likewise.
66277         * misc/revoke.c: Likewise.
66278         * misc/select.c: Likewise.
66279         * misc/setdomain.c: Likewise.
66280         * misc/setegid.c: Likewise.
66281         * misc/seteuid.c: Likewise.
66282         * misc/sethostid.c: Likewise.
66283         * misc/sethostname.c: Likewise.
66284         * misc/setregid.c: Likewise.
66285         * misc/setreuid.c: Likewise.
66286         * misc/setxattr.c: Likewise.
66287         * misc/sstk.c: Likewise.
66288         * misc/stty.c: Likewise.
66289         * misc/swapoff.c: Likewise.
66290         * misc/swapon.c: Likewise.
66291         * misc/sync.c: Likewise.
66292         * misc/syncfs.c: Likewise.
66293         * misc/syscall.c: Likewise.
66294         * misc/truncate.c: Likewise.
66295         * misc/ualarm.c: Likewise.
66296         * misc/usleep.c: Likewise.
66297         * misc/ustat.c: Likewise.
66298         * misc/utimes.c: Likewise.
66299         * misc/vhangup.c: Likewise.
66300         * misc/writev.c: Likewise.
66301         * posix/_exit.c: Likewise.
66302         * posix/alarm.c: Likewise.
66303         * posix/execve.c: Likewise.
66304         * posix/fexecve.c: Likewise.
66305         * posix/fork.c: Likewise.
66306         * posix/fpathconf.c: Likewise.
66307         * posix/getaddrinfo.c: Likewise.
66308         * posix/getegid.c: Likewise.
66309         * posix/geteuid.c: Likewise.
66310         * posix/getgid.c: Likewise.
66311         * posix/getgroups.c: Likewise.
66312         * posix/getlogin.c: Likewise.
66313         * posix/getlogin_r.c: Likewise.
66314         * posix/getpgid.c: Likewise.
66315         * posix/getpid.c: Likewise.
66316         * posix/getppid.c: Likewise.
66317         * posix/getresgid.c: Likewise.
66318         * posix/getresuid.c: Likewise.
66319         * posix/getsid.c: Likewise.
66320         * posix/getuid.c: Likewise.
66321         * posix/glob64.c: Likewise.
66322         * posix/nanosleep.c: Likewise.
66323         * posix/pathconf.c: Likewise.
66324         * posix/pause.c: Likewise.
66325         * posix/posix_madvise.c: Likewise.
66326         * posix/pread.c: Likewise.
66327         * posix/pread64.c: Likewise.
66328         * posix/pwrite.c: Likewise.
66329         * posix/pwrite64.c: Likewise.
66330         * posix/sched_getaffinity.c: Likewise.
66331         * posix/sched_getp.c: Likewise.
66332         * posix/sched_gets.c: Likewise.
66333         * posix/sched_primax.c: Likewise.
66334         * posix/sched_primin.c: Likewise.
66335         * posix/sched_rr_gi.c: Likewise.
66336         * posix/sched_setaffinity.c: Likewise.
66337         * posix/sched_setp.c: Likewise.
66338         * posix/sched_sets.c: Likewise.
66339         * posix/sched_yield.c: Likewise.
66340         * posix/setgid.c: Likewise.
66341         * posix/setlogin.c: Likewise.
66342         * posix/setpgid.c: Likewise.
66343         * posix/setresgid.c: Likewise.
66344         * posix/setresuid.c: Likewise.
66345         * posix/setsid.c: Likewise.
66346         * posix/setuid.c: Likewise.
66347         * posix/sleep.c: Likewise.
66348         * posix/spawni.c: Likewise.
66349         * posix/sysconf.c: Likewise.
66350         * posix/times.c: Likewise.
66351         * posix/wait.c: Likewise.
66352         * posix/wait3.c: Likewise.
66353         * posix/wait4.c: Likewise.
66354         * posix/waitpid.c: Likewise.
66355         * resolv/gai_sigqueue.c: Likewise.
66356         * resource/getpriority.c: Likewise.
66357         * resource/getrlimit.c: Likewise.
66358         * resource/getrusage.c: Likewise.
66359         * resource/nice.c: Likewise.
66360         * resource/setpriority.c: Likewise.
66361         * resource/setrlimit.c: Likewise.
66362         * resource/ulimit.c: Likewise.
66363         * rt/aio_cancel.c: Likewise.
66364         * rt/aio_fsync.c: Likewise.
66365         * rt/aio_read.c: Likewise.
66366         * rt/aio_sigqueue.c: Likewise.
66367         * rt/aio_suspend.c: Likewise.
66368         * rt/aio_write.c: Likewise.
66369         * rt/clock_getres.c: Likewise.
66370         * rt/clock_gettime.c: Likewise.
66371         * rt/clock_nanosleep.c: Likewise.
66372         * rt/clock_settime.c: Likewise.
66373         * rt/lio_listio.c: Likewise.
66374         * rt/mq_close.c: Likewise.
66375         * rt/mq_getattr.c: Likewise.
66376         * rt/mq_notify.c: Likewise.
66377         * rt/mq_open.c: Likewise.
66378         * rt/mq_receive.c: Likewise.
66379         * rt/mq_send.c: Likewise.
66380         * rt/mq_setattr.c: Likewise.
66381         * rt/mq_timedreceive.c: Likewise.
66382         * rt/mq_timedsend.c: Likewise.
66383         * rt/mq_unlink.c: Likewise.
66384         * rt/shm_open.c: Likewise.
66385         * rt/shm_unlink.c: Likewise.
66386         * rt/timer_create.c: Likewise.
66387         * rt/timer_delete.c: Likewise.
66388         * rt/timer_getoverr.c: Likewise.
66389         * rt/timer_gettime.c: Likewise.
66390         * rt/timer_settime.c: Likewise.
66391         * setjmp/__longjmp.c: Likewise.
66392         * setjmp/setjmp.c: Likewise.
66393         * signal/kill.c: Likewise.
66394         * signal/killpg.c: Likewise.
66395         * signal/raise.c: Likewise.
66396         * signal/sigaction.c: Likewise.
66397         * signal/sigaltstack.c: Likewise.
66398         * signal/sigblock.c: Likewise.
66399         * signal/sigignore.c: Likewise.
66400         * signal/sigintr.c: Likewise.
66401         * signal/signal.c: Likewise.
66402         * signal/sigpause.c: Likewise.
66403         * signal/sigpending.c: Likewise.
66404         * signal/sigqueue.c: Likewise.
66405         * signal/sigreturn.c: Likewise.
66406         * signal/sigset.c: Likewise.
66407         * signal/sigsetmask.c: Likewise.
66408         * signal/sigstack.c: Likewise.
66409         * signal/sigsuspend.c: Likewise.
66410         * signal/sigtimedwait.c: Likewise.
66411         * signal/sigvec.c: Likewise.
66412         * signal/sigwait.c: Likewise.
66413         * signal/sigwaitinfo.c: Likewise.
66414         * signal/sysv_signal.c: Likewise.
66415         * socket/accept.c: Likewise.
66416         * socket/accept4.c: Likewise.
66417         * socket/bind.c: Likewise.
66418         * socket/connect.c: Likewise.
66419         * socket/getpeername.c: Likewise.
66420         * socket/getsockname.c: Likewise.
66421         * socket/getsockopt.c: Likewise.
66422         * socket/isfdtype.c: Likewise.
66423         * socket/listen.c: Likewise.
66424         * socket/recv.c: Likewise.
66425         * socket/recvfrom.c: Likewise.
66426         * socket/recvmsg.c: Likewise.
66427         * socket/send.c: Likewise.
66428         * socket/sendmsg.c: Likewise.
66429         * socket/sendto.c: Likewise.
66430         * socket/setsockopt.c: Likewise.
66431         * socket/shutdown.c: Likewise.
66432         * socket/sockatmark.c: Likewise.
66433         * socket/socket.c: Likewise.
66434         * socket/socketpair.c: Likewise.
66435         * stdio-common/ctermid.c: Likewise.
66436         * stdio-common/cuserid.c: Likewise.
66437         * stdio-common/remove.c: Likewise.
66438         * stdio-common/rename.c: Likewise.
66439         * stdio-common/renameat.c: Likewise.
66440         * stdio-common/tempname.c: Likewise.
66441         * stdlib/getcontext.c: Likewise.
66442         * stdlib/makecontext.c: Likewise.
66443         * stdlib/setcontext.c: Likewise.
66444         * stdlib/swapcontext.c: Likewise.
66445         * stdlib/system.c: Likewise.
66446         * streams/fattach.c: Likewise.
66447         * streams/fdetach.c: Likewise.
66448         * streams/getmsg.c: Likewise.
66449         * streams/getpmsg.c: Likewise.
66450         * streams/putmsg.c: Likewise.
66451         * streams/putpmsg.c: Likewise.
66452         * sysdeps/unix/bsd/getpt.c: Likewise.
66453         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66454         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66455         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66457         Likewise.
66458         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66459         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66460         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66461         * sysvipc/msgctl.c: Likewise.
66462         * sysvipc/msgget.c: Likewise.
66463         * sysvipc/msgrcv.c: Likewise.
66464         * sysvipc/msgsnd.c: Likewise.
66465         * sysvipc/semctl.c: Likewise.
66466         * sysvipc/semget.c: Likewise.
66467         * sysvipc/semop.c: Likewise.
66468         * sysvipc/semtimedop.c: Likewise.
66469         * sysvipc/shmat.c: Likewise.
66470         * sysvipc/shmctl.c: Likewise.
66471         * sysvipc/shmdt.c: Likewise.
66472         * sysvipc/shmget.c: Likewise.
66473         * termios/tcdrain.c: Likewise.
66474         * termios/tcflow.c: Likewise.
66475         * termios/tcflush.c: Likewise.
66476         * termios/tcgetattr.c: Likewise.
66477         * termios/tcgetpgrp.c: Likewise.
66478         * termios/tcsendbrk.c: Likewise.
66479         * termios/tcsetattr.c: Likewise.
66480         * termios/tcsetpgrp.c: Likewise.
66481         * time/adjtime.c: Likewise.
66482         * time/clock.c: Likewise.
66483         * time/getitimer.c: Likewise.
66484         * time/gettimeofday.c: Likewise.
66485         * time/setitimer.c: Likewise.
66486         * time/settimeofday.c: Likewise.
66487         * time/stime.c: Likewise.
66488         * time/time.c: Likewise.
66490 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66492         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66493         /usr/old/bin.
66495         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66496         instead of spaces.
66497         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66499 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66501         [BZ #14796]
66502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66503         FE_TONEAREST before applying Dekker multiplication and Knuth
66504         addition.  Clear inexact exceptions and check for exact zero
66505         results afterwards.
66506         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66507         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66509         * math/libm-test.inc (fma_test): Add more tests.
66510         (fma_test_towardzero): Likewise.
66511         (fma_test_downward): Likewise.
66512         (fma_test_upward): Likewise.
66513         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66514         function.
66515         (libc_fesetround): New macro.
66516         (libc_fesetroundf): Likewise.
66517         (libc_fesetroundl): Likewise.
66518         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66519         function.
66520         (libc_fesetround_387): Likewise.
66521         (libc_fesetroundf): New macro.
66522         (libc_fesetround): Likewise.
66523         (libc_fesetroundl): Likewise.
66524         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66525         function.
66526         (libc_fesetroundf): New macro.
66527         (libc_fesetround): Likewise.
66528         (libc_fesetroundl): Likewise.
66529         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66530         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66531         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66532         libm_hidden_ver.
66533         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66534         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66535         libm_hidden_def.
66536         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66537         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66538         libm_hidden_ver.
66539         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66540         libm_hidden_def.
66542         [BZ #3439]
66543         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66544         integer constant usable in #if and use that to give value to enum
66545         constant.
66546         (FE_DIVBYZERO): Likewise.
66547         (FE_UNDERFLOW): Likewise.
66548         (FE_OVERFLOW): Likewise.
66549         (FE_INVALID): Likewise.
66550         (FE_INVALID_SNAN): Likewise.
66551         (FE_INVALID_ISI): Likewise.
66552         (FE_INVALID_IDI): Likewise.
66553         (FE_INVALID_ZDZ): Likewise.
66554         (FE_INVALID_IMZ): Likewise.
66555         (FE_INVALID_COMPARE): Likewise.
66556         (FE_INVALID_SOFTWARE): Likewise.
66557         (FE_INVALID_SQRT): Likewise.
66558         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66559         (FE_TONEAREST): Likewise.
66560         (FE_TOWARDZERO): Likewise.
66561         (FE_UPWARD): Likewise.
66562         (FE_DOWNWARD): Likewise.
66563         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66564         (FE_DIVBYZERO): Likewise.
66565         (FE_OVERFLOW): Likewise.
66566         (FE_UNDERFLOW): Likewise.
66567         (FE_INEXACT): Likewise.
66568         (FE_TONEAREST): Likewise.
66569         (FE_DOWNWARD): Likewise.
66570         (FE_UPWARD): Likewise.
66571         (FE_TOWARDZERO): Likewise.
66572         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66573         (FE_UNDERFLOW): Likewise.
66574         (FE_OVERFLOW): Likewise.
66575         (FE_DIVBYZERO): Likewise.
66576         (FE_INVALID): Likewise.
66577         (FE_TONEAREST): Likewise.
66578         (FE_TOWARDZERO): Likewise.
66579         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66580         (FE_OVERFLOW): Likewise.
66581         (FE_UNDERFLOW): Likewise.
66582         (FE_DIVBYZERO): Likewise.
66583         (FE_INEXACT): Likewise.
66584         (FE_TONEAREST): Likewise.
66585         (FE_TOWARDZERO): Likewise.
66586         (FE_UPWARD): Likewise.
66587         (FE_DOWNWARD): Likewise.
66588         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66589         (FE_DIVBYZERO): Likewise.
66590         (FE_OVERFLOW): Likewise.
66591         (FE_UNDERFLOW): Likewise.
66592         (FE_INEXACT): Likewise.
66593         (FE_TONEAREST): Likewise.
66594         (FE_DOWNWARD): Likewise.
66595         (FE_UPWARD): Likewise.
66596         (FE_TOWARDZERO): Likewise.
66598 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66600         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66602 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66604         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66605         commands.  Quote $PWD.
66606         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66607         -x" by "export".
66608         (remove_newlines): Remove.
66610 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66612         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66613         * stdlib/stdlib.h (atof): Moved to ...
66614         * include/bits/stdlib-float.h: Here.  New file.
66615         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66616         * stdlib/bits/stdlib-float.h: New file.
66617         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66618         -mno-sse -mno-mmx.
66619         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66620         <xmmintrin.h>.
66622 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66624         * conform/conformtest.pl (@headers): Add fenv.h.
66625         * conform/data/fenv.h-data: New file.
66626         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66627         include of <math/fenv.h>.
66629         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66630         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66631         && !UNIX98].  Enables tests for XOPEN2K8.
66632         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66633         POSIX2008]: Likewise.
66635         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66636         (struct rusage): Do not expect type or its members.
66638         [BZ #3439]
66639         * math/math.h (FP_NAN): Define macro to integer constant usable in
66640         #if and use that to give value to enum constant.
66641         (FP_INFINITE): Likewise.
66642         (FP_ZERO): Likewise.
66643         (FP_SUBNORMAL): Likewise.
66644         (FP_NORMAL): Likewise.
66646 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66648         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66649         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66650         arguments.
66652 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66654         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66655         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66656         autoconf-time if not.
66657         * configure.in: Remove AC_PREREQ.
66659 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66661         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66662         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66663         of the internal implementation.
66665 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66667         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66668         except include of <misc/sys/syslog.h>.
66670 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66673         function returns with a NULL context exit with zero.
66675 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66677         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66679 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66681         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66682         (run_program_cmd): This.
66683         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66684         (tst_langinfo): New variable.  Use it.
66686 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66688         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66689         floating point opcodes.
66691 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66693         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66694         variable.
66696         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66698         * sysdeps/mach/hurd/powerpc: Remove directory.
66699         * sysdeps/mach/powerpc: Likewise.
66701 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66703         * scripts/check-local-headers.sh: Ignore c++ headers.
66705 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66707         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66708         __libc_cleanup_region_start argument.
66710 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66712         [BZ #14784]
66713         [BZ #14785]
66714         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66715         x * y using scaling, not as x * y + z.
66716         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66717         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66718         * math/libm-test.inc (fma_test): Add more tests.
66719         (fma_test_towardzero): Likewise.
66720         (fma_test_downward): Likewise.
66721         (fma_test_upward): Likewise.
66723 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66725         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66727 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66729         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66730         New variable.
66732 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66734         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66736 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66739         Fix sort order.
66740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66741         Likewise.
66743 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66746         Fix the order of the list for glibc 2.17.
66747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66748         Likewise.
66750 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66754 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66756         [BZ #14610]
66757         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66758         for low part of x being zero before using __atanl (y).
66759         * math/libm-test.inc (atan2_test): Add another test.
66761         * manual/install.texi (Configuring and compiling): Document
66762         general use of test-wrapper and test-wrapper-env.
66763         * INSTALL: Regenerated.
66765         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66766         (__fma): Do not extract and scale down low bits on after-rounding
66767         systems when result rounded to normal precision would have normal
66768         exponent.
66769         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66770         (__fmal): Do not extract and scale down low bits on after-rounding
66771         systems when result rounded to normal precision would have normal
66772         exponent.
66773         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66774         (__fmal): Do not extract and scale down low bits on after-rounding
66775         systems when result rounded to normal precision would have normal
66776         exponent.
66777         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66778         macro.
66779         (fma_test): Add more tests.
66780         (fma_test_towardzero): Likewise.
66781         (fma_test_downward): Likewise.
66782         (fma_test_upward): Likewise.
66784 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66786         * sysdeps/i386/tininess.h: Renamed to ...
66787         * sysdeps/x86/tininess.h: This.
66788         * sysdeps/x86_64/tininess.h: Removed.
66790 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66792         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66793         input.  Use $(build-program-cmd).
66794         ($(objpfx)tst-array1-static.out): Likewise.
66795         ($(objpfx)tst-array2.out): Likewise.
66796         ($(objpfx)tst-array3.out): Likewise.
66797         ($(objpfx)tst-array4.out): Likewise.
66798         ($(objpfx)tst-array5.out): Likewise.
66799         ($(objpfx)tst-array5-static.out): Likewise.
66801 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66803         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66804         if defined.
66806         * nss/nsswitch.h (nss_interface_function): Provide new
66807         macro for use with NSS functions.
66808         * grp/initgroups.c: Use new macro.
66809         * nss/getXXbyYY.c: Likewise.
66810         * nss/getXXbyYY_r.c: Likewise.
66811         * nss/getXXent.c: Likewise.
66812         * nss/getXXent_r.c: Likewise.
66813         * sysdeps/posix/getaddrinfo.c: Likewise.
66815 2012-10-30  Andreas Jaeger  <aj@suse.de>
66817         * po/ru.po: Update Russion translation from translation project.
66819 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66821         [BZ #14152]
66822         [BZ #14783]
66823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66824         result and shift together with sticky bit instead of replicating
66825         round-to-nearest rounding.
66826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66827         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66828         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66829         missing underflow exceptions.
66830         (fma_test_towardzero): Add more tests.
66831         (fma_test_downward): Likewise.
66832         (fma_test_upward): Likewise.
66834         [BZ #14047]
66835         * sysdeps/generic/tininess.h: New file.
66836         * sysdeps/i386/tininess.h: Likewise.
66837         * sysdeps/sh/tininess.h: Likewise.
66838         * sysdeps/x86_64/tininess.h: Likewise.
66839         * stdlib/tst-strtod-underflow.c: Likewise.
66840         * stdlib/tst-tininess.c: Likewise.
66841         * stdlib/strtod_l.c: Include <tininess.h>.
66842         (round_and_return): Do not set errno for exact underflow cases.
66843         Force an underflow exception when setting errno for underflow.
66844         Determine underflow based on rounding to normal precision if
66845         TININESS_AFTER_ROUNDING.
66846         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66847         ERANGE for exact underflow cases.
66848         * stdlib/Makefile (tests): Add tst-tininess and
66849         tst-strtod-underflow.
66850         ($(objpfx)tst-tininess): Use $(link-libm).
66851         ($(objpfx)tst-strtod-underflow): Likewise.
66853 2012-10-30  Andreas Jaeger  <aj@suse.de>
66855         [BZ#14767]
66856         * elf/Makefile (tests): Remove conditional for have-initfini-array
66857         since this is now always required and the variable does not exist
66858         anymore.
66859         (tests-static): Likewise.
66860         (modules-names): Likewise.
66862         * po/eo.po: Add Esperanto translation from translation project.
66864         * elf/tst-array1.c (fini_array): Make writeable so that it can be
66865         merged with constructor/destructor.
66866         (init_array): Likewise.
66867         * elf/tst-array2dep.c (fini_array): Likewise.
66868         (init_array): Likewise.
66870 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
66872         * manual/message.texi: Delete @cartouche tags.
66874 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
66876         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
66877         EOPNOTSUPP.
66878         * sysdeps/mach/hurd/fsync.c: Likewise.
66880         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
66881         [_POSIX_REALTIME_SIGNALS]: Change condition to
66882         [_POSIX_REALTIME_SIGNALS > 0].
66884 2012-10-27  Andreas Jaeger  <aj@suse.de>
66886         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
66887         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
66888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
66889         [__WORDSIZE != 64]: Likewise.
66891 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
66893         *  iconvdata/tst-table.sh: Remove ${SHELL}.
66894         *  iconvdata/tst-tables.sh: Likewise.
66896 2012-10-25  David S. Miller  <davem@davemloft.net>
66898         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66899         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
66900         of strtoull.
66902         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
66903         ifunc-impl-list.c
66904         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66905         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
66906         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
66907         file.
66909 2012-10-25  Roland McGrath  <roland@hack.frob.com>
66911         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66912         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
66913         __getdirentries.
66915 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66916             Jim Blandy  <jimb@codesourcery.com>
66918         * scripts/cross-test-ssh.sh: New file.
66919         * manual/install.texi (Configuring and compiling): Document use of
66920         cross-test-ssh.sh.
66921         * INSTALL: Regenerated.
66923 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
66925         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
66926         EOPNOTSUPP.
66928 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66930         * Makeconfig (run-program-prefix): Fix comment.
66932 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66933             Jim Blandy  <jimb@codesourcery.com>
66935         * Makeconfig (test-wrapper): New variable,
66936         (test-wrapper-env): Likewise.
66937         [$(cross-compiling) = yes && $(test-wrapper) != ""]
66938         (run-built-tests): Define to yes.
66939         (run-program-prefix): Use $(test-wrapper).
66940         (built-program-cmd): Likewise.
66941         * Rules (make-test-out): Use $(test-wrapper-env) and
66942         $(host-built-program-cmd).
66943         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
66944         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
66945         tst-pathopt.sh.
66946         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
66947         $(test-wrapper-env) to tst-rtld-load-self.sh.
66948         ($(objpfx)order2.out): Use $(test-wrapper).
66949         ($(objpfx)tst-initorder.out): Likewise.
66950         ($(objpfx)tst-initorder2.out): Likewise.
66951         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
66952         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
66953         (test_wrapper_env): New variable.  Use it to run ld.so.
66954         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
66955         Use it to run ld.so.
66956         (test_wrapper_env): Likewise.
66957         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
66958         $(test-wrapper) to run-iconv-test.sh.
66959         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
66960         (ICONV): Use $test_wrapper.
66961         * posix/Makefile ($(objpfx)globtest.out): Pass
66962         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
66963         globtest.sh, not $(run-program-prefix).
66964         * posix/globtest.sh (run_via_rtld_prefix): New variable.
66965         (test_wrapper): Likewise.
66966         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
66967         set together with run_via_rtld_prefix.
66968         (run_program_prefix): Define in terms of test_wrapper and
66969         run_via_rtld_prefix.
66971 2012-10-24  Roland McGrath  <roland@hack.frob.com>
66973         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
66974         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
66975         Targets removed.
66977         [BZ #14743]
66978         * include/time.h: Remove librt_hidden_proto (clock_gettime).
66979         Declare __clock_getres, __clock_gettime, __clock_settime,
66980         __clock_nanosleep, and __clock_getcpuclockid.
66981         * rt/clock_gettime.c: Define __clock_gettime as an alias.
66982         Remove librt_hidden_def (clock_gettime).
66983         * sysdeps/unix/clock_gettime.c: Likewise.
66984         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
66985         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
66986         * rt/clock_getres.c: Define __clock_getres as an alias.
66987         * sysdeps/posix/clock_getres.c: Likewise.
66988         * rt/clock_settime.c: Define __clock_settime as an alias.
66989         * sysdeps/unix/clock_settime.c: Likewise.
66990         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
66991         * sysdeps/unix/clock_nanosleep.c: Likewise.
66992         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
66993         * rt/clock-compat.c: New file.
66994         * rt/Makefile (librt-routines): Add clock-compat and move
66995         $(clock-routines) to ...
66996         (routines): ... here, new variable.
66997         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
66998         Don't add get_clockfreq here.
66999         * rt/Versions (libc: GLIBC_2.17): New version set.
67000         Add clock_* symbols here.
67001         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67002         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67003         (GLIBC_2.17): Add clock_* symbols.
67004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67006         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67008         Likewise.
67009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67010         Likewise.
67011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67015         * NEWS: Mention the move.
67017         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67018         Use __open, __read, __close rather than their public counterparts.
67019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67020         (__get_clockfreq_via_cpuinfo): Likewise.
67021         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67022         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67024         * config.h.in (HAVE_IFUNC): New #undef.
67025         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67026         was successful.
67027         * configure: Regenerated.
67029 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67031         * configure.in: Move READELF check to start of file.
67032         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67033         libc_cv_asm_gnu_indirect_function in the process.
67034         * configure: Regenerated.
67036 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67038         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67039         send the output to /dev/null.
67040         (libc_cv_cc_with_libunwind): Likewise.
67041         (libc_cv_as_noexecstack): Likewise.
67042         * configure: Regenerate.
67044 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67046         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67048         * posix/globtest.sh (TMPDIR): Do not set.
67049         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67050         (testout): Likewise.
67052 2012-10-24  Andreas Jaeger  <aj@suse.de>
67054         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67055         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67056         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67057         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67058         posix_fadvise64, posix_fallocate64.
67060         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67061         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67062         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67063         Likewise.
67064         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67065         Likewise.
67066         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67068         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67069         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67070         <bits/fcntl-linux.h>.
67071         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67073         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67074         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67075         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67076         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67077         [__WORDSIZE != 64]: Likewise.
67079 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67081         * Makeconfig (run-built-tests): New variable.
67082         * Rules [$(cross-compiling) = yes]: Change condition to
67083         [$(run-built-tests) = no].
67084         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67085         to [$(run-built-tests) = yes].
67086         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67087         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67088         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67089         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67090         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67091         * io/Makefile [$(cross-compiling) = no]: Likewise.
67092         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67093         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67094         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67095         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67096         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67097         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67098         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67099         * string/Makefile [$(cross-compiling) = no]: Likewise.
67101         * posix/Makefile ($(objpfx)globtest.out): Pass
67102         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67103         $(rtld-installed-name).
67104         * posix/globtest.sh (elf_objpfx): Remove variable.
67105         (rtld_installed_name): Likewise.
67106         (library_path): Likewise.
67107         (run_program_prefix): New variable.  Use for running globtest
67108         binary.
67110 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67111             Joseph Myers  <joseph@codesourcery.com>
67113         * Makeconfig (host-built-program-cmd): New variable.
67114         * elf/Makefile (tst-stackguard1-ARGS): Use
67115         $(host-built-program-cmd).
67116         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67117         (tst-spawn-ARGS): Likewise.
67118         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67120 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67121             Jim Blandy  <jimb@codesourcery.com>
67123         * Makeconfig (run-via-rtld-prefix): New variable.
67124         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67125         (built-program-cmd): Likewise.
67127 2012-10-22  Andreas Jaeger  <aj@suse.de>
67129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67130         __O_RSYNC if it exists, otherwise to O_SYNC.
67132 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67133             Joseph Myers  <joseph@codesourcery.com>
67135         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67136         /dev/null.
67137         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67138         from /dev/null
67139         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67140         /dev/null.
67142 2012-10-22  Andreas Jaeger  <aj@suse.de>
67144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67145         Define always.
67146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67149         bits/fcntl-linux.h.
67151         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67152         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67154         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67155         to __O_LARGEFILE.
67156         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67157         to __O_LARGEFILE.
67159 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67160             Joseph Myers  <joseph@codesourcery.com>
67162         * config.make.in (NM): New variable.
67164 2012-10-21  Andreas Jaeger  <aj@suse.de>
67166         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67167         definitions and declarations that are provided by
67168         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67170 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67172         [BZ #14683]
67173         * elf/Makefile (tests-static): Add tst-leaks1-static.
67174         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67175         ($(objpfx)tst-leaks1-static): New rule.
67176         ($(objpfx)tst-leaks1-static-mem): Likewise.
67177         (tst-leaks1-static-ENV): New macro.
67178         * elf/dl-open.c (dl_open_worker): Check the main application
67179         only if SHARED is defined.
67180         * elf/tst-leaks1-static.c: New file.
67182 2012-10-20  Andreas Jaeger  <aj@suse.de>
67184         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
67185         generic values for Linux.
67186         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
67187         and declarations that are provided by <bits/fcntl-linux.h> and
67188         include <bits/fcntl-linux.h>.
67189         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67190         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67192 2012-10-20  Roland McGrath  <roland@hack.frob.com>
67194         * io/fcntl.h: Move include of <bits/types.h> to the top and
67195         include it unconditionally.
67197 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67199         * wcsmbs/Makefile (tests-ifunc): New variable.
67200         (tests): Add $(tests-ifunc).
67201         * wcsmbs/test-wcschr-ifunc.c: New file.
67202         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
67203         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
67204         * wcsmbs/test-wcslen-ifunc.c: Likewise.
67205         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
67206         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
67208         * string/Makefile (tests-ifunc): New variable.
67209         (tests): Add $(tests-ifunc).
67210         * string/test-memccpy.c (TEST_NAME): New macro.
67211         * string/test-memchr.c (TEST_NAME): Likewise.
67212         * string/test-memcmp.c (TEST_NAME): Likewise.
67213         * string/test-memcpy.c (TEST_NAME): Likewise.
67214         * string/test-memmem.c (TEST_NAME): Likewise.
67215         * string/test-memmove.c (TEST_NAME): Likewise.
67216         * string/test-memset.c (TEST_NAME): Likewise.
67217         * string/test-rawmemchr.c (TEST_NAME): Likewise.
67218         * string/test-stpcpy.c (TEST_NAME): Likewise.
67219         * string/test-stpncpy.c (TEST_NAME): Likewise.
67220         * string/test-strcasecmp.c (TEST_NAME): Likewise.
67221         * string/test-strcasestr.c (TEST_NAME): Likewise.
67222         * string/test-strcat.c (TEST_NAME): Likewise.
67223         * string/test-strchr.c (TEST_NAME): Likewise.
67224         * string/test-strcmp.c(TEST_NAME): Likewise.
67225         * string/test-strcpy.c (TEST_NAME): Likewise.
67226         * string/test-strcspn.c (TEST_NAME): Likewise.
67227         * string/test-strlen.c (TEST_NAME): Likewise.
67228         * string/test-strncasecmp.c (TEST_NAME): Likewise.
67229         * string/test-strncmp.c (TEST_NAME): Likewise.
67230         * string/test-strncpy.c (TEST_NAME): Likewise.
67231         * string/test-strnlen.c (TEST_NAME): Likewise.
67232         * string/test-strpbrk.c (TEST_NAME): Likewise.
67233         * string/test-strrchr.c (TEST_NAME): Likewise.
67234         * string/test-strspn.c (TEST_NAME): Likewise.
67235         * string/test-strstr.c (TEST_NAME): Likewise.
67236         * string/test-bcopy-ifunc.c: New file.
67237         * string/test-bzero-ifunc.c: Likewise.
67238         * string/test-memccpy-ifunc.c: Likewise.
67239         * string/test-memchr-ifunc.c: Likewise.
67240         * string/test-memcmp-ifunc.c: Likewise.
67241         * string/test-memcpy-ifunc.c: Likewise.
67242         * string/test-memmem-ifunc.c: Likewise.
67243         * string/test-memmove-ifunc.c: Likewise.
67244         * string/test-mempcpy-ifunc.c: Likewise.
67245         * string/test-memset-ifunc.c: Likewise.
67246         * string/test-rawmemchr-ifunc.c: Likewise.
67247         * string/test-stpcpy-ifunc.c: Likewise.
67248         * string/test-stpncpy-ifunc.c: Likewise.
67249         * string/test-strcasecmp-ifunc.c: Likewise.
67250         * string/test-strcasestr-ifunc.c: Likewise.
67251         * string/test-strcat-ifunc.c: Likewise.
67252         * string/test-strchr-ifunc.c: Likewise.
67253         * string/test-strchrnul-ifunc.c: Likewise.
67254         * string/test-strcmp-ifunc.c: Likewise.
67255         * string/test-strcpy-ifunc.c: Likewise.
67256         * string/test-strcspn-ifunc.c: Likewise.
67257         * string/test-strlen-ifunc.c: Likewise.
67258         * string/test-strncasecmp-ifunc.c: Likewise.
67259         * string/test-strncat-ifunc.c: Likewise.
67260         * string/test-strncmp-ifunc.c: Likewise.
67261         * string/test-strncpy-ifunc.c: Likewise.
67262         * string/test-strnlen-ifunc.c: Likewise.
67263         * string/test-strpbrk-ifunc.c: Likewise.
67264         * string/test-strrchr-ifunc.c: Likewise.
67265         * string/test-strspn-ifunc.c: Likewise.
67266         * string/test-strstr-ifunc.c: Likewise.
67268         * debug/Makefile (tests-ifunc): New variable.
67269         (tests): Add $(tests-ifunc).
67270         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67271         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67272         * debug/test-stpcpy_chk-ifunc.c: New file.
67273         * debug/test-strcpy_chk-ifunc.c: Likewise.
67275 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67277         [BZ #13601]
67278         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67279         header is not read in.
67281 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67283         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67284         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67285         directly.  Pass built executable to script as
67286         $(built-program-cmd).
67287         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67288         $testprogram without using LD_LIBRARY_PATH and $ldso.
67290         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67291         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67292         $(rtld-installed-name).
67293         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67294         (rtld_installed_name): Likewise.
67295         (library_path): Likewise.
67296         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67297         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67298         $(run-program-prefix) to tst-tables.sh.
67299         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67300         it to run tst-table-from and tst-table-to.
67301         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67302         Pass it to tst-table.sh.
67303         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67304         $(run-program-prefix) to tst-gettext.sh.
67305         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67306         tst-translit.sh.
67307         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67308         tst-gettext2.sh.
67309         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67310         to run tst-gettext.
67311         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67312         to run tst-gettext2.
67313         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67314         to run tst-translit.
67315         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67316         $(run-program-prefix) to tst-mtrace.sh.
67317         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67318         to run tst-mtrace.
67319         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67320         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67321         $(rtld-installed-name).
67322         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67323         (rtld_installed_name): Likewise.
67324         (run_program_prefix): New variable.  Use it to run wordexp-test.
67326         * Makeconfig (ARCH): Remove all definitions.
67327         (machine): Likewise.
67328         [ARCH]: Remove conditional code.
67329         [!objdir]: Give error.
67330         [!objdir] (objpfx): Remove.
67331         [!objdir] (common-objpfx): Likewise.
67332         [!objdir] (common-objdir): Likewise.
67333         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67334         AC_CONFIG_FILES call.
67335         * configure: Regenerated.
67337         [BZ #13888]
67338         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67339         or TMPDIR.
67340         (testout): Likewise.
67342         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67343         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67344         $(rtld-installed-name).
67345         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67346         (rtld_installed_name): Likewise.
67347         (runit): Remove function.
67348         (run_getconf): New variable,  Use it for running getconf binary.
67350 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67352         [BZ #14716]
67353         * string/test-memmem.c (check_result): New function.
67354         (do_one_test): Use it.
67355         (check1): New function.
67356         (test_main): Use it.
67358 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67360         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67362 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67364         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67365         (_G_LSEEK64): Likewise.
67366         (_G_MMAP64): Likewise.
67367         (_G_FSTAT64): Likewise.
67368         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67369         (_G_LSEEK64): Likewise.
67370         (_G_MMAP64): Likewise.
67371         (_G_FSTAT64): Likewise.
67372         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67373         unconditional.  Call __mmap64 directly.
67374         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67375         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67376         __lseek64 directly.
67377         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67378         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67379         __mmap64 directly.
67380         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67381         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67382         __lseek64 directly.
67383         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67384         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67385         __lseek64 directly.
67386         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67387         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67388         __lseek64 directly.
67389         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67390         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67391         __fxstat64 directly.
67392         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67393         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67394         unconditional.
67395         (freopen64) [!_G_OPEN64]: Remove conditional code.
67396         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67397         unconditional.
67398         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67399         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67400         unconditional.
67401         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67402         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67403         unconditional.
67404         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67405         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67406         unconditional.
67407         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67408         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67409         unconditional.
67410         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67411         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67412         unconditional.
67413         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67414         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67415         unconditional.
67416         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67418 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67420         [BZ #12140]
67421         * manual/memory.texi (Malloc Tunable Parameters): Add note
67422         about free list pointers overwriting some perturb bytes.
67423         Wording suggested by Roland McGrath.
67425 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67427         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67428         (lgamma_test): Likewise.
67429         (tgamma_test): Likewise.
67431 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67433         [BZ #14700]
67434         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67435         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67437 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67439         * NEWS: Mention BZ #14716.
67440         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67441         when removing AVAILABLE1_USES_J macro.
67443 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67445         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67446         (__bswap_64): __uint64_t for unsigned 64-bit int.
67448 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67450         * include/string.h (memmem): Declare libc hidden alias.
67451         * string/memmem.c (memmem): Define libc hidden alias.
67452         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67453         __read, __close instead of open, read, close.
67455 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67458         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67459         global and hidden.
67460         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67461         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67462         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67463         Likewise.
67464         (__rawmemchr_sse2): Likewise.
67465         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67466         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67467         (__strchr_sse2): Likewise.
67468         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67469         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67470         (__strcasecmp_sse2): Likewise.
67471         (__strncasecmp_sse2): Likewise.
67472         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67473         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67474         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67475         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67476         (__strrchr_sse2): Likewise.
67477         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67478         ifunc-impl-list.c.
67479         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67480         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67481         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67482         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67483         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67484         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67485         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67486         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67487         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67488         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67489         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67490         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67491         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67492         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67493         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67494         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67495         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67496         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67497         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67498         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67499         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67500         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67501         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67502         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67503         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67504         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67505         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67506         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67507         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67508         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67510         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67511         global and hidden.
67512         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67513         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67514         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67515         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67516         Likewise.
67517         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67518         Likewise.
67519         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67520         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67521         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67522         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67523         ifunc-impl-list.c.
67524         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67525         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67526         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67527         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67528         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67529         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67530         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67531         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67532         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67533         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67534         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67535         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67536         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67537         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67538         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67539         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67540         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67541         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67542         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67543         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67544         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67545         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67546         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67547         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67548         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67549         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67550         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67551         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67552         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67553         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67554         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67555         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67556         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67557         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67558         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67559         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67560         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67561         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67562         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67563         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67564         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67566         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67567         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67568         * include/ifunc-impl-list.h: New file.
67569         * misc/ifunc-impl-list.c: Likewise.
67570         * misc/Makefile (routines): Add ifunc-impl-list.
67571         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67572         * string/test-string.h: Include <ifunc-impl-list.h>.
67573         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67574         TEST_NAME]: New variables.
67575         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67576         are defined.
67577         (test_init): Call __libc_ifunc_impl_list to initialize
67578         func_list if TEST_IFUNC and TEST_NAME are defined.
67580         * string/Makefile (strop-tests): Add bcopy and bzero.
67581         * string/test-bcopy.c: New file.
67582         * string/test-bzero.c: Likewise.
67583         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67584         defined.
67585         * string/test-memset.c: Support bzero test if TEST_BZERO is
67586         defined.
67587         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67588         __libc_memmove.
67589         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67590         __libc_memset.
67591         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67592         of memset.
67594 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67596         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67597         * configure: Regenerated.
67599         * Makeconfig (+link-static-before-libc): Don't include
67600         $(link-static-libc).
67602         * libio/libio.h (_IO_pos_t): Remove.
67604 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67606         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67607         McGrath.
67609 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67611         * crypt/crypt-entry.c: Include fips-private.h.
67612         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67613         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67614         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67615         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67617 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67619         * crypt/crypt-private.h: Include stdbool.h.
67620         (_ufc_setup_salt_r): Return bool.
67621         * crypt/crypt-entry.c: Include errno.h.
67622         (__crypt_r): Return NULL with EINVAL for bad salt.
67623         * crypt/crypt_util.c (bad_for_salt): New.
67624         (_ufc_setup_salt_r): Check that salt is long enough and within
67625         the specified alphabet.
67626         * crypt/badsalttest.c: New file.
67627         * crypt/Makefile (tests): Add it.
67628         ($(objpfx)badsalttest): New.
67630 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67632         * NEWS: Add entry for BZ #14602.
67634 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67636         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67637         type-generic.
67638         * math/libm-test.inc: Update comment listing what functions and
67639         macros are tested.
67640         (isgreater_test): New function.
67641         (isgreaterequal_test): Likewise.
67642         (isless_test): Likewise.
67643         (islessequal_test): Likewise.
67644         (islessgreater_test): Likewise.
67645         (isunordered_test): Likewise.
67646         (main): Call the new functions.
67648 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67650         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67651         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67652         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67653         * sysdeps/i386/configure: Regenerated.
67654         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67655         * sysdeps/mach/configure: Regenerated.
67656         * sysdeps/mach/hurd/configure: Regenerated.
67657         * sysdeps/powerpc/configure: Regenerated.
67658         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67659         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67660         * sysdeps/s390/s390-32/configure: Regenerated.
67661         * sysdeps/s390/s390-64/configure: Regenerated.
67662         * sysdeps/sh/configure: Regenerated.
67663         * sysdeps/sparc/configure: Regenerated.
67664         * sysdeps/unix/sysv/linux/configure: Regenerated.
67665         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67666         * sysdeps/x86_64/configure: Regenerated.
67668         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67669         defined.  Don't check if MAP is NULL.
67671 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67673         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67674         (_G_stat64): Likewise.
67675         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67676         (_G_stat64): Likewise.
67677         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67678         instead of struct _G_stat64.
67679         * libio/fileops.c (mmap_remap_check): Likewise.
67680         (decide_maybe_mmap): Likewise.
67681         (_IO_new_file_seekoff): Likewise.
67682         (_IO_file_stat): Likewise.
67683         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67684         _G_off64_t.
67685         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67686         instead of struct _G_stat64.
67687         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67689 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67691         [BZ #14602]
67692         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67693         Replace with ...
67694         (CHECK_EOL): New macro.
67695         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67696         CHECK_EOL.
67697         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67698         Replace with CHECK_EOL.
67699         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67700         Replace with CHECK_EOL.
67702 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67704         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67705         type-generic.
67706         * math/libm-test.inc: Update comment listing what functions and
67707         macros are tested.
67708         (finite_test): New function.
67709         (isinf_test): Likewise.
67710         (isnan_test): Likewise.
67711         (fpclassify_test): Test subnormal input.
67712         (isfinite_test): Likewise.
67713         (isnormal_test): Likewise.
67714         (main): Call the new functions.
67716 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67718         [BZ #14660]
67719         * Makerules (%.dynsym): Force C locale when running
67720         $(OBJDUMP) --dynamic-syms.
67722 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67724         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67725         <stdint.h>.
67727 2012-10-06  David S. Miller  <davem@davemloft.net>
67729         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67730         upper 32-bits of the length value in %o2 since we use branch-on-register
67731         tests which consider the entire 64-bit register.
67733 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67735         * string/test-strstr.c (check2): Add a test for page boundary.
67737 2012-10-05  David S. Miller  <davem@davemloft.net>
67739         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67740         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67741         file.
67742         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67743         sysdep_routines.
67744         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67745         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67746         and bzero when HWCAP_SPARC_CRYPTO is present.
67748 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67750         [BZ #14602]
67751         * string/test-strstr.c (check2): New function.
67752         (test_main): Call check2.
67754         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67755         and bug-strchr1.
67756         * string/bug-strcasestr1.c (do_test): Moved to ...
67757         * string/test-strcasestr.c (check1): Here.  New function.
67758         (do_one_test): Break out result checking code into ...
67759         (check_result): This.  New function.
67760         (do_one_test): Call check_result.
67761         (test_main): Call check1.
67762         * string/bug-strchr1.c (do_test): Moved to ...
67763         * string/test-strchr.c (check1): Here.  New function.
67764         (do_one_test): Break out result checking code into ...
67765         (check_result): This.  New function.
67766         (do_one_test): Call check_result.
67767         (test_main): Call check1.
67768         * string/bug-strstr1.c (main): Moved to ...
67769         * string/test-strstr.c (check1): Here.  New function.
67770         (do_one_test): Break out result checking code into ...
67771         (check_result): This.  New function.
67772         (do_one_test): Call check_result.
67773         (test_main): Call check1.
67774         * string/bug-strcasestr1.c: Removed.
67775         * string/bug-strchr1.c: Likewise.
67776         * string/bug-strstr1.c: Likewise.
67778         * elf/Makefile (dl-routines): Add hwcaps.
67779         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67780         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67781         (_dl_important_hwcaps): Moved to ...
67782         * elf/dl-hwcaps.c: Here.  New file.
67783         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67785         [BZ #14557]
67786         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67787         if IS_IN_rtld isn't defined.
67789         * elf/dl-support.c (_dl_sysinfo_map): New.
67790         Include "get-dynamic-info.h" and "setup-vdso.h".
67791         (_dl_non_dynamic_init): Call setup_vdso.
67792         * elf/dynamic-link.h: Don't include <assert.h>.
67793         (elf_get_dynamic_info): Moved to ...
67794         * elf/get-dynamic-info.h: Here.  New file.
67795         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67796         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67797         * elf/setup-vdso.h: Here.  New file.
67798         * elf/rtld.c: Include "setup-vdso.h".
67799         (dl_main): Call setup_vdso.
67801 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67803         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67804         creal in comment listing functions tested.  List finite, isinf,
67805         isnan, isless, islessequal, isgreater, isgreaterequal,
67806         islessgreater, isunordered, lgamma_r and pow10 as functions and
67807         macros not tested.  Mention which functions not tested are aliases
67808         for other functions.  Fix typo.  Note that signs of NaNs are not
67809         tested.
67811         * scripts/config.guess: Update from config.git.
67812         * scripts/config.sub: Likewise.
67814 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67816         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67817         * misc/madvise.c (madvise): Renamed to __madvise.
67818         Make madvise a weak alias.
67819         * include/sys/mman.h: Declare __madvise.
67820         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67821         * sysdeps/unix/syscalls.list
67822         (madvise): Make __madvise the strong name, and madvise a weak alias.
67823         * sysdeps/unix/sysv/linux/syscalls.list
67824         (madvise, mmap): Remove redundant entries.
67825         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67826         * malloc/malloc.c (mtrim): Likewise.
67827         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67829 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67831         * sysdeps/mach/hurd/dl-cache.c: File removed.
67832         * config.h.in (USE_LDCONFIG): New #undef.
67833         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67834         * configure: Regenerated.
67835         * elf/Makefile (dl-routines): Add dl-cache only under
67836         [$(use-ldconfig) = yes].
67837         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67838         cache on [USE_LDCONFIG].
67839         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67840         [USE_LDCONFIG].
67841         * elf/rtld.c (dl_main): Likewise.
67843 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67845         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67846         _SC_LEVEL4_CACHE_LINESIZE.
67848 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67850         * sysdeps/unix/bsd/confstr.h: File removed.
67852 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
67854         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67855         sys/sdt-config.h.
67857 2012-10-02  Roland McGrath  <roland@hack.frob.com>
67859         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67860         Make 'mapoff' field ElfW(Off) rather than off_t.
67862 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
67864         * nscd/Makefile: Remove nscd-cflags and all its users.
67865         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67866         (CFLAGS-nonlib): Add compiler flags for nscd modules.
67868         [BZ #10631]
67869         * malloc.c (malloc_printerr): Clarify error message.
67871 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
67873         [BZ #14648]
67874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67875         Set bit_FMA_Usable if FMA is supported.
67876         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
67877         macro.
67878         (bit_FMA4_Usable): Updated.
67879         (index_FMA_Usable): New macro.
67880         (CPUID_FMA): Likewise.
67881         (HAS_FMA): Defined with bit_FMA_Usable.
67883 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67885         * bits/types.h (__swblk_t): Type removed.
67886         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
67887         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
67888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67889         (__SWBLK_T_TYPE): Likewise.
67890         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67891         (__SWBLK_T_TYPE): Likewise.
67892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67893         (__SWBLK_T_TYPE): Likewise.
67894         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67895         (__SWBLK_T_TYPE): Likewise.
67897 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
67898             Honza Horak <hhorak@redhat.com>
67900         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
67901         (xdr_mapname): Use YPMAXMAP as maxsize.
67902         (xdr_peername): Use YPMAXPEER as maxsize.
67903         (xdr_keydat): Use YPAXRECORD as maxsize.
67904         (xdr_valdat): Use YPMAXRECORD as maxsize.
67906 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67908         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
67910         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
67911         * csu/init-first.c: ... here.
67912         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
67913         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
67914         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
67915         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
67916         * sysdeps/i386/init-first.c: File removed.
67917         * sysdeps/sh/init-first.c: File removed.
67919 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
67921         [BZ #14645]
67922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
67923         if x * y might underflow to zero and z is zero.
67924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67925         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67926         * math/libm-test.inc (min_subnorm_value): New variable.
67927         (fma_test): Add more tests.
67928         (fma_test_towardzero): Likewise.
67929         (fma_test_downward): Likewise.
67930         (fma_test_upward): Likewise.
67931         (initialize): Set min_subnorm_value.
67933 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
67935         [BZ #14638]
67936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
67937         0 + 0.
67938         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
67939         mode for addition resulting in exact zero.
67940         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
67941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
67942         exact 0 + 0.
67943         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67944         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67945         * math/libm-test.inc (fma_test): Add more tests.
67946         (fma_test_towardzero): New function.
67947         (fma_test_downward): Likewise.
67948         (fma_test_upward): Likewise.
67949         (main): Call the new functions.
67951 2012-09-28  David S. Miller  <davem@davemloft.net>
67953         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
67955 2012-09-28  Roland McGrath  <roland@hack.frob.com>
67957         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
67958         instead of SIGALRM.
67960         * sysdeps/gnu/_G_config.h: Moved to ...
67961         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
67962         * sysdeps/mach/hurd/_G_config.h: Moved to ...
67963         * sysdeps/generic/_G_config.h: ... here.
67965         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
67967         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
67969         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
67970         Conditionalize target on [libnss_test1.so-version].
67972         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
67974         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
67975         (elfobjdir): Move out of conditionals.
67977         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
67978         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
67979         (__nss_lookup_function): Conditionalize label remove_from_tree on
67980         [!DO_STATIC_NSS || SHARED], matching its only use.
67982 2012-09-28  David S. Miller  <davem@davemloft.net>
67984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
67985         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
67986         file.
67987         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67988         sysdep_routines.
67989         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67990         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
67991         when HWCAP_SPARC_CRYPTO is present.
67993 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67995         * io/tst-mknodat.c: Create a FIFO instead of a socket.
67997 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
67999         [BZ #6530]
68000         * stdio-common/vfprintf.c (process_string_arg): Revert
68001         2000-07-22 change.
68003 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68005         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68006         for testcase.
68007         * stdio-common/tst-sprintf.c: Include <locale.h>
68008         (main): Test sprintf's handling of incomplete multibyte
68009         characters.
68011 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68013         * elf/dl-runtime.c (VERSYMIDX): Removed.
68014         * elf/dl-version.c (VERSYMIDX): Likewise.
68015         * elf/do-rel.h (VERSYMIDX): Likewise.
68016         (VALIDX): Likewise.
68017         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68018         * elf/rtld.c (VALIDX): Likewise.
68019         (ADDRIDX): Likewise.
68020         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68021         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68022         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68023         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68024         (VALIDX): Likewise.
68025         (ADDRIDX): Likewise.
68027 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68029         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68031 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68033         [BZ #11438]
68034         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68035         to global scope.
68036         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68037         addresses are in the same scope as 192.0.2/24.
68038         * posix/gai.conf: Document new scope table defaults.
68040 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68042         [BZ #5298]
68043         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68044         for ftell.  Compute offsets from write pointers instead.
68045         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68047 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68049         [BZ #14543]
68050         * libio/Makefile (tests): New test case tst-fseek.
68051         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68052         combination works in wide mode.
68053         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68054         state when the external buffer state changes.
68056 2012-09-27  David S. Miller  <davem@davemloft.net>
68058         [BZ #14376]
68059         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68060         pass reloc->r_addend in as the 'high' argument to
68061         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68065 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68067         * rt/tst-aio2.c: Include <pthread.h>.
68068         * rt/tst-aio3.c: Likewise.
68070 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68072         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68074 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68076         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68077         contents on [SHARED].
68079 2012-09-26  Marek Polacek  <polacek@redhat.com>
68081         [BZ #14530]
68082         [BZ #13741]
68083         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68084         for C++ and GCC <4.3 as well as for non GCC compilers.
68086 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68090 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68092         * Makefile.in (all, install): Declare with .PHONY.
68093         Reported by Michael Hope <michael.hope@linaro.org>.
68095 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68097         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68098         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68099         system header.
68100         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68101         Likewise.
68102         (sydep_routines): Add the new and the internal functions.
68103         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68104         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68106         (GLIBC_2.17): Add the new function.
68107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68108         (GLIBC_2.17): Likewise.
68109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68110         (GLIBC_2.17): Likewise.
68111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68112         (GLIBC_2.17): Likewise.
68113         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68115 2012-09-25  Alan Modra  <amodra@gmail.com>
68117         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68118         Add release barrier before setting once_control to say
68119         initialisation is done.  Add hints on lwarx.  Use macro in
68120         place of isync.
68121         (clear_once_control): Add release barrier.
68123 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68125         [BZ #13629]
68126         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68127         specially.
68128         * math/s_clog10.c (__clog10): Likewise.
68129         * math/s_clog10f.c (__clog10f): Likewise.
68130         * math/s_clog10l.c (__clog10l): Likewise.
68131         * math/s_clogf.c (__clogf): Likewise.
68132         * math/s_clogl.c (__clogl): Likewise.
68133         * math/Makefile (libm-calls): Add x2y2m1.
68134         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68135         (__x2y2m1): Likewise.
68136         (__x2y2m1l): Likewise.
68137         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68138         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68139         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68140         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68141         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68142         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68143         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68144         * sysdeps/i386/fpu/libm-test-ulps: Update.
68145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68147         [BZ #14621]
68148         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68149         int as type of variable DEPTH.
68150         (glob): Use size_t instead of int as type of variables NEWCOUNT
68151         and OLD_PATHC.
68153 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68155         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68156         Add s_sincosf-sse2.
68157         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68158         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68159         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68160         macros for using routine as __sincosf_ia32.
68161         Use macro for function declaration and weak_alias.
68162         * sysdeps/i386/fpu/libm-test-ulps: Update.
68164         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68167         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68168         subnormal argument.
68169         * math/s_cexpf.c (__cexpf): Likewise.
68170         * math/s_csinf.c (__csinf): Likewise.
68171         * math/s_csinhf.c (__csinhf): Likewise.
68172         * math/s_ctanf.c (__ctanf): Likewise.
68173         * math/s_ctanhf.c (__ctanhf): Likewise.
68174         * math/s_ccosh.c (__ccoshf): Likewise.
68175         * math/s_cexp.c (__cexpl): Likewise.
68176         * math/s_csin.c (__csin): Likewise.
68177         * math/s_csinh.c (__csinh): Likewise.
68178         * math/s_ctan.c (__ctan): Likewise.
68179         * math/s_ctanh.c (ctanh): Likewise.
68180         * math/s_ccoshl.c (__ccoshl): Likewise.
68181         * math/s_cexpl.c (__cexpl): Likewise.
68182         * math/s_csinl.c (__csinl): Likewise.
68183         * math/s_csinhl.c (__csinhl): Likewise.
68184         * math/s_ctanl.c (__ctanl): Likewise.
68185         * math/s_ctanhl.c (__ctanhl): Likewise.
68187 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68189         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68190         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
68191         (_IO_off_t): Define to __off_t, not _G_off_t.
68192         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
68193         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
68194         (_IO_wint_t): Define to wint_t, not _G_wint_t.
68195         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
68196         type of __dummy and __dummy2 fields.
68197         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
68198         (_G_ssize_t): Likewise.
68199         (_G_off_t): Likewise.
68200         (_G_pid_t): Likewise.
68201         (_G_uid_t): Likewise.
68202         (_G_wchar_t): Likewise.
68203         (_G_wint_t): Likewise.
68204         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
68205         (_G_ssize_t): Likewise.
68206         (_G_off_t): Likewise.
68207         (_G_pid_t): Likewise.
68208         (_G_uid_t): Likewise.
68209         (_G_wchar_t): Likewise.
68210         (_G_wint_t): Likewise.
68211         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
68212         (_G_ssize_t): Likewise.
68213         (_G_off_t): Likewise.
68214         (_G_pid_t): Likewise.
68215         (_G_uid_t): Likewise.
68216         (_G_wchar_t): Likewise.
68217         (_G_wint_t): Likewise.
68219 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68221         * malloc/arena.c: Include malloc-sysdep.h.
68222         (shrink_heap): Use check_may_shrink_heap to decide if madvise
68223         is sufficient to shrink the heap or an unmap is needed.
68224         * sysdeps/generic/malloc-sysdep.h: New file.  Define
68225         new function check_may_shrink_heap.
68226         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
68227         new function check_may_shrink_heap.
68229 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68231         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
68232         comments.
68234 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
68236         * catgets/test-gencat.sh: Add "set -e".
68237         * elf/tst-pathopt.sh: Likewise.
68238         * grp/tst_fgetgrent.sh: Likewise.
68239         * iconvdata/run-iconv-test.sh: Likewise.
68240         * intl/tst-gettext.sh: Likewise.
68241         * intl/tst-gettext2.sh: Likewise.
68242         * intl/tst-gettext4.sh: Likewise.
68243         * intl/tst-gettext6.sh: Likewise.
68244         * intl/tst-translit.sh: Likewise.
68245         * io/ftwtest-sh: Likewise.
68246         * libio/test-freopen.sh: Likewise.
68247         * malloc/tst-mtrace.sh: Likewise.
68248         * posix/globtest.sh: Likewise.
68249         * posix/tst-getconf.sh: Likewise.
68250         * posix/wordexp-tst.sh: Likewise.
68251         * stdio-common/tst-printf.sh: Likewise.
68252         * stdio-common/tst-unbputc.sh: Likewise.
68253         * stdlib/tst-fmtmsg.sh: Likewise.
68254         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68255         * catgets/Makefile: Do not specify -e option when running
68256         testsuite shell scripts.
68257         * elf/Makefile: Likewise.
68258         * grp/Makefile: Likewise.
68259         * iconvdata/Makefile: Likewise.
68260         * intl/Makefile: Likewise.
68261         * io/Makefile: Likewise.
68262         * libio/Makefile: Likewise.
68263         * malloc/Makefile: Likewise.
68264         * posix/Makefile: Likewise.
68265         * stdio-common/Makefile: Likewise.
68266         * stdlib/Makefile: Likewise.
68267         * sysdeps/x86_64/Makefile: Likewise.
68269         * io/ftwtest-sh: Add copyright header.
68270         * posix/globtest.sh: Likewise.
68271         * posix/tst-getconf.sh: Likewise.
68272         * posix/wordexp-tst.sh: Likewise.
68273         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68275 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68277         [BZ #13679]
68278         * Makeconfig (+link): Defined as $(+link-static) if
68279         $(build-shared) isn't yes.
68280         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68281         isn't yes.
68282         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68284         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68286         [BZ #14562]
68287         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68288         new chunk size with MALLOC_ALIGN_MASK.
68290 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68292         [BZ #5044]
68293         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68294         <rounding-mode.h>.
68295         (__printf_fphex): Determine rounding using get_rounding_mode and
68296         round_away.
68297         * stdio-common/tst-printf-round.c (struct hex_test): New
68298         structure.
68299         (hex_tests): New variable.
68300         (test_hex_in_one_mode): New function.
68301         (do_test): Also run tests for hex float output.
68303 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68305         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68306         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68307         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68308         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68309         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68310         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68311         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68312         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68314 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68316         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68317         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68318         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68319         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68321 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68323         [BZ #14579]
68324         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68325         mode only.
68326         * elf/tst-rtld-load-self.sh: New test.
68327         * elf/Makefile: Run it.
68329 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68331         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68332         (tst-writev-ENV): Remove.
68333         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68335 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68337         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68339 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68341         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68342         unconditional.
68343         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68344         Likewise.
68345         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68346         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68347         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68348         Likewise.
68350 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68352         [BZ #14587]
68353         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68354         * config.make.in (have-cpp-asm-debuginfo): Removed.
68355         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68356         * configure: Regenerated.
68358 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68360         [BZ #5044]
68361         * stdio-common/printf_fp.c: Include <stdbool.h> and
68362         <rounding-mode.h>.
68363         (___printf_fp): Determine rounding using get_rounding_mode and
68364         round_away.
68365         * stdio-common/tst-printf-round.c: New file.
68366         * stdio-common/Makefile (tests): Add tst-printf-round.
68367         (link-libm): New variable.
68368         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68370 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68372         [BZ #14576]
68373         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68374         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68375         Likewise.
68376         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68377         Likewise.
68379 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68381         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68382         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68383         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68384         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68386 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68388         [BZ #14518]
68389         * include/rounding-mode.h: New file.
68390         * sysdeps/generic/get-rounding-mode.h: Likewise.
68391         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68392         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68393         (MAX_VALUE): New macro.
68394         (MIN_VALUE): Likewise.
68395         (overflow_value): New function.
68396         (underflow_value): Likewise.
68397         (round_and_return): Use overflow_value and underflow_value to
68398         determine return values in overflow and underflow cases.  Use
68399         round_away to determine rounding depending on rounding mode.
68400         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68401         determine return values in overflow and underflow cases.
68402         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68403         (struct test_results): New structure.
68404         (struct test): Use struct test_results to store expected results
68405         for all rounding modes.
68406         (TEST): Include expected results for all rounding modes.
68407         (test_in_one_mode): New function.
68408         (do_test): Use test_in_one_mode to compute and check results.
68409         Check results for all rounding modes.
68410         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68411         $(link-libm).
68413 2012-12-09  Allan McRae  <allan@archlinux.org>
68415         * sysdeps/i386/fpu/libm-test-ulps: Update
68417 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68419         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
68420         (_G_int32_t): Likewise.
68421         (_G_uint16_t): Likewise.
68422         (_G_uint32_t): Likewise.
68423         (_G_HAVE_BOOL): Likewise.
68424         (_G_HAVE_ATEXIT): Likewise.
68425         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68426         (_G_HAVE_IO_FILE_OPEN): Likewise.
68427         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
68428         (_G_int32_t): Likewise.
68429         (_G_uint16_t): Likewise.
68430         (_G_uint32_t): Likewise.
68431         (_G_HAVE_BOOL): Likewise.
68432         (_G_HAVE_ATEXIT): Likewise.
68433         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68434         (_G_HAVE_IO_FILE_OPEN): Likewise.
68435         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68436         (_G_int32_t): Likewise.
68437         (_G_uint16_t): Likewise.
68438         (_G_uint32_t): Likewise.
68439         (_G_HAVE_BOOL): Likewise.
68440         (_G_HAVE_ATEXIT): Likewise.
68441         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68442         (_G_HAVE_IO_FILE_OPEN): Likewise.
68444 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68446         * csu/libc-tls.c: Update copyright years.
68448 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68450         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68451         [!_G_USING_THUNKS]: Remove conditional code.
68452         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68453         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68455         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68456         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68457         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68458         (_G_VTABLE_LABEL_PREFIX): Likewise.
68459         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68460         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68461         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68462         (_G_VTABLE_LABEL_PREFIX): Likewise.
68463         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68464         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68465         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68466         (_G_VTABLE_LABEL_PREFIX): Likewise.
68467         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68469 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68471         * libio/Makefile: Include ../Makeconfig before tests.
68472         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68473         only if $(build-shared) is yes.
68475         * iconv/gconv_db.c: Update copyright years.
68477 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68479         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68480         unwind info if defined PIC. Fix special cases description.
68481         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68483         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68484         DP_HI_MASK entry.
68485         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68487 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68489         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68491         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68492         is NULL.
68494         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68495         (LDLIBS-tst-chk4): This.
68496         (LDFLAGS-tst-chk5): Renamed to ...
68497         (LDLIBS-tst-chk5): This.
68498         (LDFLAGS-tst-chk6): Renamed to ...
68499         (LDLIBS-tst-chk6): This.
68500         (LDFLAGS-tst-lfschk4): Renamed to ...
68501         (LDLIBS-tst-lfschk4): This.
68502         (LDFLAGS-tst-lfschk5): Renamed to ...
68503         (LDLIBS-tst-lfschk5): This.
68504         (LDFLAGS-tst-lfschk6): Renamed to ...
68505         (LDLIBS-tst-lfschk6): This.
68507         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68508         on $(common-objpfx)soversions.mk.
68510 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68512         [BZ #10014]
68513         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68514         example host name.
68516 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68518         * malloc/arena.c (arena_get_retry): New function that gets
68519         another arena for the caller to try its request on.
68520         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68521         current arena cannot fulfill the request.
68522         (__libc_memalign): Likewise.
68523         (__libc_memalign): Likewise.
68524         (__libc_pvalloc): Likewise.
68525         (__libc_calloc): Likewise.
68527 2012-09-05  John Tobey  <john.tobey@gmail.com>
68529         [BZ #13542]
68530         * manual/arith.texi (Operations on Complex): Fix description
68531         of carg branch cut.
68533 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68535         [BZ #10014]
68536         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68537         host name.
68539         [BZ #10038]
68540         * manual/memory.texi (Memory): Make order of menu items match
68541         order of sections.
68543 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68545         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68546         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68547         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68549 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68551         * csu/libc-tls.c (static_dtv): Renamed to ...
68552         (_dl_static_dtv): This.  Make it global.
68553         (_dl_initial_dtv): Removed.
68554         (__libc_setup_tls): Updated.
68555         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68556         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68557         DL_INITIAL_DTV.
68559 2012-09-06  Petr Machata  <pmachata@redhat.com>
68561         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68562         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68563         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68564         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68566 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68568         [BZ #14545]
68569         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68570         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68571         freeing dtv[-1].
68573 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68575         [BZ #14544]
68576         * Makeconfig (link-static-before-libc): Replace $(+prector)
68577         with $(+prectorT).
68578         (link-static-after-libc): Replace $(+postctor) with
68579         $(+postctorT).
68580         (link-bounded): Replace $(+prector)/$(+postctor) with
68581         $(+prectorT)/$(+postctorT).
68582         (+prectorT): New macro.
68583         (+postctorT): Likewise.
68585 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68587         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68588         (round_str): Handle values above the maximum for IBM long double
68589         as inexact.
68590         * stdlib/tst-strtod-round.c (tests): Regenerated.
68592 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68594         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68595         assembler flag.
68596         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68597         zarch_nohighgprs around the zarch optimized routines.
68598         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68599         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68600         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68601         for zarch.
68603 2012-09-05  David S. Miller  <davem@davemloft.net>
68605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68607         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68608         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68609         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68610         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68611         entries.
68613 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68615         * malloc/arena.c: Fold copyright years.
68616         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68618 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68620         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68622 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68624         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68626 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68628         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68629         change internal state upon failure.
68631 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68633         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68634         * malloc/memusage.c (mmap): Likewise.
68635         (mmap64, mremap): Likewise.  Adjust name in comment.
68637 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68639         * libio/fileops.c: Fix typos in comments.
68640         * libio/oldfileops.c: Likewise.
68641         * libio/wfileops.c: Likewise.
68643 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68645         [BZ #1349]
68646         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68647         (tst-malloc-usable-ENV): Set environment for test case.
68648         * malloc/hooks.c (malloc_check_get_size): New function to get
68649         requested size.
68650         * malloc/malloc.c (musable): Use malloc_check_get_size.
68651         * malloc/tst-malloc-usable.c: New test case.
68653 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68655         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68657 2012-09-05  Allan McRae  <allan@archlinux.org>
68659         [BZ #13966]
68660         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68661         determine header location.
68662         * configure: Regenerated.
68664 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68666         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68667         float format.
68668         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68669         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68670         format.
68671         (test): Regenerate.
68673 2012-09-04  David S. Miller  <davem@davemloft.net>
68675         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68676         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68677         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68679 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68681         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68682         failures.
68684         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68686 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68688         [BZ #9914]
68689         * libio/iogetdelim.c: Include <limits.h>.
68690         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68691         + len + 1 would overflow.
68693 2012-09-03  Andreas Jaeger  <aj@suse.de>
68695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68696         * sysdeps/i386/fpu/libm-test-ulps: Update.
68698 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68700         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68701         Add s_sinf-sse2, s_conf-sse2.
68703         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68704         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68705         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68706         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68708         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68709         for using routine as __sinf_ia32.
68710         Use macro for function declaration and weak_alias.
68711         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68712         for using routine as __cosf_ia32.
68713         Use macro for function declaration and weak_alias.
68715         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68716         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68718         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68719         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68722         * math/libm-test.inc (cos_test): Add more test cases.
68723         (sin_test): Likewise.
68724         (sincos_test): Likewise.
68726 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68728         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68729         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68730         hidden.
68731         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68733 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68735         [BZ #14538]
68736         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68737         first element of the GOT.
68738         (elf_machine_load_address): Return the difference between
68739         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68741 2012-09-01  Allan McRae  <allan@archlinux.org>
68743         [BZ #13412]
68744         * configure.in (AWK): Require gawk version 3.0 or later.
68745         * configure: Regenerated.
68747 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68749         * sysdeps/unix/sysv/linux/kernel-features.h
68750         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68751         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68752         [__NR_clock_getres]: Make code unconditional.
68753         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68754         (clock_getcpuclockid): Remove code left unreachable by removal of
68755         conditionals.
68756         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68757         code unconditional.
68758         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68759         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68760         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68761         Make code unconditional.
68762         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68763         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68764         * sysdeps/unix/sysv/linux/clock_settime.c
68765         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68766         conditional code.
68767         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68768         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68770 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68772         [BZ #14476]
68773         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68774         scripts/test-installation.pl.
68776         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68777         and $ld_so_version if it is set.
68779 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68781         [BZ #14516]
68782         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68783         failure if reading from procfs failed.
68784         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68786 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68788         * sysdeps/unix/sysv/linux/kernel-features.h
68789         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68790         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68791         Remove conditional code.
68792         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68793         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68794         Remove conditional code.
68795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68796         * sysdeps/unix/sysv/linux/i386/fxstat.c
68797         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68798         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68799         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68800         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68802         * sysdeps/unix/sysv/linux/i386/lxstat.c
68803         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68804         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68805         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68806         Remove conditional code.
68807         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68808         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68809         Remove conditional code.
68810         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68811         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68812         <kernel-features.h>.
68813         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68814         Remove.
68815         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68816         Remove conditional code.
68817         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68818         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68819         Remove conditional.
68821 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68823         [BZ #5400]
68824         * NEWS: Add fixed bug number.
68826 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68828         [BZ #14519]
68829         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68830         underflowing exponent in case of negative sign.
68831         * stdlib/tst-strtod-round-data: Add more tests.
68832         * stdlib/tst-strtod-round.c (tests): Regenerated.
68834         [BZ #3479]
68835         * stdlib/strtod_l.c (NDIG): Remove.
68836         (HEXNDIG): Likewise.
68837         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68838         smallest representable value.
68839         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68840         lie within an exact representation of 1/2 ulp of the result.
68841         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68842         unconditionally.
68843         (TENS_P9_IDX): Define unconditionally.
68844         (TENS_P9_SIZE): Likewise.
68845         (TENS_P10_IDX): Likewise.
68846         (TENS_P10_SIZE): Likewise.
68847         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68848         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68849         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68850         entries for 10^2^13 and 10^2^14.
68851         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68852         (TENS_P13_IDX): Define.
68853         (TENS_P13_SIZE): Likewise.
68854         (TENS_P14_IDX): Likewise.
68855         (TENS_P14_SIZE): Likewise.
68856         (_fpioconst_pow10): Change array size to
68857         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
68858         unconditional.
68859         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68860         1024]: Add entries for 10^2^13 and 10^2^14.
68861         [LAST_POW10 > _LAST_POW10]: Remove #error.
68862         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68863         (_fpioconst_pow10): Change array size to
68864         FPIOCONST_POW10_ARRAY_SIZE.
68865         * stdlib/gen-fpioconst.c: New file.
68866         * stdlib/gen-tst-strtod-round.c: Likewise.
68867         * stdlib/tst-strtod-round-data: Likewise.
68868         * stdlib/tst-strtod-round.c: Likewise.
68869         * stdlib/Makefile (tests): Add tst-strtod-round.
68871         [BZ #14459]
68872         * stdlib/strtod_l.c: Include <stdint.h>.
68873         (NDEBUG): Do not define.
68874         (round_and_return): Change EXPONENT parameter to type intmax_t.
68875         Rearrange calculations to avoid internal overflow possibilities.
68876         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
68877         Rearrange calculations to avoid internal overflow possibilities.
68878         Assert that number fits inside MPNSIZE limbs.
68879         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
68880         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
68881         calculations and add assertions to avoid internal overflow
68882         possibilities.  Add casts to avoid signed/unsigned operations.
68883         * stdlib/tst-strtod-overflow.c: New file.
68884         * stdlib/Makefile (tests): Add tst-strtod-overflow.
68886 2012-08-25  Marek Polacek  <polacek@redhat.com>
68888         * time/time.h: Fix some typos in comments.
68890 2012-08-23  Roland McGrath  <roland@hack.frob.com>
68892         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
68893         * posix/tst-rfc3484-2.c: Likewise.
68894         * posix/tst-rfc3484-3.c: Likewise.
68896 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
68898         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
68899         (EF_ARM_ABI_FLOAT_HARD): Likewise.
68901 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
68903         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
68904         #include of fxstatat64.c.
68906 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68908         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
68909         * shadow/getspent_r.c: Likewise.
68910         * shadow/getspnam.c: Likewise.
68911         * shadow/getspnam_r.c: Likewise.
68912         * gshadow/getsgent.c: Likewise.
68913         * gshadow/getsgent_r.c: Likewise.
68914         * gshadow/getsgnam.c: Likewise.
68915         * gshadow/getsgnam_r.c: Likewise.
68916         * inet/getnetbyad.c: Likewise.
68917         * inet/getnetbyad_r.c: Likewise.
68918         * inet/getnetbynm.c: Likewise.
68919         * inet/getnetbynm_r.c: Likewise.
68920         * inet/getnetent.c: Likewise.
68921         * inet/getnetent_r.c: Likewise.
68922         * inet/getproto.c: Likewise.
68923         * inet/getproto_r.c: Likewise.
68924         * inet/getprtent.c: Likewise.
68925         * inet/getprtent_r.c: Likewise.
68926         * inet/getprtname.c: Likewise.
68927         * inet/getprtname_r.c: Likewise.
68928         * inet/getrpcbyname.c: Likewise.
68929         * inet/getrpcbyname_r.c: Likewise.
68930         * inet/getrpcbynumber.c: Likewise.
68931         * inet/getrpcbynumber_r.c: Likewise.
68932         * inet/getrpcent.c: Likewise.
68933         * inet/getrpcent_r.c: Likewise.
68934         * inet/getaliasent.c: Likewise.
68935         * inet/getaliasent_r.c: Likewise.
68936         * inet/getaliasname.c: Likewise.
68937         * inet/getaliasname_r.c: Likewise.
68938         * nscd/getgrgid_r.c: Likewise.
68939         * nscd/getgrnam_r.c: Likewise.
68940         * nscd/gethstbyad_r.c: Likewise.
68941         * nscd/gethstbynm3_r.c: Likewise.
68942         * nscd/getpwnam_r.c: Likewise.
68943         * nscd/getpwuid_r.c: Likewise.
68944         * nscd/getsrvbynm_r.c: Likewise.
68945         * nscd/getsrvbypt_r.c: Likewise.
68946         * nscd/gai.c: Likewise.
68948         * configure.in (build_nscd): New substituted variable, set
68949         by --disable-build-nscd and defaults to $use_nscd.
68950         * configure: Regenerated.
68951         * config.make.in (build-nscd): New substituted variable.
68952         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68953         Change conditional to require [$(build-nscd) = yes] as well.
68954         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
68956         [BZ# 13696]
68957         * configure.in (use_nscd): New substituted variable, set by
68958         --disable-nscd.  If enabled, define USE_NSCD.
68959         * configure: Regenerated.
68960         * config.h.in: Add USE_NSCD.
68961         * config.make.in (use-nscd): New substituted variable.
68962         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
68963         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
68964         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
68965         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
68966         (CFLAGS-getgrnam_r.c): Likewise.
68967         (CFLAGS-initgroups.c): Likewise.
68968         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
68969         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
68970         Variables removed.
68971         * inet/getnetgrent_r.c
68972         (nscd_setnetgrent): New function, broken out of ...
68973         (setnetgrent): ... here.  Call it.
68974         (innetgr): Conditionalize nscd bits on [USE_NSCD].
68975         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
68976         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
68977         * nscd/Makefile (routines, aux): Move definitions after include of
68978         Makeconfig.  Conditionalize on [$(use-nscd) != no].
68979         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
68980         Conditionalize on [USE_NSCD].
68981         (is_nscd, nscd_init_cb): Likewise.
68982         (nss_load_library): Conditionalize init callback on [USE_NSCD].
68983         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
68984         * nss/nss_db/db-init.c: Likewise.
68985         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
68986         [USE_NSCD].
68987         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
68988         (make_request): Use it.
68989         (cache_valid_p): New function.
68990         (__check_pf): Use it.
68991         * NEWS: Add item for --disable-nscd.
68993 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
68995         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
68996         to support sed >= 4.2.1-20-ga9bf076.
68997         * configure: Regenerated.
68999 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69001         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69002         Conditionalize whole body on [IREL].
69004 2012-08-22  Jeff Law <law@redhat.com>
69006         [BZ #14505]
69007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69008         if the family is PF_UNSPEC.
69010 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69012         * Makerules (lib-version): Rename from V.
69013         (install-lib-nosubdir): Change V to lib-version.
69015 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69017         [BZ #14252]
69018         * powerpc32/power6/wcschr.c: New file.
69019         * powerpc32/power6/wcscpy.c: New file.
69020         * powerpc32/power6/wcsrchr.c: New file.
69021         * powerpc64/power6/wcschr.c: New file.
69022         * powerpc64/power6/wcscpy.c: New file.
69023         * powerpc64/power6/wcsrchr.c: New file.
69025 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69027         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69028         (two_way_short_needle): Use it.
69029         * string/strstr.c (AVAILABLE1_USES_J): Define.
69030         * string/strcasestr.c: Likewise.
69032         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69033         array references.
69034         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69036         [BZ #11607]
69037         * NEWS: Add an entry.
69038         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69039         define their defaults.
69040         (two_way_short_needle): Detect end-of-string on-the-fly.
69041         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69042         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69043         * string/bug-strcasestr1.c: New test.
69044         * string/Makefile: Run it.
69046 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69048         [BZ #11607]
69049         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69050         the first character.
69052 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69054         * csu/elf-init.c (__libc_csu_irel): Function removed.
69055         * csu/libc-start.c (apply_irel): New function.
69056         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69058 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69060         * sysdeps/unix/sysv/linux/kernel-features.h
69061         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69062         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69063         <kernel-features.h>.
69064         [__NR_fadvise64_64]: Make code unconditional.
69065         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69066         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69067         !__NR_fadvise64_64)]: Likewise.
69068         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69069         !__NR_fadvise64_64))]: Likewise.
69070         [__NR_fadvise64]: Make code unconditional.
69071         [!__NR_fadvise64]: Remove conditional code.
69072         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69073         <kernel-features.h>.
69074         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69075         unconditional.
69076         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69077         conditional code.
69078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69079         not include <kernel-features.h>.
69080         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69081         unconditional.
69082         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69083         conditional code.
69084         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69085         include <kernel-features.h>.
69086         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69087         unconditional.
69088         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69089         conditional code.
69091 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69093         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69094         slight instruction rearrangements per scrollpipe analysis.
69095         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69097 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69099         * manual/syslog.texi (syslog; vsyslog, closelog):
69100         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69101         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69103         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69104         DSOCAPS to match condition on defining it.
69106 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69108         * sysdeps/unix/sysv/linux/kernel-features.h
69109         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69111         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69112         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69114         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69115         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69117         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69118         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69120         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69121         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69123         * sysdeps/unix/sysv/linux/kernel-features.h
69124         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69125         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69126         unconditional.
69127         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69128         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69129         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69130         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69131         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69132         Make code unconditional.
69133         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69134         (__mmap64) [!__NR_mmap2]: Likewise.
69135         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69136         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69137         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69138         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69139         [__NR_mmap2]: Make code unconditional.
69140         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69141         (__mmap64) [!__NR_mmap2]: Likewise.
69143 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69145         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69147 2012-08-18  Andreas Jaeger  <aj@suse.de>
69149         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69151 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69153         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69154         * include/unistd.h (__have_sock_cloexec): Likewise.
69155         (__have_pipe2): Likewise.
69156         (__have_dup3): Likewise.
69158 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69160         [BZ #9685]
69161         * include/unistd.h (__have_pipe2): Change define into an extern int.
69162         (__have_dup3): Likewise.
69163         * socket/have_sock_cloexec.c: Include fcntl.h.
69164         (__have_pipe2): New variable.
69165         (__have_dup3): Likewise.
69167 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69169         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69171 2012-08-17  Marek Polacek  <polacek@redhat.com>
69173         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69174         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69176 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69178         * configure.in: Add AC_SUBST for sysheaders.
69179         * configure: Regenerated.
69180         * config.make.in (sysheaders): New substituted variable.
69182         * sysdeps/unix/mkfifo.c: Moved ...
69183         * sysdeps/posix/mkfifo.c: ... here.
69184         * sysdeps/unix/mkfifoat.c: Moved ...
69185         * sysdeps/posix/mkfifoat.c: ... here.
69187         * sysdeps/unix/utime.c: Moved ...
69188         * sysdeps/posix/utime.c: ... here.
69190         * sysdeps/unix/time.c: Moved ...
69191         * sysdeps/posix/time.c: ... here.
69192         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
69193         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
69195         * sysdeps/unix/nice.c: Moved ...
69196         * sysdeps/posix/nice.c: ... here.
69198         * sysdeps/unix/alarm.c: Moved ...
69199         * sysdeps/posix/alarm.c: ... here.
69201         * intl/Makefile ($(codeset_mo)): Depend on the input file.
69203 2012-08-17  Jeff Law <law@redhat.com>
69205         * intl/Makefile (codeset_mo): New variable.
69206         ($(codeset_mo)): New target.
69207         (tst-codeset.out): Depend on that.  Remove explicit rule.
69208         (tst-gettext3.out, tst-gettext5.out): Likewise.
69209         (LOCPATH-ENV, tst-codeset-ENV): New variables.
69210         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
69211         * intl/tst-codeset.sh: Remove.
69212         * intl/tst-gettext3.sh: Likewise.
69213         * intl/tst-gettext5.sh: Likewise.
69215 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69217         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
69218         * sysdeps/unix/syscalls.list: ... here.
69220         * sysdeps/posix/getaddrinfo.c
69221         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
69222         (gaiconf_init, gaiconf_reload): Use them.
69223         [!_STATBUF_ST_NSEC]
69224         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
69225         Define using time_t rather than struct timespec.
69227         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
69228         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
69229         Macros removed.
69230         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
69231         [!NO_THREADS].
69232         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
69233         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
69234         Likewise.
69236         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
69237         __libc_cleanup_push argument.
69239         * bits/param.h: New file.
69240         * misc/sys/param.h: New file.
69241         * include/sys/param.h: New file.
69242         * misc/Makefile (headers): Add bits/param.h.
69243         * sysdeps/generic/sys/param.h: File removed.
69244         * sysdeps/unix/sysv/linux/bits/param.h: New file.
69245         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
69246         * sysdeps/mach/hurd/bits/param.h: New file.
69247         * sysdeps/mach/hurd/sys/param.h: File removed.
69249         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
69250         last change.
69252         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
69253         [_IO_MTSAFE_IO].
69254         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
69255         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
69256         New macros.
69258         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
69259         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
69260         rather than -D_IO_MTSAFE_IO conditionally.
69261         * stdio-common/Makefile (CPPFLAGS): Likewise.
69262         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69263         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69264         Use $(libio-mtsafe).
69265         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69266         of -D_IO_MTSAFE_IO.
69267         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69268         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69269         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69270         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69271         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69272         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69273         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69274         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69275         (CFLAGS-fread_u_chk.c): Likewise.
69276         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69277         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69278         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69279         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69280         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69281         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69282         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69283         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69284         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69286         * libio/Makefile: Test [$(libc-reentrant) = yes]
69287         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69289         * Makeconfig
69290         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69291         * sysdeps/pthread/configure: File removed.
69292         * sysdeps/pthread/Makeconfig: New file.
69293         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69294         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69296 2012-08-16  Gary Benson  <gbenson@redhat.com>
69298         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69299         unmapping the first object in a namespace.
69301 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69303         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69304         (__internal_setnetgrent): ... this.  Add internal_function to
69305         definition.  Add libc_hidden_def.
69306         (setnetgrent): Update caller.
69307         (internal_endnetgrent): Renamed to ...
69308         (__internal_endnetgrent): ... this.  Add internal_function to
69309         definition.  Add libc_hidden_def.
69310         (endnetgrent): Update caller.
69311         (internal_getnetgrent_r): Renamed to ...
69312         (__internal_getnetgrent_r): ... this.  Add internal_function to
69313         definition.  Add libc_hidden_def.
69314         (__getnetgrent_r): Update caller.
69315         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69317 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69319         * stdlib/longlong.h: Update from GCC.
69321 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69323         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69324         on _QL, which is set by umul_ppmm but never used.
69325         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69326         variables, which are set by GMP macros but never used.
69327         * stdio-common/_itowa.c (_itowa): Likewise.
69328         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69329         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69331 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69333         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69334         struct La_sh_regs is not constant.
69335         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69336         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69337         and struct La_sparc64_regs are not constant.
69339 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69341         * sysdeps/unix/sysv/linux/kernel-features.h
69342         (__ASSUME_POSIX_TIMERS): Remove.
69343         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69344         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69345         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69346         Make code unconditional.
69347         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69348         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69349         Make code unconditional.
69350         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69351         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69352         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69353         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69354         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69355         Make code unconditional.
69356         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69357         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69358         (__libc_missing_posix_timers): Remove.
69360 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69362         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69363         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69365         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69367         * elf/dl-sym.c: Include <stdlib.h>.
69369         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69370         constants, which avoids warnings in 32-bit builds.
69372         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69373         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69375         * misc/lseek.c: File moved to ...
69376         * io/lseek.c: ... here.
69378         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69380         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69381         shifting LEN more than 31 bits at once.
69383 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69385         [BZ #14195]
69386         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69387         segmentation fault for a case of two empty input strings.
69388         * string/test-strncasecmp.c (check1): Renamed to...
69389         (bz12205): ...this.
69390         (bz14195): Add new testcase for two empty input strings and N > 0.
69391         (test_main): Call new testcase, adapt for renamed function.
69393 2012-08-15  Andreas Jaeger  <aj@suse.de>
69395         [BZ #14090]
69396         * crypt/md5test2.c: New test, based on test supplied by Serge
69397         Belyshev <belyshev@depni.sinp.msu.ru>.
69398         * crypt/Makefile (xtests): Add md5test-giant..
69399         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69401 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69403         [BZ #14090]
69404         * crypt/md5.c (md5_process_block): Don't assume the buffer
69405         length is less than 2**32.
69406         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69407         length is less than 2**64.
69409 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69411         * string/str-two-way.h: Include <sys/param.h>.
69412         (MAX): Macro removed.
69414         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69415         Move #define and #undef of memmove to just before and after
69416         including <string.h>.
69418         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69419         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69420         and after including <string.h>.  Move declarations of
69421         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69422         to before #include "string/memmove.c".
69424         * include/dirent.h: Declare __getdirentries.
69426         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69427         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69429 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69431         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69432         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69433         * sysdeps/i386/configure: Regenerated.
69434         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69435         STABS_CURRENT_FILE, and STABS_FUN.
69436         (END): Remove call to STABS_FUN_END.
69437         (STABS_CURRENT_FILE1): Delete.
69438         (STABS_CURRENT_FILE): Likewise.
69439         (STABS_FUN): Likewise.
69440         (STABS_FUN_END): Likewise.
69441         (STABS_FUN2): Likewise.
69442         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69443         * sysdeps/x86_64/configure: Regenerated.
69445 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69447         * elf/dl-open.c: Include <atomic.h>.
69448         * elf/dl-lookup.c: Likewise.
69450 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69452         * sysdeps/unix/sysv/linux/kernel-features.h
69453         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69454         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69455         unconditionally.
69456         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69457         unconditionally.
69458         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69459         condition on __ASSUME_CLONE_THREAD_FLAGS.
69461 2012-08-14  Andreas Jaeger  <aj@suse.de>
69463         * sysdeps/i386/fpu/libm-test-ulps: Update.
69465 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69467         * include/atomic.h (atomic_exchange_and_add): Split into ...
69468         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69469         New atomic macros.
69471 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69475 2012-08-13  Jeff Law <law@redhat.com>
69477         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69478         null byte in the output string.
69480 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69482         * sysdeps/unix/sysv/linux/kernel-features.h
69483         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69484         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69485         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69486         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69487         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69488         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69489         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69491 2012-08-09  Jeff Law <law@redhat.com>
69493         [BZ #13939]
69494         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69495         When avoid_arena is set, don't retry in the that arena.  Pick the
69496         next one, whatever it might be.
69497         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69498         (arena_lock): Pass in new parameter to arena_get2.
69499         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69500         arena_get2.
69501         (__libc_malloc): Unify retrying after main arena failure with
69502         __libc_memalign version.
69503         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69505 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69507         [BZ #14166]
69508         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69509         to __redirect_strstr.
69510         (__strstr_sse42): Use typeof __redirect_strstr.
69511         (__strstr_ia32): Likewise.
69512         (__libc_strstr): New prototype.
69513         (strstr): Renamed to ...
69514         (__libc_strstr): This.
69515         (strstr): New strong alias of __libc_strstr.
69516         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69517         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69518         __redirect_time.
69519         Include <time.h>.
69520         (__libc_time): New prototype.
69521         (time_ifunc): Replace time with __libc_time.
69522         (time): New strong alias and hidden definition of __libc_time.
69523         (__GI_time): Remove strong alias.
69524         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69525         Include <stddef.h>.
69526         (memmove): Redefined to __redirect_memmove.
69527         (__memmove_sse2): Use typeof __redirect_memmove.
69528         (__memmove_ssse3): Likewise.
69529         (__memmove_ssse3_back): Likewise.
69530         (__libc_memmove): New prototype.
69531         (memmove): Renamed to ...
69532         (__libc_memmove): This.
69533         (memmove): New strong alias of __libc_memmove.
69535 2012-08-08  Mark Salter  <msalter@redhat.com>
69537         * elf/elf.h
69538         (R_MN10300_TLS_GD): Define.
69539         (R_MN10300_TLS_LD): Likewise.
69540         (R_MN10300_TLS_LDO): Likewise.
69541         (R_MN10300_TLS_GOTIE): Likewise.
69542         (R_MN10300_TLS_IE): Likewise.
69543         (R_MN10300_TLS_LE): Likewise.
69544         (R_MN10300_TLS_DTPMOD): Likewise.
69545         (R_MN10300_TLS_DTPOFF): Likewise.
69546         (R_MN10300_TLS_TPOFF): Likewise.
69547         (R_MN10300_SYM_DIFF): Likewise.
69548         (R_MN10300_ALIGN): Likewise.
69549         (R_MN10300_NUM): Update.
69551 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69553         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69554         Remove.
69556 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69558         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69560         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69561         sysdeps/unix -> sysdeps/posix move.
69562         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69564 2012-08-07      Allan McRae     <allan@archlinux.org>
69566         [BZ #14303]
69567         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69568         (SUNOS_CPP): Likewise.
69569         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69570         not found.
69571         (open_input): Call CPP using execvp.
69573 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69575         * sysdeps/unix/sysv/linux/kernel-features.h
69576         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69577         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69578         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69579         (__ASSUME_WAITID_SYSCALL): Likewise.
69580         * sysdeps/unix/sysv/linux/dl-execstack.c
69581         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69582         code unconditional.
69583         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69584         conditional code.
69585         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69586         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69587         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69588         code.
69589         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69590         unconditional.
69591         [__ASSUME_WAITID_SYSCALL]: Likewise.
69592         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69594 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69596         * sysdeps/unix/closedir.c: Renamed to ...
69597         * sysdeps/posix/closedir.c: ... here.
69598         * sysdeps/unix/dirfd.c: Renamed to ...
69599         * sysdeps/posix/dirfd.c: ... here.
69600         * sysdeps/unix/dirstream.h: Renamed to ...
69601         * sysdeps/posix/dirstream.h: ... here.
69602         * sysdeps/unix/fdopendir.c: Renamed to ...
69603         * sysdeps/posix/fdopendir.c: ... here.
69604         * sysdeps/unix/opendir.c: Renamed to ...
69605         * sysdeps/posix/opendir.c: ... here.
69606         * sysdeps/unix/readdir.c: Renamed to ...
69607         * sysdeps/posix/readdir.c: ... here.
69608         * sysdeps/unix/readdir_r.c: Renamed to ...
69609         * sysdeps/posix/readdir_r.c: ... here.
69610         * sysdeps/unix/rewinddir.c: Renamed to ...
69611         * sysdeps/posix/rewinddir.c: ... here.
69612         * sysdeps/unix/seekdir.c: Renamed to ...
69613         * sysdeps/posix/seekdir.c: ... here.
69614         * sysdeps/unix/telldir.c: Renamed to ...
69615         * sysdeps/posix/telldir.c: ... here.
69616         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69617         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69618         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69619         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69621         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69622         * bits/fcntl.h: ... here.
69624         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69625         not 0.
69626         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69627         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69628         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69629         (struct flock): Move l_start, l_len to the beginning.
69630         Use __pid_t for l_pid.
69631         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69632         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69633         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69634         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69635         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69636         [__USE_LARGEFILE64] (struct flock64): New type.
69637         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69639         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69640         * bits/dirent.h: ... here.
69642         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69643         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69645 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69647         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69648         Change from 2.6.0 to 2.6.16.
69649         * sysdeps/unix/sysv/linux/configure: Regenerated.
69650         * sysdeps/unix/sysv/linux/kernel-features.h
69651         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69652         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69653         version.
69654         (__ASSUME_UTIMES): Likewise.
69655         (__ASSUME_CLONE_STOPPED): Remove.
69656         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69657         architectures, not kernel version.
69658         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69659         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69660         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69661         (__ASSUME_WAITID_SYSCALL): Likewise.
69662         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69663         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69664         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69665         refer to older versions.
69667 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69669         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69670         Define alphasort64 as an alias.
69671         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69672         Define versionsort64 as an alias.
69673         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69674         Define scandir64 as an alias.
69675         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69676         Define scandirat64 as an alias.
69677         * dirent/alphasort64.c (alphasort64):
69678         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69679         * dirent/versionsort64.c: Likewise.
69680         * dirent/scandir64.c: Likewise.
69681         * dirent/scandirat64.c: Likewise.
69682         * sysdeps/wordsize-64/alphasort.c: File removed.
69683         * sysdeps/wordsize-64/alphasort64.c: File removed.
69684         * sysdeps/wordsize-64/scandir.c: File removed.
69685         * sysdeps/wordsize-64/scandir64.c: File removed.
69686         * sysdeps/wordsize-64/scandirat.c: File removed.
69687         * sysdeps/wordsize-64/scandirat64.c: File removed.
69688         * sysdeps/wordsize-64/versionsort.c: File removed.
69689         * sysdeps/wordsize-64/versionsort64.c: File removed.
69690         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69691         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69692         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69693         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69694         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69695         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69696         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69697         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69699         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69700         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69701         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69702         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69703         [defined __arch64__ || defined __sparcv9]
69704         (__INO_T_MATCHES_INO64_T): New macro.
69705         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69706         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69707         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69708         * sysdeps/unix/sysv/linux/bits/dirent.h
69709         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69710         (_DIRENT_MATCHES_DIRENT64): New macro.
69712         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69713         Define lockf64 as an alias.
69714         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69715         Define fseeko64 as an alias.
69716         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69717         Define ftello64 as an alias.
69718         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69719         Define _IO_fgetpos64 and fgetpos64 as aliases.
69720         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69721         Define _IO_fsetpos64 and fsetpos64 as aliases.
69722         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69723         Conditionalize body on this.
69724         * libio/fseeko64.c: Likewise.
69725         * libio/ftello64.c: Likewise.
69726         * libio/iofgetpos64.c: Likewise.
69727         * libio/iofsetpos64.c: Likewise.
69728         * sysdeps/wordsize-64/lockf.c: File removed.
69729         * sysdeps/wordsize-64/lockf64.c: File removed.
69730         * sysdeps/wordsize-64/fseeko.c: File removed.
69731         * sysdeps/wordsize-64/fseeko64.c: File removed.
69732         * sysdeps/wordsize-64/ftello.c: File removed.
69733         * sysdeps/wordsize-64/ftello64.c: File removed.
69734         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69735         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69736         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69737         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69738         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69739         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69740         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69741         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69742         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69743         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69744         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69745         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69746         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69747         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69749         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69750         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69751         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69752         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69753         [defined __arch64__ || defined __sparcv9]
69754         (__OFF_T_MATCHES_OFF64_T): New macro.
69755         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69756         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69757         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69758         (__OFF_T_MATCHES_OFF64_T): New macro.
69760 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69762         * stdlib/secure-getenv.c (__secure_getenv): Replace
69763         GLIBC_2_16 with GLIBC_2_17.
69765 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69767         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69768         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69770 2012-08-03  David S. Miller  <davem@davemloft.net>
69772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69774 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69776         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69777         Remove.
69778         (__ASSUME_CORRECT_SI_PID): Likewise.
69779         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69780         (__ASSUME_TMPFS_NAME): Likewise.
69781         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69782         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69783         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69784         (HAVE_AUX_SECURE): Make definition unconditional.
69785         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69786         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69788 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69790         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69791         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69792         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69793         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69794         __eloop_threshold instead of SYMLOOP_MAX.
69796         * sysdeps/generic/eloop-threshold.h: New file.
69797         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69798         of MAXSYMLINKS.
69799         * elf/chroot_canon.c (chroot_canon): Likewise.
69801 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69803         [BZ #13717]
69804         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69805         Change to 2.6.0 everywhere.
69806         * sysdeps/unix/sysv/linux/configure: Regenerated.
69807         * sysdeps/unix/sysv/linux/kernel-features.h
69808         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69809         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69810         kernel versions.
69811         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69812         (__ASSUME_FUTEX_REQUEUE): Remove.
69813         (__ASSUME_STATFS64): Define unconditionally.
69814         (__ASSUME_AT_SECURE): Likewise.
69815         (__ASSUME_CORRECT_SI_PID): Likewise.
69816         (__ASSUME_TGKILL): Define without depending on kernel version for
69817         i386.
69818         (__ASSUME_UTIMES): Likewise.
69819         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69820         kernel version.
69821         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69822         (__ASSUME_TMPFS_NAME): Likewise.
69823         * README: Update reference to Linux kernel versions.
69825 2012-08-02  Marek Polacek  <polacek@redhat.com>
69827         [BZ# 14150]
69828         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69829         libc_cv_asm_type_prefix with %.
69830         * configure: Regenerated.
69831         * include/libc-symbols.h: Remove comment about
69832         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69833         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69834         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69835         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69836         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69837         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69838         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69839         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69840         * elf/tst-unique2mod1.c: Likewise.
69841         * elf/tst-unique1mod2.c: Likewise.
69842         * elf/tst-unique1mod1.c: Likewise.
69843         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69844         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69845         Replace ASM_TYPE_DIRECTIVE with .type.
69846         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69847         * sysdeps/i386/sysdep.h: Likewise.
69848         * sysdeps/x86_64/sysdep.h: Likewise.
69849         * sysdeps/sh/sysdep.h: Likewise.
69850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69851         Do not define ASM_TYPE_DIRECTIVE.
69852         * sysdeps/powerpc/sysdep.h: Likewise.
69853         * sysdeps/powerpc/powerpc32/sysdep.h:
69854         Replace ASM_TYPE_DIRECTIVE with .type.
69855         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69856         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69857         * sysdeps/i386/fpu/e_powf.S: Likewise.
69858         * sysdeps/i386/fpu/e_expl.S: Likewise.
69859         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69860         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69861         * sysdeps/i386/fpu/e_pow.S: Likewise.
69862         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69863         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69864         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69865         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69866         * sysdeps/i386/fpu/e_log2.S: Likewise.
69867         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69868         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69869         * sysdeps/i386/fpu/e_powl.S: Likewise.
69870         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69871         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69872         * sysdeps/i386/fpu/e_logl.S: Likewise.
69873         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69874         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69875         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69876         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69877         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69878         * sysdeps/i386/fpu/e_log.S: Likewise.
69879         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69880         * sysdeps/i386/fpu/e_logf.S: Likewise.
69881         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69882         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69883         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69884         * sysdeps/i386/fpu/e_log10.S: Likewise.
69885         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69886         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69887         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69888         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69889         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69890         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
69891         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69892         * sysdeps/i386/i686/strtok.S: Likewise.
69893         * sysdeps/i386/i386-mcount.S: Likewise.
69894         * sysdeps/i386/strtok.S: Likewise.
69895         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
69896         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69897         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69898         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69899         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69900         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69901         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69902         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69903         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69904         * sysdeps/x86_64/_mcount.S: Likewise.
69905         * sysdeps/x86_64/strtok.S: Likewise.
69906         * sysdeps/sh/_mcount.S: Likewise.
69908 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69910         * libio/iofopen.c: Include <fcntl.h>.
69911         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
69912         (_IO_fopen64, fopen64): Define as aliases.
69913         * libio/iofopen64.c: Include <fcntl.h>.
69914         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
69915         Conditionalize body on this.
69916         * sysdeps/wordsize-64/iofopen.c: File removed.
69917         * sysdeps/wordsize-64/iofopen64.c: File removed.
69919 2012-08-01  Marek Polacek  <polacek@redhat.com>
69921         * libc/Makeconfig: Use elf in place of binfmt-subdir.
69922         Use dlfcn directly instead of a variable.
69923         (binfmt-subdir): Do not define.
69924         (dlfcn): Likewise.
69926 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
69928         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
69929         Remove all definitions.
69930         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
69931         <kernel-features.h>.
69932         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69933         (miss_F_GETOWN_EX): Remove all definitions.
69934         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
69935         macro definition.
69936         [!__ASSUME_FCNTL64]: Remove conditional code.
69937         [__ASSUME_FCNTL64]: Make code unconditional.
69938         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
69939         <kernel-features.h>.
69940         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69941         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
69942         (lockf64) [__NR_fcntl64]: Make code unconditional.
69943         (lockf64) [__ASSUME_FCNTL64]: Likewise.
69945         * sysdeps/unix/sysv/linux/kernel-features.h
69946         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
69947         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
69948         Make code unconditional.
69949         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69950         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
69952         [__NR_vfork]: Make code unconditional.
69953         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69954         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
69956         [__NR_vfork]: Make code unconditional.
69957         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69958         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69960 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69962         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
69963         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
69965         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69966         Define mkstemp64 as an alias.
69967         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69968         Define mkstemps64 as an alias.
69969         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69970         Define mkostemp64 as an alias.
69971         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69972         Define mkostemps64 as an alias.
69973         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
69974         Conditionalize body on this.
69975         * misc/mkostemp64.c: Likewise.
69976         * misc/mkostemps64.c: Likewise.
69977         * misc/mkstemps64.c: Likewise.
69978         * sysdeps/wordsize-64/mkstemp64.c: File removed.
69979         * sysdeps/wordsize-64/mkostemp64.c: File removed.
69980         * sysdeps/wordsize-64/mkostemp.c: File removed.
69981         * sysdeps/wordsize-64/mkstemp.c: File removed.
69982         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
69983         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
69984         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
69985         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
69987         [BZ #14138]
69988         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
69989         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
69990         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
69991         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
69993         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69994         compat_symbol macros from <shlib-compat.h> rather than the underlying
69995         default_symbol_version and symbol_version macros, so that DEFAULT
69996         lines in shlib-versions are respected.
69997         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
69999 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70001         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70002         Declare with warn_unused_result.
70003         (setgid, setregid, setegid, setresgid): Likewise.
70004         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70005         Likewise.
70006         * WUR-REPORT: Remove set*id functions.
70008 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70010         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70012 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70014         [BZ #10191]
70015         * include/sys/socket.h (__libc_accept, __libc_accept4):
70016         Add attribute_hidden.
70017         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70019         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70020         use of PTR_MANGLE.
70021         * inet/getnetgrent_r.c (setup): Likewise.
70023         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70025 2012-07-31  David S. Miller  <davem@davemloft.net>
70027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70029 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70031         [BZ #13629]
70032         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70033         value between 1.0 and 2.0 and smaller part has absolute value less
70034         than 1.0.
70035         * math/s_clog10.c (__clog10): Likewise.
70036         * math/s_clog10f.c (__clog10f): Likewise.
70037         * math/s_clog10l.c (__clog10l): Likewise.
70038         * math/s_clogf.c (__clogf): Likewise.
70039         * math/s_clogl.c (__clogl): Likewise.
70040         * math/libm-test.inc (clog_test): Add more tests.
70041         (clog10_test): Likewise.
70042         * sysdeps/i386/fpu/libm-test-ulps: Update.
70043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70045 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70047         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70048         Exit with zero in case no suitable GID is found, and write a
70049         message to standard error.
70051 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70053         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70054         rather than to 1.
70055         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70056         (MAXPATHLEN): Removed.
70057         (NOGROUP, NODEV): New macros.
70058         (setbit, clrbit, isset, isclr): New macros.
70059         (howmany, roundup, powerof2): New macros.
70060         (DEV_BSIZE): New macro.
70062         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70063         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70065         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70066         definition on [!__NO_LONG_DOUBLE_MATH].
70068         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70069         PTR_MANGLE and PTR_DEMANGLE.
70071         * socket/accept4.c (accept4): Rename to __libc_accept4.
70072         Define accept4 as a weak alias.
70074         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70075         on [_DIRENT_HAVE_D_TYPE].
70076         * io/ftw.c (ftw_dir): Likewise.
70078         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70080         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70082         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70083         Use the BSD numbers rather than the arbitrary ones we had.
70084         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70085         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70086         (SIGXCPU, SIGXFSZ): New macros.
70087         (_NSIG): Now 32.
70089         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70090         initializer on [_LIBC_REENTRANT].
70092         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70093         definitions inside [_POSIX_MAPPED_FILES].
70095         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70097         * dirent/opendir.c: Include <fcntl.h>.
70099         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70100         (__libc_getspecific): Likewise.
70101         (__libc_key_create): Likewise.
70103         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70104         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70105         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70106         (tmpfile64): Define as alias.
70107         * sysdeps/wordsize-64/tmpfile.c: File removed.
70108         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70109         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70110         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70112         * stdio-common/vfscanf.c: Include <stdbool.h>.
70113         * nss/makedb.c: Likewise.
70114         * stdio-common/_i18n_number.h: Likewise.
70115         * argp/argp-help.c: Likewise.
70116         * posix/wordexp.c: Likewise.
70117         * sysdeps/posix/spawni.c: Likewise.
70118         * nss/nss_files/files-initgroups.c: Likewise.
70119         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70120         * nss/nss_files/files-initgroups.c: Likewise.
70121         * nss/nss_db/db-netgrp.c: Likewise.
70122         * nss/nss_db/db-initgroups.c: Likewise.
70123         * io/fchmodat.c: Include <sys/stat.h>.
70125         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70126         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70128         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70129         [HAVE_MMAP].
70131         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70132         Add multiple inclusion protection.
70134 2012-07-27  David S. Miller  <davem@davemloft.net>
70136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70138 2012-07-27  Gary Benson  <gbenson@redhat.com>
70140         [BZ #14298]
70141         * elf/rtld.c: Include <stap-probe.h>.
70142         (dl_main): Added static probes "init_start" and "init_complete".
70143         * elf/dl-load.c: Include <stap-probe.h>.
70144         (lose): Take new parameter "nsid".
70145         Added static probe "map_failed".
70146         (_dl_map_object_from_fd): Pass namespace id to lose.
70147         Added static probe "map_start".
70148         (open_verify): Pass namespace id to lose.
70149         * elf/dl-open.c: Include <stap-probe.h>.
70150         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70151         and "reloc_complete".
70152         * elf/dl-close.c: Include <stap-probe.h>.
70153         (_dl_close_worker): Added static probes "unmap_start" and
70154         "unmap_complete".
70155         * elf/rtld-debugger-interface.txt: New file documenting the above.
70157 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70159         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70160         rather than a string variable.
70161         * sunrpc/rpc_main.c (h_output): Likewise.
70162         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70164 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70166         * inet/check_native.c: New file.
70168 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70170         [BZ #13629]
70171         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70172         if larger part has absolute value 1.0.
70173         * math/s_clog10.c (__clog10): Likewise.
70174         * math/s_clog10f.c (__clog10f): Likewise.
70175         * math/s_clog10l.c (__clog10l): Likewise.
70176         * math/s_clogf.c (__clogf): Likewise.
70177         * math/s_clogl.c (__clogl): Likewise.
70178         * math/libm-test.inc (clog_test): Add more tests.
70179         (clog10_test): Likewise.
70180         * sysdeps/i386/fpu/libm-test-ulps: Update.
70181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70183         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
70184         (pltexit): Likewise.
70185         (La_regs): Likewise.
70186         (La_retval): Likewise.
70187         (int_retval): Likewise.
70188         Update #error for removed macros to refer only to definitions in
70189         tst-audit.h.
70190         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
70191         macro.
70192         (pltexit): Likewise.
70193         (La_regs): Likewise.
70194         (La_retval): Likewise.
70195         (int_retval): Likewise.
70196         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
70197         macro.
70198         (pltexit): Likewise.
70199         (La_regs): Likewise.
70200         (La_retval): Likewise.
70201         (int_retval): Likewise.
70202         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
70203         macro.
70204         (pltexit): Likewise.
70205         (La_regs): Likewise.
70206         (La_retval): Likewise.
70207         (int_retval): Likewise.
70208         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
70209         macro.
70210         (pltexit): Likewise.
70211         (La_regs): Likewise.
70212         (La_retval): Likewise.
70213         (int_retval): Likewise.
70214         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
70215         macro.
70216         (pltexit): Likewise.
70217         (La_regs): Likewise.
70218         (La_retval): Likewise.
70219         (int_retval): Likewise.
70220         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
70221         macro.
70222         (pltexit): Likewise.
70223         (La_regs): Likewise.
70224         (La_retval): Likewise.
70225         (int_retval): Likewise.
70226         * sysdeps/generic/tst-audit.h: Update comment to refer only to
70227         macro definitions in tst-audit.h.
70228         * sysdeps/i386/tst-audit.h: New file.
70229         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
70230         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
70231         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
70232         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
70233         * sysdeps/sh/tst-audit.h: Likewise.
70234         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
70235         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
70236         * sysdeps/x86_64/tst-audit.h: Likewise.
70238 2012-07-26  Andreas Jaeger  <aj@suse.de>
70240         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
70241         ptrace.
70243         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
70244         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
70245         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
70246         PTRACE_O_MASK.
70247         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
70248         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
70249         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70251         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
70252         value.
70254         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
70255         _sigsys.
70256         (si_call_addr, si_syscall, si_arch): Define new macro.
70257         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
70258         _sigsys.
70259         (si_call_addr, si_syscall, si_arch): Define new marcro.
70260         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70261         _sigsys.
70262         (si_call_addr, si_syscall, si_arch): Define new macro.
70263         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70264         _sigsys.
70265         (si_call_addr, si_syscall, si_arch): Define new macro.
70267 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70269         [BZ #13717]
70270         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70271         Change to 2.4.21 where previously 2.4.1.
70272         * sysdeps/unix/sysv/linux/configure: Regenerated.
70273         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70274         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70275         Linux kernel version.
70276         (__ASSUME_STD_AUXV): Remove.
70277         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70278         kernel version.
70279         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70280         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70281         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70282         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70283         (__ASSUME_NETLINK_SUPPORT): Likewise.
70284         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70285         (__no_netlink_support): Remove conditional definition.
70286         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70287         Remove.
70288         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70289         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70290         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70291         (if_nameindex_ioctl): Remove.
70292         (if_nameindex_netlink): Do not handle __no_netlink_support.
70293         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70294         code.
70295         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70296         Remove conditional code.
70297         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70298         code.
70299         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70300         unconditional.
70301         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70302         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70303         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70304         Remove.
70305         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70306         [!__ASSUME_STD_AUXV]: Remove conditional code.
70307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70308         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70309         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70311         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70312         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70313         code.
70314         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70316         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70317         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70318         conditional code.
70319         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70321         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70322         code.
70323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70324         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70325         conditional code.
70326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70327         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70328         code unconditional.
70329         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70330         conditional code.
70331         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70332         unconditional.
70333         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70334         conditional code.
70335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70336         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70337         unconditional.
70338         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70339         conditional code.
70340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70341         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70342         code unconditional.
70343         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70344         conditional code.
70345         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70346         unconditional.
70347         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70348         conditional code.
70349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70350         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70351         code unconditional.
70352         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70353         conditional code.
70354         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70355         unconditional.
70356         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70357         conditional code.
70359 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70361         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70362         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70363         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70364         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70365         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70366         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70367         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70368         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70369         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70370         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70371         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70372         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70373         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70374         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70375         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70376         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70377         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70378         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70379         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70381         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70382         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70383         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70385 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70387         * Versions.def: Add GLIBC_2.17.
70388         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70389         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70390         Introduce __libc_secure_getenv.
70391         * stdlib/Versions (2.17): Add secure_getenv
70392         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70393         * stdlib/secure-getenv.c: Rename __secure_getenv to
70394         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70395         symbol __secure_getenv for GLIBC_2.0.
70396         * stdlib/tst-secure-getenv.c: New.
70397         * stdlib/Makefile (tests): Add testcase.
70398         * manual/startup.texi (Environment Access): Document
70399         secure_getenv.
70400         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70401         __libc_secure_getenv.
70402         * inet/ruserpass.c (ruserpass): Likewise.
70403         * malloc/mtrace.c (mtrace): Likewise.
70404         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70405         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70406         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70407         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70408         HAVE_SECURE_GETENV.
70409         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70410         __secure_getenv to __libc_secure_getenv.
70411         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70413         Likewise.
70414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70415         Likewise.
70416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70418         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70424 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70426         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70427         (struct La_i86_retval): Likewise.
70428         (struct La_x86_64_regs): Likewise.
70429         (struct La_x86_64_retval): Likewise.
70430         (struct La_x32_regs): Likewise.
70431         (struct La_x32_retval): Likewise.
70432         (struct La_ppc32_regs): Likewise.
70433         (struct La_ppc32_retval): Likewise.
70434         (struct La_ppc64_regs): Likewise.
70435         (struct La_ppc64_retval): Likewise.
70436         (struct La_sh_regs): Likewise.
70437         (struct La_sh_retval): Likewise.
70438         (struct La_s390_32_regs): Likewise.
70439         (struct La_s390_32_retval): Likewise.
70440         (struct La_s390_64_regs): Likewise.
70441         (struct La_s390_64_retval): Likewise.
70442         (struct La_sparc32_regs): Likewise.
70443         (struct La_sparc32_retval): Likewise.
70444         (struct La_sparc64_regs): Likewise.
70445         (struct La_sparc64_retval): Likewise.
70446         (struct audit_ifaces): Remove architecture-specific pltenter and
70447         pltexit members.
70448         * sysdeps/i386/ldsodefs.h: New file.
70449         * sysdeps/powerpc/ldsodefs.h: Likewise.
70450         * sysdeps/s390/ldsodefs.h: Likewise.
70451         * sysdeps/sh/ldsodefs.h: Likewise.
70452         * sysdeps/sparc/ldsodefs.h: Likewise.
70453         * sysdeps/x86_64/ldsodefs.h: Likewise.
70455 2012-07-25  Marek Polacek  <polacek@redhat.com>
70457         [BZ #6808]
70458         * math/libm-test.inc (yn_test): Add another test.
70459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70460         to ERANGE when the result is +-Inf.
70461         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70462         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70463         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70464         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70466 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70468         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70469         equal to 0.
70470         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70471         clock_t.
70472         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70474 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70476         * configure.in <sysdeps resolving>: Correct printing
70477         Implies_before.
70478         * configure: Regenerate.
70480 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70482         * math/w_ilogb.c: Include <limits.h>.
70483         * math/w_ilogbl.c: Likewise.
70485 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70487         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70488         va_copy.  Document allowing for unavailable va_copy only as
70489         pre-C99 compatibility.
70490         * manual/string.texi (Copying and Concatenation): Use va_copy
70491         instead of __va_copy in concat example.
70493 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70495         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70496         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70497         it if not null.
70499         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70500         with O_NOLINK passed to __file_name_lookup.
70502         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70503         with O_NOLINK passed to __file_name_lookup.
70505         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70506         negative N or less than NGIDS.
70508         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70509         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70510         enough.  Use memcpy instead of strncpy.
70512 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70514         * elf/Makefile (check-data): Remove.
70515         (localplt.data): New vpath directive.
70516         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70517         instead of $(check-data).
70518         * scripts/data/localplt-generic.data: Move to ...
70519         * sysdeps/generic/localplt.data: ... here.
70520         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70521         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70522         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70524         ... here.
70525         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70527         ... here.
70528         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70530         ... here.
70531         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70533         ... here.
70534         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70536         ... here.
70537         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70539         ... here.
70541 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70543         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70544         PPC32 and PPC64 files.
70545         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70546         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70548 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70550         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70551         __makecontext_ret to ...
70552         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70553         ... here and call exit if uc_link is NULL.  New file.
70554         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70555         __makecontext_ret.S.
70556         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70557         __makecontext_ret to ...
70558         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70559         ... here and call exit if uc_link is NULL.  New file.
70560         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70561         __makecontext_ret.S.
70563 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70565         * elf/elf.h (R_390_IRELATIVE): New definition.
70566         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70567         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70568         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70569         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70570         (elf_machine_lazy_rel): Likewise.
70571         * sysdeps/s390/dl-irel.h: New file.
70572         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70573         * sysdeps/s390/s390-64/memset.S: New asm code.
70574         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70575         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70576         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70577         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70578         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70579         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70580         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70581         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70582         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70583         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70584         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70585         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70586         * sysdeps/s390/s390-32/memset.S: New asm code.
70587         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70589 2012-07-17  Marek Polacek  <polacek@redhat.com>
70591         [BZ #14349]
70592         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70593         * sysdeps/s390/s390-64/configure.in: Likewise.
70594         * sysdeps/sparc/configure.in: Likewise.
70595         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70596         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70597         * sysdeps/i386/configure.in: Likewise.
70598         * sysdeps/x86_64/configure.in: Likewise.
70599         * sysdeps/sh/configure.in: Likewise.
70600         * sysdeps/s390/s390-32/configure: Regenerated.
70601         * sysdeps/s390/s390-64/configure: Likewise.
70602         * sysdeps/x86_64/configure: Likewise.
70603         * sysdeps/sh/configure: Likewise.
70604         * sysdeps/powerpc/powerpc64/configure: Likewise.
70605         * sysdeps/powerpc/powerpc32/configure: Likewise.
70606         * sysdeps/sparc/configure: Likewise.
70607         * sysdeps/i386/configure: Likewise.
70609         * elf/dl-open.c: Comment fixes.
70611 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70613         * Makefile [CXX] (check-data): Remove.
70614         [CXX] (c++-types.data): New vpath directive.
70615         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70616         vpath.  Do not allow for C++ type data being missing.
70617         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70618         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70619         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70620         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70621         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70622         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70623         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70625         ... here.
70626         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70628         ... here.
70629         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70631         ... here.
70632         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70634         ... here.
70635         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70637         ... here.
70638         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70640         ... here.
70641         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70643         ... here.
70644         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70647         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70648         definitions to architecture-specific files.
70649         (TLS_IE): Likewise.
70650         (TLS_LD): Likewise.
70651         (TLS_GD): Likewise.
70652         * sysdeps/i386/tls-macros.h: New file.
70653         * sysdeps/powerpc/tls-macros.h: Likewise.
70654         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70655         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70656         * sysdeps/sh/tls-macros.h: Likewise.
70657         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70658         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70659         * sysdeps/x86_64/tls-macros.h: Likewise.
70661 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70663         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70664         zero value for regular exit case.
70666         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70667         (__start_context): Preserve zero value for regular exit case.
70669 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70670             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70672         * manual/setjmp.texi (setcontext): Clarify normal process
70673         termination when uc_link is the null pointer.
70674         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70675         exit call.
70677 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70679         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70680         preprocessor.  Test for each exception mask separately.
70682 2012-07-16  Andreas Jaeger  <aj@suse.de>
70684         * po/ru.po: Update from translation team.
70686 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70688         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70689         equal to 0.
70690         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70691         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70692         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70693         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70694         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70696 2012-07-13  Andreas Jaeger  <aj@suse.de>
70698         * po/fr.po: Update from translation team.
70700 2012-07-12  Marek Polacek  <polacek@redhat.com>
70702         [BZ #14173]
70703         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70704         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70705         loop condition.
70707 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70709         [BZ #13717]
70710         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70711         Change to 2.4.1 where previously 2.4.0.
70712         * sysdeps/unix/sysv/linux/configure: Regenerated.
70713         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70714         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70715         version.
70716         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70717         (__ASSUME_AT_CLKTCK): Remove.
70718         (__ASSUME_AT_PAGESIZE): Likewise.
70719         (__ASSUME_AT_XID): Likewise.
70720         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70721         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70722         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70723         unconditionally.
70724         (HAVE_AUX_PAGESIZE): Likewise.
70725         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70726         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70727         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70729 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70731         [BZ #14307]
70732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70733         the temporary buffer used to invoke __gethostbyname2_r,
70734         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70735         host_data / struct gaih_addrtuple.
70736         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70737         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70738         header file nss/nsswitch.h.
70739         * nss/nsswitch.h (global scope): Add definition of implementation
70740         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70741         resolv/nss_dns/dns-host.c).
70743 2012-07-11  Andreas Jaeger  <aj@suse.de>
70745         * po/fr.po: Update from translation team.
70747         * po/sv.po: Update from translation team
70748         * po/fr.po: Another update from translation team.
70750 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70752         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70753         for subnormals or multiply small sinh result by itself.
70754         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70757 2012-07-11  David S. Miller  <davem@davemloft.net>
70759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70761 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70763         [BZ #14347]
70764         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70765         (INTERNAL_MARK): Shift it here.
70767 2012-07-10  Marek Polacek  <polacek@redhat.com>
70769         [BZ #14151]
70770         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70771         libc_cv_asm_global_directive with .globl.
70772         * configure: Regenerated.
70773         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70774         with .globl.
70775         * sysdeps/i386/configure: Regenerated.
70776         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70777         with .globl.
70778         * sysdeps/x86_64/configure: Regenerated.
70779         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70780         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70781         * elf/tst-unique2mod2.c: Likewise.
70782         * elf/tst-unique2mod1.c: Likewise.
70783         * elf/tst-unique1mod2.c: Likewise.
70784         * elf/tst-unique1mod1.c: Likewise.
70785         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70786         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70787         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70788         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70789         * sysdeps/mach/sysdep.h: Likewise.
70790         * sysdeps/i386/sysdep.h: Likewise.
70791         * sysdeps/i386/i386-mcount.S: Likewise.
70792         * sysdeps/x86_64/_mcount.S: Likewise.
70793         * sysdeps/x86_64/sysdep.h: Likewise.
70794         * sysdeps/sh/_mcount.S: Likewise.
70795         * sysdeps/sh/sysdep.h: Likewise.
70796         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70797         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70798         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70799         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70800         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70801         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70802         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70803         * locale/localeinfo.h: Likewise.
70804         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70805         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70807 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70809         [BZ #14336]
70810         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70811         system".
70812         * manual/message.texi (The Uniforum approach): Likewise.
70813         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70814         (glibc iconv Implementation): Likewise.
70816 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70818         [BZ #14337]
70819         * math/s_clog.c (__clog): Avoid scaling a value down where that
70820         could result in underflow.
70821         * math/s_clog10.c (__clog10): Likewise.
70822         * math/s_clog10f.c (__clog10f): Likewise.
70823         * math/s_clog10l.c (__clog10l): Likewise.
70824         * math/s_clogf.c (__clogf): Likewise.
70825         * math/s_clogl.c (__clogl): Likewise.
70826         * math/libm-test.inc (clog_test): Add more tests.
70827         (clog10_test): Likewise.
70828         * sysdeps/i386/fpu/libm-test-ulps: Update.
70829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70831 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70833         [BZ #14283]
70834         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70835         by 7 not 8 to examine high bit of fractional part.
70837         [BZ #14042]
70838         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70839         for call to __mcount_internal.
70840         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70841         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70842         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70844 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70846         [BZ #14154]
70847         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70848         approximation for values within 0x1p-13f of an odd multiple of
70849         pi/4.
70850         * math/libm-test.inc (tan_test): Do not allow spurious underflow
70851         exception.  Add more tests.
70852         * sysdeps/i386/fpu/libm-test-ulps: Update.
70854         [BZ #6778]
70855         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70856         inputs and return -1 for them.  Do not check for +Inf in case not
70857         reachable for +Inf.
70858         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70859         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70860         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70861         and return -1 for them.  Do not check for +Inf in case not
70862         reachable for +Inf.
70863         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70864         define.
70865         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70866         and return -1 for them.  Do not check for +Inf in case not
70867         reachable for +Inf.
70868         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
70869         spurious underflow.
70870         * sysdeps/i386/fpu/libm-test-ulps: Update.
70871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70873 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
70875         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70877 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
70879         [BZ #14157]
70880         [BZ #14331]
70881         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
70882         could result in spurious underflow.  Scale down values above
70883         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
70884         * math/s_csqrtf.c (__csqrtf): Likewise.
70885         * math/s_csqrtl.c (__csqrtl): Likewise.
70886         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
70887         spurious underflow.
70888         * sysdeps/i386/fpu/libm-test-ulps: Update.
70889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70891 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
70893         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
70894         xopen-msg.sed.
70895         * catgets/xopen-msg.awk: New file.
70896         * catgets/xopen-msg.sed: Removed.
70898         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
70899         po2text.sed.
70900         * intl/po2test.awk: New file.
70901         * intl/po2test.sed: Removed.
70903 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
70905         [BZ #14328]
70906         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
70907         or multiply small sinh result by itself.
70908         * math/s_ctanf.c (__ctanf): Likewise.
70909         * math/s_ctanh.c (__ctanh): Likewise.
70910         * math/s_ctanhf.c (__ctanhf): Likewise.
70911         * math/s_ctanhl.c (__ctanhl): Likewise.
70912         * math/s_ctanl.c (__ctanl): Likewise.
70913         * math/libm-test.inc (ctan_test_tonearest): New function.
70914         (ctan_test_towardzero): Likewise.
70915         (ctan_test_downward): Likewise.
70916         (ctan_test_upward): Likewise.
70917         (ctanh_test_tonearest): Likewise.
70918         (ctanh_test_towardzero): Likewise.
70919         (ctanh_test_downward): Likewise.
70920         (ctanh_test_upward): Likewise.
70921         (main): Call these new functions.
70922         * sysdeps/i386/fpu/libm-test-ulps: Update.
70923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70925 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
70927         * .gitignore: Delete /ports entry.
70929 2012-07-03  Andreas Jaeger  <aj@suse.de>
70931         * po/bg.po: Update from translation team.
70932         * po/cs.po: Likewise.
70933         * po/de.po: Likewise.
70934         * po/hr.po: Likewise.
70935         * po/nl.pl: Likewise.
70936         * po/pl.po: Likewise.
70937         * po/vi.po: Likewise.
70939 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
70941         * Makeconfig [!+link] (+link-before-libc): New variable.
70942         [!+link] (+link-after-libc): Likewise.
70943         [!+link] (+link-tests): Likewise.
70944         [!+link] (+link): Define in terms of $(+link-before-libc) and
70945         $(+link-after-libc).
70946         [!+link-static] (+link-static-before-libc): New variable.
70947         [!+link-static] (+link-static-after-libc): Likewise.
70948         [!+link-static] (+link-static-tests): Likewise.
70949         [!+link-static] (+link-static): Define in terms of
70950         $(+link-static-before-libc) and $(+link-static-after-libc).
70951         [build-shared] (link-libc-before-gnulib): New variable.
70952         [build-shared] (link-libc-tests): Likewise.
70953         [build-shared] (link-libc): Define in terms of
70954         $(link-libc-before-gnulib).
70955         [!build-shared] (link-libc-tests): New variable.
70956         (link-libc-static-tests): New variable.
70957         [!gnulib] (gnulib-arch): New variable.
70958         [!gnulib] (gnulib-tests): Likewise.
70959         [!gnulib] (static-gnulib-arch): Likewise.
70960         [!gnulib] (static-gnulib-tests): Likewise.
70961         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
70962         Define with "=" instead of ":=".
70963         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
70964         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
70965         * Rules (binaries-all-notests): New variable.
70966         (binaries-all-tests): Likewise.
70967         (binaries-static-notests): Likewise.
70968         (binaries-static-tests): Likewise.
70969         (binaries-all): Define using $(binaries-all-notests) and
70970         $(binaries-all-tests).
70971         (binaries-static): Define using $(binaries-static-notests) and
70972         $(binaries-static-tests).
70973         (binaries-shared-tests): New variable.
70974         (binaries-shared-notests): Likewise.
70975         (binaries-shared): Remove variable.
70976         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
70977         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
70978         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
70979         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
70980         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
70981         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
70982         * elf/Makefile (sln-modules): New variable.
70983         (extra-objs): Add $(sln-modules:=.o).
70984         (ldconfig-modules): Add static-stubs.
70985         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
70986         * elf/static-stubs.c: New file.
70988         [BZ #14283]
70989         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
70990         by 7 not 8 to examine high bit of fractional part.  Use volatile
70991         variables when splitting into final array of floats if
70992         __FLT_EVAL_METHOD__ != 0.
70993         * math/libm-test.inc (cos_test): Add another test.
70994         (sin_test): Likewise.
70995         * sysdeps/i386/fpu/libm-test-ulps: Update.
70997         [BZ #14273]
70998         * math/libm-test.inc (cosh_test): Add more tests.
71000         * version.h (RELEASE): Set to "development".
71001         (VERSION): Set to "2.16.90".
71003 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71005         * NEWS: Update copyright. Remove last-updated date.
71006         Mention math library bug fixes and timezone data changes.
71007         * README: Mention GNU/Hurd, x32, and HPPA support status.
71009 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71011         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71013 2012-06-27  Andreas Jaeger  <aj@suse.de>
71015         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71017 2012-06-25  Andreas Jaeger  <aj@suse.de>
71019         * sysdeps/s390/fpu/libm-test-ulps: Update.
71021 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71022             Thomas Schwinge  <thomas@codesourcery.com>
71024         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71025         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71026         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71027         fanotify_mark.
71029 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71031         * sysdeps/mach/start.c: Remove file.
71032         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71033         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71034         * sysdeps/sh/init-first.c: Likewise.
71036         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71037         registers for frame unwinding purposes, add CFI directives.
71038         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71039         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71040         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71041         Likewise.
71043         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71044         __fortify_fail returning.
71045         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71047         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71048         sysdeps/sh/____longjmp_chk.S.
71049         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71050         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71051         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71052         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71054         * sysdeps/sh/abort-instr.h: New file.
71055         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71056         process in case exit returns.
71058         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71059         initialize the GOT register before use.
71061         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71062         calculation of ARGC > 4.
71064         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71065         meaningful names to some local labels.
71067 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71068             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71070         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71071         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71072         (__arch_compare_and_exchange_val_16_acq): Likewise.
71073         (__arch_compare_and_exchange_val_32_acq): Likewise.
71074         (atomic_exchange_and_add): Fix gUSA sequence.
71075         (atomic_add): Likewise.
71076         (atomic_add_negative): Likewise.
71077         (atomic_add_zero): Likewise.
71078         (atomic_bit_test_set): Likewise.
71080 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71082         [BZ #13579]
71083         * include/link.h (struct link_map): Add l_free_initfini.
71084         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71085         l_initfini.
71086         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71087         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71088         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71089         set.
71091 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71093         * configure.in: Use AC_LANG_SOURCE.
71094         * configure: Regenerate.
71096 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71098         * configure.in (libc_cv_localstatedir): New substituted variable.
71099         * configure: Regenerated.
71100         * config.make.in (localstatedir): New variable, substituted from
71101         libc_cv_localstatedir.
71102         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71103         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71104         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71105         * sysdeps/gnu/configure: Regenerated.
71107 2012-06-21  Jeff Law  <law@redhat.com>
71109         [BZ #14277]
71110         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71111         free.  Simplify list management for _LIBC case.
71113 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71115         [BZ #14273]
71116         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71117         Clear sign bit of 64-bit integer value before comparing against
71118         overflow value.
71120         * sysdeps/mach/configure: Regenerated.
71122 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71124         [BZ #14278]
71125         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71127 2012-06-21  Jeff Law  <law@redhat.com>
71129         [BZ #13882]
71130         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71131         uint16_t for elements in the "seen" array to avoid char overflows.
71132         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71133         * elf/dl-open.c (dl_open_worker): Likewise.
71135 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71137         * scripts/list-sources.sh: Scan PORTS for translations.
71138         * po/libc.pot: Regenerated.
71140 2012-06-21  Andreas Jaeger  <aj@suse.de>
71142         [BZ #12194]
71143         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71144         warning.
71145         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71146         * bits/byteswap-16.h (__bswap_16): Likewise.
71147         * bits/byteswap.h (__bswap_constant_16): Likewise.
71149 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71151         [BZ #14117]
71152         * sysdeps/i386/fpu_control.h: Removed.
71153         * sysdeps/x86_64/fpu_control.h: Moved to ...
71154         * sysdeps/x86/fpu_control.h: Here.
71156         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71157         (_FPU_SETCW): Likewise.
71159 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71161         [BZ #14117]
71162         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71163         * sysdeps/x86/fpu/bits/mathinline.h: This.
71164         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71166         [BZ #14050]
71167         [BZ #14117]
71168         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71169         functions if __x86_64__ is defined.
71171 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71173         * string/endian.h: Add !__ASSEMBLER__ condition for including
71174         conversion interfaces.
71176 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71178         [BZ #14241]
71179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71180         of ABS(x) in calculating zero to negative powers other than odd
71181         integers.
71182         * math/libm-test.inc (pow_test): Add more tests.
71184 2012-06-15  Andreas Jaeger  <aj@suse.de>
71186         * manual/contrib.texi (Contributors): Update entry of Liubov
71187         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
71188         Machado Filho.
71190 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
71192         * string/string.h: Add __wur to GNU version of strerror_r.
71194 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
71196         [BZ #14229]
71197         * string/Makefile (tests): Add tst-strtok_r.
71198         * string/tst-strtok_r.c: New file.
71199         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
71200         RAX_LP/RDX_LP on SAVE_PTR.
71202 2012-06-14  Roland McGrath  <roland@hack.frob.com>
71204         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
71206 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
71208         * libm_test.inc (csqrt_test): Allow more spurious underflow
71209         exceptions.
71210         (j0_test): Likewise.
71211         (j1_test): Likewise.
71212         (y0_test): Likewise.
71213         (y1_test): Likewise.
71215 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
71217         * po/Makefile (libc.pot): Use UTF-8 charset.
71219 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
71221         [BZ #14210]
71222         Suppress sign-conversion warning from FD_SET.
71223         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
71224         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
71225         not unsigned long int.
71226         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
71228 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
71230         [BZ #14050]
71231         [BZ #14117]
71232         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
71233         __extern_always_inline instead of __extern_inline.
71234         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
71235         (__signbit): Likewise.
71236         (__signbitl): Support C++ namespace.
71237         (lrintf): New inline function.
71238         (lrint): Likewise.
71239         (llrintf): Likewise.
71240         (llrint): Likewise.
71241         (fmaxf): Likewise.
71242         (fmax): Likewise.
71243         (fminf): Likewise.
71244         (fmin): Likewise.
71245         (rint): Likewise.
71246         (rintf): Likewise.
71247         (ceil): Likewise.
71248         (ceilf): Likewise.
71249         (floor): Likewise.
71250         (floorf): Likewise.
71251         (nearbyint): Likewise.
71252         (nearbyintf): Likewise.
71254 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
71256         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
71257         non-default versions.
71259 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71261         [BZ #14218]
71262         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71264 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71266         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71267         (FE_UPWARD, FE_DOWNWARD): Don't define.
71268         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71269         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71271         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71272         reading it.
71273         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71274         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71276 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71278         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71279         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71280         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71281         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71283 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71285         [BZ #14117]
71286         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71287         * sysdeps/i386/fpu/Implies: New file.
71288         * sysdeps/x86_64/fpu/Implies: Likewise.
71289         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71290         * sysdeps/x86/fpu/bits/fenv.h: This.
71292         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71293         __SSE_MATH__.
71295 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71297         [BZ #14134]
71298         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71299         character 0xffff that matches the last element of the
71300         conversion table.
71302 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71304         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71305         fmodl commit.
71307 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71309         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71310         values higher than 25.6283.
71312 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71314         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71315         subnormal exponent extraction and add some __builtin_expect.
71316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71317         Fix for subnormal mantissa calculation.
71319 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71321         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71322         cpu2 is -1 and errno is not ENOSYS.
71324 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71326         [BZ #14117]
71327         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71328         * sysdeps/x86/bits/string.h: This.
71329         * sysdeps/x86_64/bits/string.h: Removed.
71331         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71332         if not compiling for x86-64, but compiling for >= i486.
71334         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71335         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71337         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71338         New macro from Linux kernel 3.4.0.
71339         (FP_XSTATE_MAGIC2): Likewise.
71340         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71341         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71342         (struct _fpx_sw_bytes): New struct.
71343         (struct _xsave_hdr): Likewise.
71344         (struct _ymmh_state): Likewise.
71345         (struct _xstate): Likewise.
71347         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71348         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71349         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71350         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71351         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71352         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71354         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71355         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71356         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71357         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71358         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71359         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71361 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71363         [BZ #13743]
71364         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71365         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71366         (sysdep_headers): Include sys/platform/ppc.h.
71367         * sysdeps/powerpc/test-gettimebase.c: Test for
71368         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71369         * manual/Makefile (appendices): Include platform.texi.
71370         * manual/contrib.texi (Contributors): Update @node pointers.
71371         * manual/maint.texi (Maintenance): Likewise.
71372         (Platform): New node.
71373         * manual/platform.texi: New file.  Document the new features.
71375 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71376             Jakub Jelinek  <jakub@redhat.com>
71378         [BZ #14188]
71379         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71380         where __builtin_expect is unavailable.
71382 2012-06-03  David S. Miller  <davem@davemloft.net>
71384         * stdlib/longlong.h: Updated from GCC.
71386 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71388         [BZ #14042]
71389         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71390         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71391         __mcount_internal.
71392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71393         (GLIBC_2.16): Likewise.
71395 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71397         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71399 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71402         (default-abi): New variable.
71403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71404         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71405         variable.
71406         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71407         Likewise.
71408         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71409         Likewise.
71410         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71411         Likewise.
71413         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71414         definition.  Document in comment.
71416 2012-06-01  David S. Miller  <davem@davemloft.net>
71418         * stdlib/longlong.h: Updated from GCC.
71420 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71422         [BZ #14117]
71423         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71424         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71425         sys/debugreg.h sys/io.h here.
71426         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71427         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71428         sys/io.h.
71429         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71430         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71431         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71432         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71433         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71434         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71436         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71437         Define only if __x86_64__ is defined.
71439 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71441         [BZ #14048]
71442         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71443         Use int64_t for variable i.
71444         * math/libm-test.inc (fmod_test): Add more tests.
71446         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71447         z computation is not scheduled after fetestexcept.
71448         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71449         Use math_force_eval instead of asm to ensure calculation scheduled
71450         before exception test.
71451         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71452         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71454 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71457         computation is not scheduled after fetestexcept.
71459 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71461         [BZ #14117]
71462         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71463         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71465 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71467         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71468         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71470 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71472         [BZ #14117]
71473         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71474         <bits/wordsize.h>.
71475         (__WCHAR_MIN): Support __WORDSIZE == 64.
71476         (__WCHAR_MAX): Likewise.
71478         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71479         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71481         [BZ #14183]
71482         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71483         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71485         [BZ #14117]
71486         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71487         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71489         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71490         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71492         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71493         Defined to 1 if __x86_64__ isn't defined.
71494         (_STAT_VER_LINUX_OLD): New.
71495         (st_atime): Remove duplicate.
71496         (st_mtime): Likewise.
71497         (st_ctime): Likewise.
71499 2012-05-31  David S. Miller  <davem@davemloft.net>
71501         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71502         entries.
71504 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71506         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71507         gen-libm-test.pl.
71509         [BZ #14132]
71510         * elf/dl-reloc.c: Include <_itoa.h>.
71511         (_dl_reloc_bad_type): Remove use of INTUSE.
71512         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71513         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71514         * stdio-common/psiginfo.c (psiginfo): Likewise.
71515         * stdio-common/psignal.c (psignal): Likewise.
71516         * string/strsignal.c (strsignal): Likewise.
71517         * include/signal.h (_sys_siglist): Declare hidden proto.
71518         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71519         INTVARDEF with libc_hidden_data_def.
71520         * stdio-common/itoa-udigits.c: Likewise.
71521         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71522         (_itoa_lower_digits_internal): Remove declaration.
71523         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71524         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71525         (_sys_sigabbrev_internal): Remove aliases.
71526         (_sys_siglist): Define hidden alias.
71528 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71531         bits/sysctl.h.
71533 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71535         [BZ #14117]
71536         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71537         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71539         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71540         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71541         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71542         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71543         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71544         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71546         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71547         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71548         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71550         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71551         with __addr.
71552         (insw): Likewise.
71553         (insl): Likewise.
71554         (outsb): Likewise.
71555         (outsw): Likewise.
71556         (outsl): Likewise.
71558         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71559         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71560         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71562         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71563         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71564         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71565         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71566         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71567         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71569         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71570         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71572         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71573         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71575         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71576         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71577         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71579         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71580         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71581         to ...
71582         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71584         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71585         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71586         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71588         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71589         for x86-64.
71590         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71592 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71594         * math/math.h (M_El): Use two more decimal places.
71595         (M_LOG2El): Likewise.
71596         (M_LOG10El): Likewise.
71597         (M_LN2l): Likewise.
71598         (M_LN10l): Likewise.
71599         (M_PIl): Likewise.
71600         (M_PI_2l): Likewise.
71601         (M_PI_4l): Likewise.
71602         (M_1_PIl): Likewise.
71603         (M_2_PIl): Likewise.
71604         (M_2_SQRTPIl): Likewise.
71605         (M_SQRT2l): Likewise.
71606         (M_SQRT1_2l): Likewise.
71608 2012-05-31  David S. Miller  <davem@davemloft.net>
71610         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71611         values between float registers.
71612         * sysdeps/sparc/sparc64/memset.S: Likewise.
71613         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71615 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71617         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71618         -D_FORTIFY_SOURCE=1.
71619         (CPPFLAGS-tst-longjmp_chk.c): Define.
71620         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71621         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71622         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71623         CFLAGS-tst-wchar-h.c.
71625 2012-05-31  Marek Polacek  <polacek@redhat.com>
71627         [BZ #14132]
71628         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71629         __endmntent_internal): Remove declaration.
71630         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71631         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71632         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71634 2012-05-30  David S. Miller  <davem@davemloft.net>
71636         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71637         (___Q_simulate_exceptions): Use real FP ops rather than writing
71638         into the %fsr.
71639         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71640         Likewise.
71642 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71644         [BZ #14117]
71645         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71646         * sysdeps/x86/bits/xtitypes.h: This.
71648         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71649         * sysdeps/x86/bits/wordsize.h: This.
71651         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71652         * sysdeps/x86/bits/huge_vall.h: This.
71654         * sysdeps/i386/bits/select.h: Removed.
71655         * sysdeps/x86_64/bits/select.h: Renamed to ...
71656         * sysdeps/x86/bits/select.h: This.
71658         * sysdeps/i386/bits/setjmp.h: Removed.
71659         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71660         * sysdeps/x86/bits/setjmp.h: This.
71662         * sysdeps/i386/bits/mathdef.h: Removed.
71663         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71664         * sysdeps/x86/bits/mathdef.h: This.
71666 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71668         [BZ #14132]
71669         * include/sys/socket.h (__connect_internal)
71670         (__libc_sa_len_internal): Remove declaration.
71671         (__connect, __libc_sa_len): Declare hidden_proto.
71672         (SA_LEN): Remove use of INTUSE.
71673         * socket/connect.c: Add libc_hidden_def.
71674         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71675         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71676         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71677         alias.
71678         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71679         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71680         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71681         of adding _internal alias.
71683 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71685         [BZ #14117]
71686         * sysdeps/i386/bits/link.h: Removed.
71687         * sysdeps/i386/bits/linkmap.h: Likewise.
71688         * sysdeps/x86_64/bits/link.h: Renamed to ...
71689         * sysdeps/x86/bits/link.h: This.
71690         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71691         * sysdeps/x86/bits/linkmap.h: This.
71693         * sysdeps/i386/bits/endian.h: Removed.
71694         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71695         * sysdeps/x86/bits/endian.h: This.
71697         * sysdeps/i386/bits/byteswap.h: Removed.
71698         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71699         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71700         * sysdeps/x86/bits/byteswap.h: This.
71701         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71702         * sysdeps/x86/bits/byteswap-16.h: This.
71703         * sysdeps/i386/Implies: Add x86.
71704         * sysdeps/x86_64/Implies: Likewise.
71706 2012-05-30  David S. Miller  <davem@davemloft.net>
71708         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71709         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71710         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71711         (FP_TRAPPING_EXCEPTIONS): Define.
71712         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71713         (FP_TRAPPING_EXCEPTIONS): Define.
71714         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71715         subnormals only when inexact has been signalled or underflow
71716         exceptions are enabled.
71717         (_FP_PACK_CANONICAL): Likewise.
71719 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71721         [BZ #14183]
71722         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71723         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71725 2012-05-30  Richard Henderson  <rth@twiddle.net>
71727         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71728         with #ifndef NOT_IN_libc.
71730         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71731         marked to avoid plt entry.
71733 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71735         [BZ #14112]
71736         * Makeconfig (default-abi): New macro.
71737         (abi-includes): Likewise.
71738         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71739         $(abi-$(default-abi)-lib-soname) for soname if defined.
71740         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71741         abi-variants.
71742         * Makefile (installed-stubs): Likewise.
71743         * include/stubs-biarch.h: Removed.
71744         * scripts/lib-names.awk: Only handle one library at a time.
71745         * scripts/soversions.awk: Remove WORDSIZE support.
71746         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71747         entries.
71748         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71749         Removed.
71750         (syscall-list-default-condition): Likewise.
71751         (syscall-list-default-condition): Likewise.
71752         (syscall-list-includes): Likewise.
71753         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71754         syscall-list-* with abi-*.  Handle undefined abi-variants.
71755         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71756         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71757         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71758         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71759         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71760         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71761         Removed.
71762         (syscall-list-32-options): Likewise.
71763         (syscall-list-32-condition): Likewise.
71764         (syscall-list-64-options): Likewise.
71765         (syscall-list-64-condition): Likewise.
71766         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71767         macro.
71768         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71769         Renamed to ...
71770         (abi-*): This.
71771         (abi-64-ld-soname): New macro.
71772         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71773         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71774         Renamed to ...
71775         (abi-*): This.
71776         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71777         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71779 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71781         * sysdeps/unix/sysv/linux/kernel-features.h
71782         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71783         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71784         include <kernel-features.h>.
71785         [!__NR_ftruncate64]: Remove conditional code.
71786         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71787         [__NR_ftruncate64]: Make code unconditional.
71788         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71789         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71790         include <kernel-features.h>.
71791         [!__NR_ftruncate64]: Remove conditional code.
71792         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71793         [__NR_ftruncate64]: Make code unconditional.
71794         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71796         include <kernel-features.h>.
71797         [!__NR_ftruncate64]: Remove conditional code.
71798         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71799         [__NR_ftruncate64]: Make code unconditional.
71800         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71802         include <kernel-features.h>.
71803         [!__NR_ftruncate64]: Remove conditional code.
71804         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71805         [__NR_ftruncate64]: Make code unconditional.
71806         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71808         * configure.in (libc_cv_fpie): Weaken to a compile test using
71809         LIBC_TRY_CC_OPTION.
71810         * configure: Regenerated.
71812 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71818         Refreshed.
71819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71825         Refreshed.
71827 2012-05-27  David S. Miller  <davem@davemloft.net>
71829         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71830         (___Q_zero): New.
71831         (__Q_simulate_exceptions): Return void.  Change to simulate
71832         exceptions by writing into the %fsr.
71833         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71834         (__Qp_handle_exceptions): Likewise.
71835         (numbers): Delete.
71836         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71837         __Qp_handle_exceptions.
71838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71839         __Qp_handle_exceptions.
71840         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71841         as unused and give dummy FP_RND_NEAREST initializer.
71842         (FP_INHIBIT_RESULTS): Define.
71843         (___Q_simulate_exceptions): Update declaration.
71844         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71845         formatting.
71846         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71847         as unused and give dummy FP_RND_NEAREST initializer.
71848         (__Qp_handle_exceptions): Update declaration.
71849         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71850         formatting.
71852 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
71854         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71855         the temporary FPU control word.
71856         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71857         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71858         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71859         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71860         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71861         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71862         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71863         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71864         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71865         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71866         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71868 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71870         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71871         fields.
71873 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
71875         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
71876         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
71877         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
71878         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
71879         Likewise.
71880         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
71881         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71882         Likewise.
71884 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
71886         * po/h.po: Update from translation team.
71888 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
71890         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
71892         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
71893         handling of denormals.
71894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71895         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
71896         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71897         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71898         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
71900         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
71901         Likewise.
71903 2012-05-26  Marek Polacek  <polacek@redhat.com>
71905         [BZ #14152]
71906         * math/libm-test.inc (fma_test): Don't always expect underflow
71907         exception.
71909 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71911         [BZ #12416]
71912         * elf/tst-execstack.c: Include stackinfo.h.
71913         (do_test): Adjust test case to ensure that pthread_getattr_np
71914         behaviour remains the same after marking stack executable.
71916 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71918         * sysdeps/unix/sysv/linux/kernel-features.h
71919         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
71920         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
71921         kernel-features.h.
71922         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71923         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71924         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
71925         kernel-features.h.
71926         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71927         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71929 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
71931         * configure.in: Define the default includes to being none.
71932         * configure: Regenerated.
71934 2012-05-25  Roland McGrath  <roland@hack.frob.com>
71936         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
71937         * sysdeps/x86_64/setjmp.S: Likewise.
71938         * sysdeps/i386/bsd-setjmp.S: Likewise.
71939         * sysdeps/i386/bsd-_setjmp.S: Likewise.
71940         * sysdeps/i386/setjmp.S: Likewise.
71941         * sysdeps/i386/__longjmp.S: Likewise.
71942         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71943         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
71945         * include/stap-probe.h: New file.
71946         * configure.in: Handle --enable-systemtap.
71947         * configure: Regenerated.
71948         * config.h.in (USE_STAP_PROBE): New #undef.
71949         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
71950         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
71951         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
71953 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71955         [BZ #13717]
71956         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71957         to 2.4.0 where earlier.
71958         * sysdeps/unix/sysv/linux/configure: Regenerated.
71959         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71960         <kernel-features.h>.
71961         [__ASSUME_32BITUIDS]: Make code unconditional.
71962         [!__ASSUME_32BITUIDS]: Remove conditional code.
71963         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
71964         <kernel-features.h>.
71965         [__ASSUME_32BITUIDS]: Make code unconditional.
71966         [!__ASSUME_32BITUIDS]: Remove conditional code.
71967         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
71968         [__ASSUME_32BITUIDS]: Make code unconditional.
71969         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
71970         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
71971         <kernel-features.h>.
71972         [__ASSUME_32BITUIDS]: Make code unconditional.
71973         [!__ASSUME_32BITUIDS]: Remove conditional code.
71974         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
71975         <kernel-features.h>.
71976         [__ASSUME_32BITUIDS]: Make code unconditional.
71977         [!__ASSUME_32BITUIDS]: Remove conditional code.
71978         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
71979         <kernel-features.h>.
71980         [__ASSUME_32BITUIDS]: Make code unconditional.
71981         [!__ASSUME_32BITUIDS]: Remove conditional code.
71982         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
71983         <kernel-features.h>.
71984         [__ASSUME_32BITUIDS]: Make code unconditional.
71985         [!__ASSUME_32BITUIDS]: Remove conditional code.
71986         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71987         <kernel-features.h>.
71988         [__ASSUME_32BITUIDS]: Make code unconditional.
71989         [!__ASSUME_32BITUIDS]: Remove conditional code.
71990         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71991         <kernel-features.h>.
71992         [__ASSUME_32BITUIDS]: Make code unconditional.
71993         [!__ASSUME_32BITUIDS]: Remove conditional code.
71994         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
71995         <kernel-features.h>.
71996         [__ASSUME_32BITUIDS]: Make code unconditional.
71997         [!__ASSUME_32BITUIDS]: Remove conditional code.
71998         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71999         <kernel-features.h>.
72000         [__ASSUME_32BITUIDS]: Make code unconditional.
72001         [!__ASSUME_32BITUIDS]: Remove conditional code.
72002         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
72003         <kernel-features.h>.
72004         [__ASSUME_32BITUIDS]: Make code unconditional.
72005         [!__ASSUME_32BITUIDS]: Remove conditional code.
72006         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
72007         <kernel-features.h>.
72008         [__ASSUME_32BITUIDS]: Make code unconditional.
72009         [!__ASSUME_32BITUIDS]: Remove conditional code.
72010         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
72011         <kernel-features.h>.
72012         [__NR_setresgid] (__setresgid): Do not declare.
72013         [__ASSUME_32BITUIDS]: Make code unconditional.
72014         [!__ASSUME_32BITUIDS]: Remove conditional code.
72015         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72016         <kernel-features.h>.
72017         [__NR_setresuid] (__setresuid): Do not declare.
72018         [__ASSUME_32BITUIDS]: Make code unconditional.
72019         [!__ASSUME_32BITUIDS]: Remove conditional code.
72020         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
72021         <kernel-features.h>.
72022         [__ASSUME_32BITUIDS]: Make code unconditional.
72023         [!__ASSUME_32BITUIDS]: Remove conditional code.
72024         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
72025         <kernel-features.h>.
72026         [__ASSUME_32BITUIDS]: Make code unconditional.
72027         [!__ASSUME_32BITUIDS]: Remove conditional code.
72028         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
72029         <kernel-features.h>.
72030         [__ASSUME_32BITUIDS]: Make code unconditional.
72031         [!__ASSUME_32BITUIDS]: Remove conditional code.
72032         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
72033         <kernel-features.h>.
72034         [__ASSUME_32BITUIDS]: Make code unconditional.
72035         [!__ASSUME_32BITUIDS]: Remove conditional code.
72036         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
72037         <kernel-features.h>.
72038         [__ASSUME_32BITUIDS]: Make code unconditional.
72039         [!__ASSUME_32BITUIDS]: Remove conditional code.
72040         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
72041         <kernel-features.h>.
72042         [__ASSUME_32BITUIDS]: Make code unconditional.
72043         [!__ASSUME_32BITUIDS]: Remove conditional code.
72044         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
72045         <kernel-features.h>.
72046         [__ASSUME_32BITUIDS]: Make code unconditional.
72047         [!__ASSUME_32BITUIDS]: Remove conditional code.
72048         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
72049         <kernel-features.h>.
72050         [__ASSUME_32BITUIDS]: Make code unconditional.
72051         [!__ASSUME_32BITUIDS]: Remove conditional code.
72052         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
72053         <kernel-features.h>.
72054         [__ASSUME_32BITUIDS]: Make code unconditional.
72055         [!__ASSUME_32BITUIDS]: Remove conditional code.
72056         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72057         <kernel-features.h>.
72058         [__ASSUME_32BITUIDS]: Make code unconditional.
72059         [!__ASSUME_32BITUIDS]: Remove conditional code.
72060         * sysdeps/unix/sysv/linux/kernel-features.h
72061         (__ASSUME_SETRESUID_SYSCALL): Remove.
72062         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72063         (__ASSUME_32BITUIDS): Likewise.
72064         (__ASSUME_LDT_WORKS): Likewise.
72065         (__ASSUME_O_DIRECTORY): Likewise.
72066         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72067         architecture but not kernel version.
72068         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72069         (__ASSUME_MMAP2_SYSCALL): Likewise.
72070         (__ASSUME_STAT64_SYSCALL): Likewise.
72071         (__ASSUME_IPC64): Likewise.
72072         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72073         <kernel-features.h>.
72074         [__ASSUME_32BITUIDS]: Make code unconditional.
72075         [!__ASSUME_32BITUIDS]: Remove conditional code.
72076         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72077         <kernel-features.h>.
72078         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72079         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72080         132096]: Remove conditional code.
72081         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72082         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72083         <kernel-features.h>.
72084         [__ASSUME_32BITUIDS]: Make code unconditional.
72085         [!__ASSUME_32BITUIDS]: Remove conditional code.
72086         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72087         <kernel-features.h>.
72088         [__ASSUME_32BITUIDS]: Make code unconditional.
72089         [!__ASSUME_32BITUIDS]: Remove conditional code.
72090         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72091         <kernel-features.h>.
72092         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72093         unconditional.
72094         (__setresgid): Do not declare.
72095         [__ASSUME_32BITUIDS]: Make code unconditional.
72096         [!__ASSUME_32BITUIDS]: Remove conditional code.
72097         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72098         <kernel-features.h>.
72099         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72100         unconditional.
72101         (__setresuid): Do not declare.
72102         [__ASSUME_32BITUIDS]: Make code unconditional.
72103         [!__ASSUME_32BITUIDS]: Remove conditional code.
72104         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72105         <kernel-features.h>.
72106         [__ASSUME_32BITUIDS]: Make code unconditional.
72107         [!__ASSUME_32BITUIDS]: Remove conditional code.
72108         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72109         <kernel-features.h>.
72110         [__ASSUME_32BITUIDS]: Make code unconditional.
72111         [!__ASSUME_32BITUIDS]: Remove conditional code.
72113 2012-05-25  Richard Henderson  <rth@twiddle.net>
72115         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72116         dl_hwcap to ifunc resolver.
72117         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72118         elf_ifunc_invoke.
72119         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72120         dl_hwcap to ifunc resolver.
72121         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72123 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72125         [BZ #14153]
72126         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72127         for |x| <= 2**-26, not 2**-57.
72128         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72129         exception.
72131 2012-05-24  Jeff Law  <law@redhat.com>
72133         * stdio-common/Makefile (tests): Add bug25.
72134         * stdio-common/bug25.c: New test.
72136 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72138         [BZ #13576]
72139         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72140         multiple of MALLOC_ALIGNMENT in size.
72141         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72143 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72145         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72146         Require >= 256.
72147         (FILENAME_MAX): Use macro-int-constant.
72148         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72149         (_IOFBF): Use macro-int-constant.
72150         (_IOLBF): Likewise.
72151         (_IONBF): Likewise.
72152         (SEEK_CUR): Likewise.
72153         (SEEK_END): Likewise.
72154         (SEEK_SET): Likewise.
72155         (TMP_MAX): Likewise.
72156         (EOF): Use macro-int-constant.  Require < 0.
72157         (NULL): Use macro-constant.  Require == 0.
72158         (stdin): Require type to be FILE *.
72159         (stdout): Likewise.
72160         (stderr): Likewise.
72161         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72162         macro-int-constant.
72163         (EXIT_SUCCESS): Likewise.
72164         (NULL): Use macro-constant.  Require == 0.
72165         (RAND_MAX): Use macro-int-constant.
72166         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72167         [C99-based standards] (strtof): Require function.
72168         [C99-based standards] (strtold): Likewise.
72169         [C99-based standards] (strtoll): Likewise.
72170         [C99-based standards] (strtoull): Likewise.
72171         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72172         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72173         [ISO || ISO99 || ISO11] (math.h): Likewise.
72174         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72175         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72176         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72178 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72180         [BZ #14132]
72181         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72182         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72183         * intl/dgettext.c (DCGETTEXT): Likewise.
72184         * intl/gettext.c (DCGETTEXT): Likewise.
72185         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
72186         * posix/regex_internal.h (gettext): Likewise.
72187         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
72188         Remove declaration.
72189         * include/argz.h (__argz_count_internal)
72190         (__argz_stringify_internal): Remove declaration.
72191         (__argz_count, __argz_stringify): Declare hidden proto.
72192         * intl/dcgettext.c: Remove use of INTDEF.
72193         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72194         * string/argz-stringify.c: Likewise.
72195         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72196         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72197         Declare hidden proto.
72198         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72199         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72200         Declare hidden proto.
72201         * include/stdio.h (__asprintf_internal): Don't declare.
72202         (__asprintf): Don't define as macro.  Declare hidden proto.
72203         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
72204         (__fsetlocking): Declare hidden proto.
72205         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
72206         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72207         hidden proto.
72208         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
72209         (_IO_setlinebuf): Remove use of INTUSE.
72210         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
72211         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
72212         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
72213         Remove declaration.
72214         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
72215         (_IO_do_flush): Remove use of INTUSE.
72216         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
72217         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
72218         (_IO_adjust_column, _IO_least_wmarker)
72219         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
72220         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
72221         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
72222         (_IO_default_doallocate, _IO_wdefault_doallocate)
72223         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
72224         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
72225         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
72226         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
72227         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
72228         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
72229         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
72230         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
72231         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
72232         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
72233         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
72234         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
72235         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
72236         proto.
72237         (_IO_flush_all_internal, _IO_adjust_column_internal)
72238         (_IO_default_uflow_internal, _IO_default_finish_internal)
72239         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
72240         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
72241         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
72242         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
72243         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
72244         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
72245         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
72246         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
72247         (_IO_file_close_internal, _IO_file_close_it_internal)
72248         (_IO_file_underflow_internal, _IO_file_overflow_internal)
72249         (_IO_file_init_internal, _IO_file_attach_internal)
72250         (_IO_file_fopen_internal, _IO_file_read_internal)
72251         (_IO_file_sync_internal, _IO_file_seek_internal)
72252         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
72253         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
72254         (_IO_str_underflow_internal, _IO_str_overflow_internal)
72255         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
72256         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
72257         (_IO_list_all_internal, _IO_link_in_internal)
72258         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
72259         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
72260         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72261         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72262         (_IO_do_write_internal, _IO_padn_internal)
72263         (_IO_getline_info_internal, _IO_getline_internal)
72264         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72265         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72266         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72267         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72268         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72269         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72270         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72271         with libc_hidden_ver, remove use of INTUSE.
72272         * libio/genops.c: Likewise.
72273         * libio/freopen.c: Likewise.
72274         * libio/freopen64.c: Likewise.
72275         * libio/iofclose.c: Likewise.
72276         * libio/iofdopen.c: Likewise.
72277         * libio/iofflush.c: Likewise.
72278         * libio/iofflush_u.c: Likewise.
72279         * libio/iofgets.c: Likewise.
72280         * libio/iofgets_u.c: Likewise.
72281         * libio/iofopen.c: Likewise.
72282         * libio/iofopncook.c: Likewise.
72283         * libio/iofread.c: Likewise.
72284         * libio/iofread_u.c: Likewise.
72285         * libio/ioftell.c: Likewise.
72286         * libio/iofwrite.c: Likewise.
72287         * libio/iogetline.c: Likewise.
72288         * libio/iogets.c: Likewise.
72289         * libio/iogetwline.c: Likewise.
72290         * libio/iopadn.c: Likewise.
72291         * libio/iopopen.c: Likewise.
72292         * libio/ioseekoff.c: Likewise.
72293         * libio/ioseekpos.c: Likewise.
72294         * libio/iosetbuffer.c: Likewise.
72295         * libio/iosetvbuf.c: Likewise.
72296         * libio/ioungetc.c: Likewise.
72297         * libio/ioungetwc.c: Likewise.
72298         * libio/iovdprintf.c: Likewise.
72299         * libio/iovsprintf.c: Likewise.
72300         * libio/iovsscanf.c: Likewise.
72301         * libio/memstream.c: Likewise.
72302         * libio/obprintf.c: Likewise.
72303         * libio/oldfileops.c: Likewise.
72304         * libio/oldiofclose.c: Likewise.
72305         * libio/oldiofdopen.c: Likewise.
72306         * libio/oldiofopen.c: Likewise.
72307         * libio/oldiopopen.c: Likewise.
72308         * libio/oldstdfiles.c: Likewise.
72309         * libio/putc.c: Likewise.
72310         * libio/setbuf.c: Likewise.
72311         * libio/setlinebuf.c: Likewise.
72312         * libio/stdfiles.c: Likewise.
72313         * libio/strops.c: Likewise.
72314         * libio/vasprintf.c: Likewise.
72315         * libio/vscanf.c: Likewise.
72316         * libio/vsnprintf.c: Likewise.
72317         * libio/vswprintf.c: Likewise.
72318         * libio/wfiledoalloc.c: Likewise.
72319         * libio/wfileops.c: Likewise.
72320         * libio/wgenops.c: Likewise.
72321         * libio/wmemstream.c: Likewise.
72322         * libio/wstrops.c: Likewise.
72323         * libio/__fpurge.c: Likewise.
72324         * libio/__fsetlocking.c: Likewise.
72325         * assert/assert.c: Likewise.
72326         * debug/fgets_chk.c: Likewise.
72327         * debug/fgets_u_chk.c: Likewise.
72328         * debug/fread_chk.c: Likewise.
72329         * debug/fread_u_chk.c: Likewise.
72330         * debug/gets_chk.c: Likewise.
72331         * debug/obprintf_chk.c: Likewise.
72332         * debug/vasprintf_chk.c: Likewise.
72333         * debug/vdprintf_chk.c: Likewise.
72334         * debug/vsnprintf_chk.c: Likewise.
72335         * debug/vsprintf_chk.c: Likewise.
72336         * malloc/mtrace.c: Likewise.
72337         * misc/error.c: Likewise.
72338         * misc/syslog.c: Likewise.
72339         * stdio-common/asprintf.c: Likewise.
72340         * stdio-common/fxprintf.c: Likewise.
72341         * stdio-common/getw.c: Likewise.
72342         * stdio-common/isoc99_fscanf.c: Likewise.
72343         * stdio-common/isoc99_scanf.c: Likewise.
72344         * stdio-common/isoc99_vfscanf.c: Likewise.
72345         * stdio-common/isoc99_vscanf.c: Likewise.
72346         * stdio-common/isoc99_vsscanf.c: Likewise.
72347         * stdio-common/printf-prs.c: Likewise.
72348         * stdio-common/printf_fp.c: Likewise.
72349         * stdio-common/printf_fphex.c: Likewise.
72350         * stdio-common/printf_size.c: Likewise.
72351         * stdio-common/putw.c: Likewise.
72352         * stdio-common/scanf.c: Likewise.
72353         * stdio-common/sprintf.c: Likewise.
72354         * stdio-common/tmpfile.c: Likewise.
72355         * stdio-common/vfprintf.c: Likewise.
72356         * stdio-common/vfscanf.c: Likewise.
72357         * stdlib/strfmon_l.c: Likewise.
72358         * sunrpc/openchild.c: Likewise.
72359         * sunrpc/xdr_stdio.c: Likewise.
72360         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72361         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72363 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72365         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72367         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72368         in the third column, to generate for the shared library an IFUNC
72369         that uses _dl_vdso_vsym.
72370         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72371         * Makeconfig (object-suffixes-noshared): New variable.
72373         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72374         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72375         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72376         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72378         [BZ #14132]
72379         * include/sys/time.h (__gettimeofday): Remove macro.
72380         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72381         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72382         Remove INTDEF.
72383         (__gettimeofday): Add libc_hidden_def.
72384         (gettimeofday): Add libc_hidden_weak.
72385         * sysdeps/mach/gettimeofday.c: Likewise.
72386         * sysdeps/posix/gettimeofday.c: Likewise.
72387         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72388         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72390         (__gettimeofday_internal): Remove strong_alias.
72391         (__gettimeofday): Add libc_hidden_def.
72392         (gettimeofday): Add libc_hidden_weak.
72393         * sysdeps/unix/syscalls.list (gettimeofday):
72394         Remove __gettimeofday_internal alias.
72396 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72397             H.J. Lu  <hongjiu.lu@intel.com>
72399         [BZ #12495]
72400         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72401         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72402         (largebin_index_32_big): New.
72403         (largebin_index): Use it for 16-byte alignment.
72404         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72405         correction with front_misalign.
72407 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72411         Likewise.
72412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72413         Likewise.
72414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72415         Likewise.
72416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72417         Likewise.
72418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72419         Likewise.
72420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72421         Likewise.
72422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72423         Likewise.
72424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72425         Likewise.
72426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72427         Likewise.
72428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72429         Likewise.
72430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72431         Likewise.
72432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72433         Likewise.
72435         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72436         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72438 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72440         [BZ #10846]
72441         [BZ #14036]
72442         * math/libm-test.inc (exp_test): Add test from bug 14036.
72443         (pow_test): Add test from bug 10846.
72445         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72446         and other flags.
72447         (special_function): Do not include flags in test name.
72448         (parse_args): Likewise.
72449         * sysdeps/i386/fpu/libm-test-ulps: Update.
72450         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72451         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72452         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72455         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72456         exceptions.
72457         * math/libm-test.inc ("Philosophy"): Update comment about
72458         exception testing.
72459         (UNDERFLOW_EXCEPTION): New macro.
72460         (UNDERFLOW_EXCEPTION_OK): Likewise.
72461         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72462         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72463         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72464         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72465         (INVALID_EXCEPTION_OK): Update value.
72466         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72467         (OVERFLOW_EXCEPTION_OK): Likewise.
72468         (IGNORE_ZERO_INF_SIGN): Likewise.
72469         (test_exceptions): Handle underflow exceptions.
72470         (acos_test): Update for underflow exception expectations.
72471         (cexp_test): Likewise.
72472         (clog_test): Likewise.
72473         (clog10_test): Likewise.
72474         (csqrt_test): Likewise.
72475         (ctan_test): Likewise.
72476         (ctanh_test): Likewise.
72477         (exp_test): Likewise.
72478         (exp10_test): Likewise.
72479         (exp2_test): Likewise.
72480         (expm1_test): Likewise.
72481         (fma_test): Likewise.
72482         (j0_test): Likewise.
72483         (jn_test): Likewise.
72484         (nexttoward_test): Likewise.
72485         (pow_test): Likewise.
72486         (scalbn_test): Likewise.
72487         (scalbln_test): Likewise.
72488         (tan_test): Likewise.
72489         (y1_test): Likewise.
72490         * sysdeps/i386/fpu/libm-test-ulps: Update.
72491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72493 2012-05-23  David S. Miller  <davem@davemloft.net>
72495         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72496         (__libc_sigaction): Remove unused local variables.
72498 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72500         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72502 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72504         mktime: avoid signed integer overflow
72505         * time/mktime.c (__mktime_internal): Do not mishandle the case
72506         where diff == INT_MIN.
72508         mktime: simplify computation of average
72509         * time/mktime.c (ranged_convert): Use new time_t_avg function
72510         instead of rolling our own (probably-slower) code.
72512         mktime: do not assume signed right shift propagates sign bit
72513         * time/mktime.c (isdst_differ): New static function.
72514         (__mktime_internal): No need to normalize tm_isdst now.
72515         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72516         tm_isdst values.
72518         mktime: merge another wrapv change from gnulib
72519         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72520         from some compilers.
72522         mktime: remove incorrect attempt at unusual arithmetics
72523         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72524         The code didn't really work on such machines anyway.
72525         (TYPE_MINIMUM): Assume two's complement.
72526         (twos_complement_arithmetic): Verify that long_int and time_t
72527         are two's complement (or unsigned, in the latter case).
72529         mktime: check signed shifts on long_int and time_t, too
72530         * time/mktime.c (SHR): Check that shifts work as desired
72531         on the types long_int and time_t too, as SHR is used on
72532         such types.
72534         mktime: do not assume 'long' is wide enough
72535         * time/mktime.c (verify): Move decl up.
72536         (long_int): New type.
72537         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72538         to remove assumption in the code that 'long' is wide enough to
72539         store year values.  This assumption is not true on x32 and on
72540         some non-glibc platforms.
72542         mktime: merge wrapv change from gnulib
72543         * time/mktime.c (WRAPV): New macro.
72544         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72545         (guess_time_tm, __mktime_internal): Do not assume that signed
72546         integer overflow wraps around; modern compilers generate code
72547         where this assumption is no longer valid.
72549 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72551         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72552         Replace "jmp L(pseudo_end)" with "ret".
72553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72554         Likewise.
72556 2012-05-23  Andreas Jaeger  <aj@suse.de>
72558         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72559         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72561 2012-05-23  Andreas Jaeger  <aj@suse.de>
72562             Maximilian Attems  <max@stro.at>
72564         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72565         New macros.
72567 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72569         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72570         code so that pseudo_end is just ret and the stack pointer is
72571         correct also for static library in error case.
72573 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72575         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72576         move to syscalls.list.
72577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72582         * manual/install.texi (Running make install): Do not mention Linux
72583         kernel version for which pt_chown is not needed.
72584         (Linux): Do not mention problems with nscd with 2.0 kernels.
72585         * INSTALL: Regenerated.
72587 2012-05-23  Andreas Jaeger  <aj@suse.de>
72589         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72590         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72591         macro.
72592         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72593         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72594         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72595         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72596         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72597         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72598         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72599         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72600         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72601         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72602         * sysdeps/unix/sysv/linux/bits/in.h
72603         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72605 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72607         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72608         (PREPARE_VERSION): Just use assert instead, it will be elided
72609         under [NDEBUG] anyway.
72611 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72613         * sysdeps/unix/sysv/linux/Makefile: Include
72614         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72615         (sysdep_routines): Remove sysctl.
72616         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72617         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72618         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72619         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72620         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72622 2012-05-22  Andreas Jaeger  <aj@suse.de>
72624         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72625         that pseudo_end is just ret and the stack pointer is correct also
72626         for static library in error case.
72628 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72630         [BZ #14122]
72631         * nss/nsswitch.c (defconfig_entries): New variable.
72632         (__nss_database_lookup): Don't leak defconfig entries.
72633         (nss_parse_service_list): Don't leak on error paths.
72634         (free_database_entries): New function.
72635         (free_defconfig): New function.
72636         (free_mem): Move common code to free_database_entries.
72638 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72640         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72641         Add arch_prctl.
72642         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72644         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72645         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72647         New macro.
72648         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72649         (INTERNAL_SYSCALL_TYPES): Likewise.
72650         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72651         (LOAD_REGS_TYPES_[1-6]): Likewise.
72652         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72653         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72655 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72657         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72658         copysignl for GLIBC_2_0.
72659         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72660         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72661         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72662         logbl for GLIBC_2_0.
72663         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72664         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72666 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72668         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72669         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72671         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72672         Use "neg %eax".
72674         * time/mktime.c: Update copyright years.
72676 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72678         mktime: merge comment-quoting-style change from gnulib
72679         * time/mktime.c: Quote 'like this' in comments.
72680         The GNU coding standards suggest that we no longer quote `like this',
72681         as "`" and "'" are typically rendered asymmetrically nowadays.
72682         The typical gnulib style is to quote 'like this' when quoting
72683         code, and "like this" when quoting English.
72685         * time/mktime.c (compile-command): Add "-I.".
72687         mktime: merge mktime-internal.h change from gnulib
72688         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72690         mktime: merge time_r change from gnulib
72691         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72693         mktime: merge DEBUG change from gnulib
72694         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72695         case system <time.h> has a #define.
72697         mktime: merge <sys/types.h> change from gnulib
72698         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72699         since <time.t> is now guaranteed to define time_t.
72701         mktime: merge HAVE_CONFIG_H change from gnulib
72702         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72704 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72707         Use "neg %eax".
72709         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72710         __rlim_t cast.
72711         (struct rusage): Use anonymous union to pad each field to
72712         __syscall_slong_t.
72714 2012-05-21  David S. Miller  <davem@davemloft.net>
72716         * Makefules (o-iterator): Remove .s cases.
72717         (compile-command.s): Delete.
72718         (COMPILE.s): Delete.
72719         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72721 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72723         * configure.in (libc_cv_predef_stack_protector): Only consider
72724         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72725         * configure: Regenerated.
72727 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72730         New macro.  Use R*LP on int and pointer.
72731         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72732         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72733         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72734         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72736         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72737         [__WORDSIZE_TIME64_COMPAT32] instead of
72738         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72739         (struct utmp): Likewise.
72740         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72741         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72742         Renamed to ...
72743         (__WORDSIZE_TIME64_COMPAT32): This.
72744         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72745         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72746         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72747         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72748         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72749         (__WORDSIZE_TIME64_COMPAT32): New macro.
72751 2012-05-21  Andreas Jaeger  <aj@suse.de>
72753         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72754         only if [SHARED]. Add prototype for __wcschr_ia32.
72756 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72758         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72759         of %rbp unmolested in the jmp_buf while mangling the low bits.
72760         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72761         unmolested high bits of %rbp while demangling the low bits.
72762         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72764 2012-05-21  Andreas Jaeger  <aj@suse.de>
72766         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72767         * sunrpc/svc_simple.c: Use it for registerrpc.
72768         * sunrpc/xcrypt.c: Use it for passwd2des.
72770         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72772 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72774         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72775         Don't define if [__SYSCALL_WORDSIZE != 32].
72776         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72777         New macro.
72779 2012-05-21  Bruno Haible  <bruno@clisp.org>
72780             Andreas Jaeger  <aj@suse.de>
72782         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72783         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72784         inptr and inend for must_buffer_ch.
72785         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72786         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72787         * stdio-common/Makefile (tests): Remove bug15.
72788         (bug15-ENV): Remove macro.
72789         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72790         anymore.
72792 2012-05-19  Andreas Jaeger  <aj@suse.de>
72793             Roland McGrath  <roland@hack.frob.com>
72795         * manual/contrib.texi: Completely rewritten. It contains now an
72796         alphabetical list of contributors and their contributions.
72798 2012-05-21  Richard Henderson  <rth@twiddle.net>
72800         * misc/getauxval.c (__getauxval): Use unsigned long int.
72801         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72802         (getauxval): Use unsigned long int.
72804 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72806         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72808 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72810         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72811         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72812         __alignof__ (long double).
72814 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72818 2012-05-20  Richard Henderson  <rth@twiddle.net>
72820         * misc/getauxval.c: New file.
72821         * misc/sys/auxv.h: New file.
72822         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72823         (routines): Add getauxval.
72824         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72825         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72826         * elf/dl-sysdep.c (_dl_auxv): Remove.
72827         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72828         * elf/dl-support.c (_dl_auxv): New variable.
72829         (_dl_aux_init): Initialize it.
72830         * manual/startup.texi (Auxiliary Vector): New node.
72831         * sysdeps/generic/bits/hwcap.h: New file.
72832         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72833         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72834         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72835         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72836         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72837         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72839         Update.
72840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72843         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72849 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72853 2012-05-19  David S. Miller  <davem@davemloft.net>
72855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72857 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72859         [BZ #14123]
72860         * math/s_ccosh.c: Include <float.h>
72861         (__ccosh): Avoid internal overflow calculating sinh and cosh
72862         values before multiplying by sin and cos values.
72863         * math/s_ccoshf.c: Likewise.
72864         * math/s_ccoshl.c: Likewise.
72865         * math/s_csin.c: Likewise.
72866         * math/s_csinf.c: Likewise.
72867         * math/s_csinl.c: Likewise.
72868         * math/s_csinh.c: Likewise.
72869         * math/s_csinhf.c: Likewise.
72870         * math/s_csinhl.c: Likewise.
72871         * math/libm-test.inc (ccos_test): Add more tests.
72872         (ccosh_test): Likewise.
72873         (csin_test): Likewise.
72874         (csinh_test): Likewise.
72875         * sysdeps/i386/fpu/libm-test-ulps: Update.
72876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72878 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
72880         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
72881         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
72883         * sysdeps/x86_64/x32/_itoa.h: Add comment.
72885 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72887         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
72888         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
72889         * sysdeps/powerpc/soft-fp/Versions: Likewise.
72890         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
72891         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
72892         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
72893         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
72894         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
72895         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
72896         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
72897         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
72898         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
72899         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
72900         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
72901         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
72902         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
72903         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
72904         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
72905         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
72906         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
72907         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
72908         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
72909         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
72910         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
72911         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
72912         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
72913         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
72914         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
72915         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
72916         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
72917         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
72919 2012-05-18  Andreas Jaeger  <aj@suse.de>
72921         * csu/.gitignore: Delete.
72923 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72925         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
72926         (timex): Use __syscall_slong_t.
72928 2012-05-18  Andreas Jaeger  <aj@suse.de>
72929             Carlos O'Donell  <carlos_odonell@mentor.com>
72931         * manual/install.texi (Configuring and compiling): Update
72932         description about files modified in the source directory.
72933         * INSTALL: Regenerated.
72935 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72937         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
72938         value.  Use "or" to set return value to -1.
72939         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
72940         negate return value.
72942 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72944         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
72945         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
72946         failure if the compiler has Graphite support disabled.
72947         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
72948         Likewise.
72949         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
72950         (CFLAGS-memmove.c): Likewise.
72951         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
72952         Likewise.
72954 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72956         * sysdeps/x86_64/x32/_itoa.h: New file.
72958         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
72959         getdents system call only if kernel and user dirents have the
72960         same d_ino and d_off.
72962         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72963         LLONG_MAX != LONG_MAX.
72964         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72965         (_fitoa_word): Likewise.
72967         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
72968         years.
72969         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
72970         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
72971         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
72973         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
72974         include <bits/wordsize.h>.  Check __x86_64__ instead of
72975         __WORDSIZE.
72976         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
72977         if __x86_64__ is defined.  Use anonymous union on fpstate.
72979         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
72980         anonymous union.
72982 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
72984         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
72985         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
72986         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
72987         Refer to _rtld_local_ro instead of _rtld_global_ro.
72988         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
72989         Likewise.
72990         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
72991         Likewise.
72992         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
72993         Likewise.
72994         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
72995         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
72996         of _rtld_global, and rtld_progname instead of _dl_argv[0].
72998         [BZ #10882]
72999         * sysdeps/powerpc/powerpc32/dl-machine.c
73000         (__elf_machine_runtime_setup) [PROF]: Don't reference
73001         _dl_prof_resolve.
73003 2012-05-18  Andreas Jaeger  <aj@suse.de>
73005         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73006         function only available for GCCs before 3.4 since GCC 3.4
73007         introduced a builtin.
73008         (lrint): Likewise.
73009         (llrintf): Likewise.
73010         (llrint): Likewise.
73011         (fmaxf): Likewise.
73012         (fmax): Likewise.
73013         (fminf): Likewise.
73014         (fmin): Likewise.
73015         (rint): Likewise.
73016         (rintf): Likewise.
73017         (nearbyint): Likewise.
73018         (nearbyintf): Likewise.
73019         (ceil): Likewise.
73020         (ceilf): Likewise.
73021         (floor): Likewise.
73022         (floorf): Likewise.
73024 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73026         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73027         on both fields and cast pointer to __syscall_ulong_t.
73029         * bits/types.h (__fsword_t): New type.
73030         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73031         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73032         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73033         (__FSWORD_T_TYPE): Likewise.
73034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73035         (__FSWORD_T_TYPE): Likewise.
73036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73037         (__FSWORD_T_TYPE): Likewise.
73038         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73039         (__FSWORD_T_TYPE): Likewise.
73040         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73041         __SWORD_TYPE with __fsword_t.
73042         (statfs64): Likewise.
73044 2012-05-17  David S. Miller  <davem@davemloft.net>
73046         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73048 2012-05-17  Andreas Jaeger  <aj@suse.de>
73050         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73051         warning.
73053 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73055         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73057 2012-05-17  Andreas Jaeger  <aj@suse.de>
73059         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73060         when it is used.
73062 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73064         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73066 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73068         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73069         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73071 2012-05-17  Andreas Jaeger  <aj@suse.de>
73072             Carlos O'Donell  <carlos_odonell@mentor.com>
73074         [BZ #14059]
73075         * sysdeps/x86_64/multiarch/init-arch.h
73076         (bit_YMM_Usable): Rename to...
73077         (bit_AVX_Usable): ... this.
73078         (bit_FMA4_Usable): New macro.
73079         (bit_XMM_state): New macro.
73080         (bit_YMM_state): New macro.
73081         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73082         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73083         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73084         (CPUID_OSXSAVE): New macro.
73085         (CPUID_AVX): New macro.
73086         (CPUID_FMA4): New macro.
73087         (index_YMM_Usable): Rename to...
73088         (index_AVX_Usable): ... this.
73089         (HAS_AVX): Use HAS_ARCH_FEATURE.
73090         (HAS_FMA4): Likewise.
73091         (HAS_YMM_USABLE): Remove.
73092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73093         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73094         are present.
73095         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73096         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73097         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73098         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73099         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73101 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73103         * math/libm-test.c: Support platforms without multiple rounding modes.
73104         * math/bug-nextafter.c: Support platforms without FP exceptions.
73105         * math/bug-nexttoward.c: Likewise.
73106         * math/test-fenv.c: Likewise.
73107         * math/test-misc.c: Likewise.
73108         * stdlib/bug-getcontext.c: Likewise.
73110 2012-05-17  Andreas Jaeger  <aj@suse.de>
73112         * manual/examples/search.c (critter_cmp): Change signature to
73113         avoid warnings.
73114         * manual/string.texi (Collation Functions): Likewise.
73116 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73118         * bits/types.h: Fold copyright years.
73119         * bits/typesizes.h: Likewise.
73120         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73121         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73122         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73124         * time/time.h: Likewise.
73126 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73128         [BZ #208]
73129         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73130         in instead of returning them.  Return void.
73131         (__libc_mallinfo): Accumulate over all arenas.
73132         (__malloc_stats): Adjust for change in int_mallinfo interface.
73134 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73136         [BZ #10375]
73137         * configure.in (NM): Add AC_CHECK_TOOL for it.
73138         (libc_extra_cflags): New substituted variable.
73139         Check for -fstack-protector being used implicitly.
73140         * configure: Regenerated.
73141         * config.make.in (config-extra-cflags): New variable,
73142         gets @libc_extra_cflags@.
73143         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73145         [BZ #10375]
73146         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73147         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73148         * configure: Regenerated.
73149         * config.make.in (CPPUNDEFS): New substituted variable.
73150         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73151         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73152         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73154 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73156         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73157         (mq_attr): Use __syscall_slong_t.
73159 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73161         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73162         Check __x86_64__ instead of __WORDSIZE.
73163         (_STAT_VER_LINUX): Likewise.
73164         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73165         __syscall_ulong_t and __syscall_slong_t.
73166         (stat64): Likewise.
73168 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73170         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73172 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73174         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73176 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73178         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73179         __syscall_ulong_t.
73181         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73182         include <bits/wordsize.h>.  Check __x86_64__ instead of
73183         __WORDSIZE.
73184         (greg_t): Use "__extension__ long long int" if __x86_64__ is
73185         defined.
73186         (mcontext_t): Replace "unsigned long" with "unsigned long long".
73188         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
73189         include <bits/wordsize.h>.  Check __x86_64__ instead of
73190         __WORDSIZE.
73191         (user_regs_struct): Use "__extension__ unsigned long long"
73192         instead of "unsigned long" if __x86_64__ is defined.
73193         (user): Likewise.  Pad after pointer field if __ILP32__ is
73194         defined.
73196 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
73198         * configure.in (makeinfo): Require version 4.5 or later.  Allow
73199         versions 5 to 9.
73200         * configure: Regenerated.
73201         * manual/install.texi (texinfo): Increase version requirement to
73202         4.5 or later.
73203         * INSTALL: Regenerated.
73205         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
73207 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73209         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
73211         * sysdeps/x86_64/x32/ffs.c: New file.
73213         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
73214         __syscall_ulong_t.
73215         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
73216         defined.  Use __syscall_ulong_t.
73217         (shminfo): Use __syscall_ulong_t.
73218         (shm_info): Likewise.
73220         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73221         __syscall_ulong_t.
73223         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
73224         <bits/wordsize.h>.
73225         (msgqnum_t): Use __syscall_ulong_t.
73226         (msglen_t): Likewise.
73227         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
73228         __syscall_ulong_t.
73230         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
73231         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73233         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
73235         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
73236         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
73238         * sysvipc/sys/msg.h (msgbuf): Replace long int with
73239         __syscall_slong_t.
73241         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
73242         include <bits/wordsize.h>.  Check __x86_64__ instead of
73243         __WORDSIZE.
73245         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
73246         "unsigned long long int" if __x86_64__ is defined.
73247         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
73249         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
73250         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73251         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
73253         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
73254         <stdint.h>.
73255         (GET_PC): Cast to uintptr_t first.
73256         (GET_FRAME): Likewise.
73257         (GET_STACK): Likewise.
73259         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
73260         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73261         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73262         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73263         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73264         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73265         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73266         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73267         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73268         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73269         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73270         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73271         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73272         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73273         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73274         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73275         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73276         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73277         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73278         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73279         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73280         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73281         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73282         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73283         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73284         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73285         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73286         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73287         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73289 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73291         * Makerules (+depfiles): Also collect depfiles from .oS in
73292         $(extra-objs).
73293         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73294         .oS, $(libnldbl-routines)).
73296         * Makerules (native-compile-mkdep-flags): Define.
73297         * sunrpc/Makefile (extra-objs): Add $(addprefix
73298         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73299         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73300         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73301         calling $(make-target-directory).
73303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73305         * bits/types.h (__snseconds_t): Removed.
73306         * time/time.h (struct timespec): Replace __snseconds_t with
73307         __syscall_slong_t.
73308         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73309         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73310         Likewise.
73311         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73312         (__SNSECONDS_T_TYPE): Likewise.
73313         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73314         (__SNSECONDS_T_TYPE): Likewise.
73315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73316         (__SNSECONDS_T_TYPE): Likewise.
73318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73320         * sysdeps/mach/hurd/bits/typesizes.h
73321         (__SYSCALL_SLONG_TYPE): New macro.
73322         (__SYSCALL_ULONG_TYPE): Likewise.
73324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73326         * bits/types.h (__syscall_slong_t): New type.
73327         (__syscall_ulong_t): Likewise.
73329         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73330         (__SYSCALL_ULONG_TYPE): Likewise.
73331         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73332         (__SYSCALL_SLONG_TYPE): Likewise.
73333         (__SYSCALL_ULONG_TYPE): Likewise.
73334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73335         (__SYSCALL_SLONG_TYPE): Likewise.
73336         (__SYSCALL_ULONG_TYPE): Likewise.
73337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73338         (__SYSCALL_SLONG_TYPE): Likewise.
73339         (__SYSCALL_ULONG_TYPE): Likewise.
73341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73343         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73344         Add sigaltstack-offsets.sym.
73345         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73346         <sigaltstack-offsets.h>.
73347         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73348         longjmp_msg pointer.
73349         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73350         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73351         signal stack.
73352         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73354 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73356         * elf/stackguard-macros.h: Remove file.
73357         * sysdeps/generic/stackguard-macros.h: New file.
73358         * sysdeps/i386/stackguard-macros.h: Likewise.
73359         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73360         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73361         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73362         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73363         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73364         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73365         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73366         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73367         <elf/stackguard-macros.h>.
73369         [BZ #14109]
73370         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73371         __aligned__ in attribute.
73372         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73373         (gregset_t): Likewise.
73375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73377         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73378         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73379         * sysdeps/x86_64/x32/Implies-after: New file.
73381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73383         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73384         and access return value for _dl_profile_fixup.  Use R10_LP to
73385         load frame size.
73387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73389         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73393         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73394         * sysdeps/x86_64/x32/sysdep.h: New file.
73396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73398         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73399         * sysdeps/x86_64/setjmp.S: Likewise.
73401 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73403         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73404         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73405         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73406         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73407         remove unused global constant.
73409 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73411         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73412         include of <not-cancel.h>.
73414 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73416         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73418 2012-05-15  Jeff Law  <law@redhat.com>
73419             Andreas Jaeger  <aj@suse.de>
73421         [BZ #13594]
73422         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73423         out from...
73424         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73425         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73426         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73427         code changing __hst_map_handle.map.
73429 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73431         * configure.in (sysnames): Look for Implies-before and Implies-after
73432         files.
73433         * configure: Regenerated.
73435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73437         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73438         8-byte data alignment with LP_SIZE alignment.
73440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73442         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73443         into R10_LP.
73445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73447         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73451         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73452         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73453         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73454         Likewise.
73455         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73459         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73460         (stackinfo_sub_sp): Likewise.
73462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73464         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73465         RAX_LP.
73467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73469         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73470         into R*_LP.
73472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73474         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73475         sizes into R*_LP.
73477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73479         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73483         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73484         into R11_LP and load __x86_64_shared_cache_size_half into
73485         R8_LP.
73487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73489         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73490         R8_LP.
73492 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73494         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73495         logb for POWER7.
73496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73497         logbf for POWER7.
73498         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73499         logbl for POWER7.
73500         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73501         powerpc32/power7/fpu/s_logb.c via #include.
73502         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73503         powerpc32/power7/fpu/s_logbf.c via #include.
73504         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73505         powerpc32/power7/fpu/s_logbl.c via #include.
73507 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73509         * README.libm: Remove file.
73511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73513         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73514         count for x32.  Use R*_LP and omit operand-size suffix.
73516 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73518         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73519         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73520         * sysdeps/x86_64/x32/shlib-versions: New file.
73522 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73524         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73525         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73526         Use _dl_fatal_printf instead.
73528 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73530         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73531         set if not set by the user.  Do not allow for being unset.
73532         * sysdeps/unix/sysv/linux/configure: Regenerated.
73534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73536         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73537         the `q' suffix from lea and replace .quad with ASM_ADDR.
73539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73541         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73542         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73543         instead of $17.
73544         (PTR_DEMANGLE): Likewise.
73546 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73548         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73549         (LP_OP): Likewise.
73550         (ASM_ADDR): Likewise.
73551         (RAX_LP): Likewise.
73552         (RBP_LP): Likewise.
73553         (RBX_LP): Likewise.
73554         (RCX_LP): Likewise.
73555         (RDI_LP): Likewise.
73556         (RSI_LP): Likewise.
73557         (RSP_LP): Likewise.
73558         (R8_LP): Likewise.
73559         (R9_LP): Likewise.
73560         (R10_LP): Likewise.
73561         (R10_LP): Likewise.
73562         (R11_LP): Likewise.
73563         (R12_LP): Likewise.
73564         (R13_LP): Likewise.
73565         (R14_LP): Likewise.
73566         (R15_LP): Likewise.
73568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73570         * sysdeps/x86_64/x32/dl-machine.h: New file.
73572 2012-05-14  Andreas Jaeger  <aj@suse.de>
73574         * manual/Makefile (subdir): Remove export of subdir.
73575         (all): Remove target.
73576         (.PHONY): Remove all from list.
73577         (mkinstalldirs): Remove.
73578         (.PHONY): Remove installdirs from list.
73579         ($(inst_infodir)/libc.info): Use make-target-directory.
73580         (installdirs): Remove.
73581         (subdir_%): Remove.
73582         (glibc-targets): Remove.
73583         (lib): Remove.
73584         (stubs): Remove.
73585         ($(objpfx)stubs ../po/manual.pot): Remove.
73586         ($(objpfx)stamp%): Remove.
73587         (make-target-directory): Remove.
73588         (subdir_install): Remove.
73589         (routines): Remove.
73590         (aux): Remove.
73591         (sources): Remove.
73592         (objects): Remove.
73593         (headers): Remove.
73595         [BZ #13750]
73596         * manual/.gitignore: Remove, it's not needed anymore.
73597         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73598         all files in it.
73599         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73600         directory.
73601         (texis): Renamed to $(objpfx)texis.
73602         (texis-path): New, contains path to generated files.
73603         (chapters.%): Use texis-path for complete path, add extra argument
73604         libc-texinfo.sh.
73605         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73606         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73607         (summary,texi, stamp-summary): Use complete path of
73608         files. Generate files in build dir.
73609         (dir-add.texi): Build in build dir.
73610         (libm-err.texi,stamp-libm-err): Likewise.
73611         (version.texi, stamp-version): Likewise.
73612         (.%c.texi): Likewise.
73613         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73614         (mostlyclean): Remove target.
73615         (realclean): Remove target.
73616         (generated): Add new variable with contents from mostlyclean and
73617         realclean, remove entries duplicated in common-mostlyclean, add
73618         stamp-libm-err and stamp-version.
73619         (generated-dirs): Add libc directory.
73620         ($(inst_infodir)/libc.info): Install files from build dir.
73622         * manual/install.texi (Configuring and compiling): Adjust since
73623         the info files are not part of the tar ball anymore.
73625 2012-05-14  Andreas Jaeger  <aj@suse.de>
73627         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73628         variable.
73630 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73632         [BZ #13717]
73633         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73634         to 2.2.0 where earlier.
73635         * sysdeps/unix/sysv/linux/configure: Regenerated.
73636         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73637         Remove conditional code.
73638         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73639         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73640         Remove conditional code.
73641         [!__NR_lchown]: Likewise.
73642         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73643         [__NR_lchown]: Likewise.
73644         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73645         comment referencing __ASSUME_LCHOWN_SYSCALL.
73646         * sysdeps/unix/sysv/linux/i386/sigaction.c
73647         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73648         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73649         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73650         Remove conditional code.
73651         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73652         (__protocol_available): Remove #if 0 code.
73653         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73654         conditional code.
73655         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73656         * sysdeps/unix/sysv/linux/kernel-features.h
73657         (__ASSUME_GETCWD_SYSCALL): Don't define.
73658         (__ASSUME_REALTIME_SIGNALS): Likewise.
73659         (__ASSUME_PREAD_SYSCALL): Likewise.
73660         (__ASSUME_PWRITE_SYSCALL): Likewise.
73661         (__ASSUME_POLL_SYSCALL): Likewise.
73662         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73663         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73664         non-SPARC.
73665         (__ASSUME_SIOCGIFNAME): Don't define.
73666         (__ASSUME_MSG_NOSIGNAL): Likewise.
73667         (__ASSUME_SENDFILE): Define unconditionally.
73668         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73669         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73670         conditional code.
73671         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73672         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73673         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73674         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73675         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73676         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73677         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73679         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73682         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73685         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73688         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73691         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73694         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73697         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73698         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73700         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73701         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73702         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73703         Remove conditional code.
73704         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73705         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73706         Remove conditional code.
73707         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73708         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73709         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73710         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73711         Remove conditional code.
73712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73713         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73714         Remove conditional code.
73715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73716         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73717         Remove conditional code.
73718         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73719         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73720         Remove conditional code.
73721         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73722         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73723         Remove conditional code.
73724         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73725         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73726         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73727         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73728         * sysdeps/unix/sysv/linux/sigaction.c
73729         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73730         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73731         * sysdeps/unix/sysv/linux/sigpending.c
73732         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73733         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73734         * sysdeps/unix/sysv/linux/sigprocmask.c
73735         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73736         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73737         * sysdeps/unix/sysv/linux/sigsuspend.c
73738         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73739         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73740         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73741         (__libc_missing_rt_sigs): Remove.
73742         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73743         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73744         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73745         Remove conditional code.
73746         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73747         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73748         return 1.
73749         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73750         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73751         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73752         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73754 2012-05-14  Andreas Jaeger  <aj@suse.de>
73756         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73757         it's not used in glibc.
73758         (__coshm1): Likewise.
73759         (__acosh1p): Likewise.
73760         (__sgn): Likewise.
73762         * manual/string.texi (Copying and Concatenation): Add missing
73763         variable in concat example.
73764         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73768         [BZ #14103]
73769         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73770         __builtin_clzl with __builtin_clzll.
73772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73774         [BZ #14104]
73775         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73776         libc_freeres_ptr.
73778 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73780         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73781         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73782         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73783         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73785 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73787         * NEWS: Update ia64 info.
73789 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73791         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73792         used as bcopy.
73794 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73796         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73797         * sysdeps/unix/syscalls.list (dup3): Likewise.
73798         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73799         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73801 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73803         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73804         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73806 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73808         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73809         thread pointer.
73810         (TLS_IE): Use mov/add instead of movq/addq to load thread
73811         pointer.
73812         (TLS_GD_PREFIX): New.
73813         (TLS_GD): Use it.
73815 2012-05-11  David S. Miller  <davem@davemloft.net>
73817         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73818         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73819         (_FPU_SETCW): Likewise.
73821 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73823         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73824         is 32-byte aligned.
73826 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73828         [BZ #11837]
73829         * iconvdata/gb18030.c: Update tables.
73830         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73831         characters specially.
73832         (BODY for TO_LOOP): Add encoding of missing ranges.
73834 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73836         [BZ #13673]
73837         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73838         * sysdeps/mach/hurd/dup3.c: Likewise.
73839         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73840         * sysdeps/powerpc/memmove.c:: Likewise.
73842 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73844         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73845         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73847 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73849         * elf/elf.h (R_X86_64_RELATIVE64): New.
73850         (R_X86_64_NUM): Updated.
73851         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73852         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
73853         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73854         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73855         tst-quad1pie tst-quad2pie
73856         (modules-names): Add tst-quadmod1 tst-quadmod2.
73857         ($(objpfx)tst-quad1): New dependency.
73858         ($(objpfx)tst-quad2): Likewise.
73859         ($(objpfx)tst-quad1pie): Likewise.
73860         ($(objpfx)tst-quad2pie): Likewise.
73861         * sysdeps/x86_64/tst-quad1.c: New file.
73862         * sysdeps/x86_64/tst-quad1pie.c: New file.
73863         * sysdeps/x86_64/tst-quad2.c: Likewise.
73864         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73865         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73866         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73867         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73868         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73872         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
73873         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
73874         * streams/stropts.h (t_scalar_t): Define type.
73876         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
73877         (_PATH_PRESERVE): Set to "/var/lib".
73878         (_PATH_RWHODIR): Set to "/var/spool/rwho".
73880         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
73881         instead of int.
73883         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
73884         if __dir_mkfile succeeded.
73886         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
73887         checking for _hurd_dtablesize.  Unlock it right after having
73888         finished _hurd_dtable allocation.
73890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73892         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73893         * sysdeps/mach/hurd/configure: Regenerated.
73894         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
73895         special-casing to...
73896         * sysdeps/gnu/configure.in: ... this new file.
73897         * sysdeps/unix/sysv/linux/configure: Regenerated.
73898         * sysdeps/gnu/configure: New generated file.
73900         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
73901         for Linux: use nsec instead of usec, as well as:
73902         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
73903         members of type struct timespec.
73904         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
73905         New macros.
73906         (struct stat64): Likewise.
73907         (_STATBUF_ST_NSEC): New macro.
73908         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
73910         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73911         __strtoul_internal rather than strtoul.
73913 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73915         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
73916         and reject them.
73918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73920         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
73921         which preserves existing values.
73922         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
73924 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73926         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
73927         TIMEOUT values.  Return EINVAL for NFDS values either negative or
73928         greater than FD_SETSIZE.
73930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73932         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
73933         allocated, call __vm_protect to finish enabling the existing space, and
73934         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
73935         allocate the remainder.
73937 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73939         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
73940         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
73942 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73944         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
73945         sysdeps/mach/hurd/readlink.c.
73947         * posix/tst-sysconf.c (posix_options): Only use
73948         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
73949         _POSIX_SYNCHRONIZED_IO when they are defined
73950         * sysdeps/mach/hurd/bits/posix_opt.h:
73951         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
73952         (_XOPEN_REALTIME): Undefine macro.
73953         (_XOPEN_REALTIME_THREADS): Undefine macro.
73954         (_XOPEN_SHM): Undefine macro.
73955         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
73956         macro to -1.
73957         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
73958         macro to -1.
73959         (_POSIX_ASYNC_IO): Undefine macro.
73960         (_POSIX_PRIORITIZED_IO): Undefine macro.
73961         (_POSIX_SPIN_LOCKS): Define macro to -1.
73963         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
73964         SA_NODEFER, SA_RESETHAND.
73965         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
73966         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
73967         F_DUPFD_CLOEXEC.
73969 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73971         * elf/Makefile (pldd-modules): Define unconditionally.
73973 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73975         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
73977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73979         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73980         Return ENOENT when name is empty.
73981         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
73983 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73985         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
73987         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
73989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73991         Fix mlock in all cases except non-readable pages.
73992         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
73993         instead of VM_PROT_ALL as parameter to __vm_wire function.
73995         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
73996         (__mkdir): When path is `/', just fail with EEXIST.
73997         * sysdeps/mach/hurd/mkdirat.c: Likewise.
73999 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74001         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74002         <sys/uio.h> (for writev).
74003         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74004         and <sys/param.h> (for MIN).
74006 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74008         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74009         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74010         if interrupted.
74012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74014         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74015         Depend on against $(link-rpcuserlibs).
74017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74019         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74020         (__libc_stack_end): Do not use attribute_relro.
74021         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74022         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74023         to libthread-provided value.
74024         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74025         attribute_relro.
74027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74029         [BZ #3748]
74030         * bits/libc-lock.h (__libc_once_get): New macro.
74031         * sysdeps/mach/bits/libc-lock.h: Likewise.
74032         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74034         instead of using implementation details.
74036         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74037         * libio/freopen.c: Likewise.
74038         * libio/freopen64.c: Likewise.
74039         * misc/syslog.c: Likewise.
74040         * nscd/connections.c: Likewise.
74041         * nscd/netgroupcache.c: Likewise.
74042         * sysdeps/posix/getcwd.c: Likewise.
74044 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74046         * math/w_ilogbf.c: Add #include <limits.h>.
74048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74050         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74051         path instead of returning without unlocking.
74053         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74054         immediate-write ioctls.
74055         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74057 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74059         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74060         __builtin_frame_address instead of making assumptions about the
74061         location of the return address relative to DATA.  Force early load of
74062         the return address.
74063         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74064         __builtin_frame_address.
74066         dup3 for GNU Hurd.
74067         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74068         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74069         implement dup3 and do some further code clean-ups.
74070         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74071         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74075         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74077         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74078         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74079         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74080         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74081         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74082         d->port.lock.
74084         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74085         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74086         when handler == SIG_ERR, not when handler != SIG_ERR.
74088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74090         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74091         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74092         definitions.
74094         accept4 for GNU Hurd.
74095         * include/sys/socket.h (__libc_accept4): New prototype.
74096         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74097         to implement __libc_accept4.
74098         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74099         __libc_accept4.
74100         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74102         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74103         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74104         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74105         signal-defines.sym.
74107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74109         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74113         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74114         assertion on O_CLOEXEC flag.
74115         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74116         * hurd/intern-fd.c: Likewise.
74117         * hurd/port2fd.c: Likewise.
74119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74121         [BZ #3906]
74122         * bits/in.h (IPV6_PKTINFO): Define new macro.
74123         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74125 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74127         [BZ #13954]
74128         [BZ #13955]
74129         [BZ #13956]
74130         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74131         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74132         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74133         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74134         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74135         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74136         * math/libm-test.inc (logb_test) : Additional logb tests.
74138 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74139             Andreas Jaeger  <aj@suse.de>
74141         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74142         * configure: Regenerated.
74143         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74144         * config.make.in (link-obsolete-rpc): New substituted variable.
74145         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74146         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74147         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74148         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74149         so that libc.a contains the symbols.
74150         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74151         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74152         * sunrpc/auth_none.c: Likewise.
74153         * sunrpc/auth_unix.c: Likewise.
74154         * sunrpc/authdes_prot.c: Likewise.
74155         * sunrpc/authuxprot.c: Likewise.
74156         * sunrpc/clnt_gen.c: Likewise.
74157         * sunrpc/clnt_perr.c: Likewise.
74158         * sunrpc/clnt_raw.c: Likewise.
74159         * sunrpc/clnt_simp.c: Likewise.
74160         * sunrpc/clnt_tcp.c: Likewise.
74161         * sunrpc/clnt_udp.c: Likewise.
74162         * sunrpc/clnt_unix.c: Likewise.
74163         * sunrpc/des_crypt.c: Likewise.
74164         * sunrpc/des_soft.c: Likewise.
74165         * sunrpc/get_myaddr.c: Likewise.
74166         * sunrpc/key_call.c: Likewise.
74167         * sunrpc/key_prot.c: Likewise.
74168         * sunrpc/netname.c: Likewise.
74169         * sunrpc/pm_getmaps.c: Likewise.
74170         * sunrpc/pm_getport.c: Likewise.
74171         * sunrpc/pmap_clnt.c: Likewise.
74172         * sunrpc/pmap_prot.c: Likewise.
74173         * sunrpc/pmap_prot2.c: Likewise.
74174         * sunrpc/pmap_rmt.c: Likewise.
74175         * sunrpc/publickey.c: Likewise.
74176         * sunrpc/rpc_cmsg.c: Likewise.
74177         * sunrpc/rpc_common.c: Likewise.
74178         * sunrpc/rpc_dtable.c: Likewise.
74179         * sunrpc/rpc_prot.c: Likewise.
74180         * sunrpc/rpc_thread.c: Likewise.
74181         * sunrpc/rtime.c: Likewise.
74182         * sunrpc/svc.c: Likewise.
74183         * sunrpc/svc_auth.c: Likewise.
74184         * sunrpc/svc_raw.c: Likewise.
74185         * sunrpc/svc_run.c: Likewise.
74186         * sunrpc/svc_tcp.c: Likewise.
74187         * sunrpc/svc_udp.c: Likewise.
74188         * sunrpc/svc_unix.c: Likewise.
74189         * sunrpc/svcauth_des.c: Likewise.
74190         * sunrpc/xcrypt.c: Likewise.
74191         * sunrpc/xdr.c: Likewise.
74192         * sunrpc/xdr_array.c: Likewise.
74193         * sunrpc/xdr_float.c: Likewise.
74194         * sunrpc/xdr_intXX_t.c: Likewise.
74195         * sunrpc/xdr_mem.c: Likewise.
74196         * sunrpc/xdr_rec.c: Likewise.
74197         * sunrpc/xdr_ref.c: Likewise.
74198         * sunrpc/xdr_sizeof.c: Likewise.
74199         * sunrpc/xdr_stdio.c: Likewise.
74201 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74203         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
74204         change.  Update copyright years.
74206 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74208         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
74210 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
74211             Joseph Myers  <joseph@codesourcery.com>
74212             Paul Pluzhnikov  <ppluzhnikov@google.com>
74214         [BZ #14012]
74215         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
74216         requiring rpcgen.
74217         [cross-compiling] (extra-libs): Likewise.
74218         [cross-compiling] (extra-libs-others): Likewise.
74219         [cross-compiling] (librpcsvc-routines): Likewise.
74220         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
74221         [cross-compiling] (omit-deps): Likewise.
74222         (sunrpc-CPPFLAGS): New variable.
74223         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
74224         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
74225         (cross-rpcgen-objs): New variable.
74226         (extra-objs): Append $(cross-rpcgen-objs).
74227         ($(cross-rpcgen-objs)): New rule.
74228         ($(objpfx)cross-rpcgen): Likewise.
74229         (rpcgen-cmd): Define to use $(built-program-file).  Expand
74230         comment.
74231         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
74232         ($(objpfx)x%.stmp): Likewise.
74233         * sunrpc/proto.h [IS_IN_build] (_): Define.
74234         [IS_IN_build] (_libc_intl_domainname): Likewise.
74236 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74238         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
74239         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
74240         and R_X86_64_TPOFF64.
74242 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74244         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
74245         sysdeps/unix/sysv/syscalls.list.
74246         (stime): Likewise.
74247         (utime): Likewise.
74248         * sysdeps/unix/sysv/syscalls.list: Remove file.
74250 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
74252         [BZ #3440]
74253         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
74254         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
74255         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
74256         (__LC_IDENTIFICATION): Make these macros useful in #if
74257         expressions, as required by C99.
74259 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74261         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74262         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74263         after this.
74265 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74267         * stdlib/longlong.h: Updated from GCC.
74269 2012-05-09  Andreas Jaeger  <aj@suse.de>
74271         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74272         default is first entry.
74273         (run_mode): Set type.
74274         (main): Remove informal message about syslog.
74275         (options): Fix typo.
74277         [BZ #14053]
74278         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74279         to asm.
74280         (lrint): Likewise.
74281         (llrintf): Likewise.
74282         (llrint): Likewise.
74283         (rint): Likewise.
74284         (rintf): Likewise.
74285         (nearbyint): Likewise.
74286         (nearbyintf): Likewise.
74288 2012-05-09  Andreas Jaeger  <aj@suse.de>
74289             Pedro Alves  <palves@redhat.com>
74291         * nscd/nscd.c (run_mode): Use enum.
74292         (main): Cleanup coding style issue.
74294 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74295             Andreas Jaeger  <aj@suse.de>
74297         * nscd/nscd.c (go_background): Replaced with...
74298         (run_mode): ... this.
74299         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74300         (options): Add -F --foreground.
74301         (main): Implement it.
74302         (parse_opt): Parse it.
74304 2012-05-09  Andreas Jaeger  <aj@suse.de>
74306         [BZ #14083]
74307         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74308         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74309         -Wconversion warning.
74310         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74311         Likewise.
74313 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74315         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74316         == 0.
74317         (LC_ALL): Use macro-int-constant.
74318         (LC_COLLATE): Likewise.
74319         (LC_CTYPE): Likewise.
74320         (LC_MESSAGES): Likewise.
74321         (LC_MONETARY): Likewise.
74322         (LC_NUMERIC): Likewise.
74323         (LC_TIME): Likewise.
74324         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74325         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74326         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74327         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74328         Specify type.
74329         [C99-based standards] (float_t): Expect type.
74330         [C99-based standards] (double_t): Expect type.
74331         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74332         type.
74333         [C99-based standards] (HUGE_VALL): Likewise.
74334         [C99-based standards] (INFINITY): Likewise.
74335         [C99-based standards] (NAN): Likewise.
74336         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74337         [C99-based standards] (FP_NAN): Likewise.
74338         [C99-based standards] (FP_NORMAL): Likewise.
74339         [C99-based standards] (FP_SUBNORMAL): Likewise.
74340         [C99-based standards] (FP_ZERO): Likewise.
74341         [C99-based standards] (FP_FAST_FMA): Use
74342         optional-macro-int-constant.  Specify type.  Require == 1.
74343         [C99-based standards] (FP_FAST_FMAF): Likewise.
74344         [C99-based standards] (FP_FAST_FMAL): Likewise.
74345         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74346         [C99-based standards] (FP_ILOGBNAN): Likewise.
74347         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74348         Specify type.
74349         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74350         [C99-based standards] (math_errhandling): Specify type.
74351         [ISO99 || ISO11] (signgam): Do not allow.
74352         [non-C99-based standards] (copysignf): Do not allow.
74353         [non-C99-based standards] (exp2f): Likewise.
74354         [non-C99-based standards] (log2f): Likewise.
74355         [non-C99-based standards] (modff): Allow.
74356         [non-C99-based standards] (erff): Do not allow.
74357         [non-C99-based standards] (erfcf): Likewise.
74358         [non-C99-based standards] (gammaf): Likewise.
74359         [non-C99-based standards] (hypotf): Likewise.
74360         [non-C99-based standards] (j0f): Likewise.
74361         [non-C99-based standards] (j1f): Likewise.
74362         [non-C99-based standards] (jnf): Likewise.
74363         [non-C99-based standards] (lgammaf): Likewise.
74364         [non-C99-based standards] (tgammaf): Likewise.
74365         [non-C99-based standards] (y0f): Likewise.
74366         [non-C99-based standards] (y1f): Likewise.
74367         [non-C99-based standards] (ynf): Likewise.
74368         [non-C99-based standards] (isnanf): Likewise.
74369         [non-C99-based standards] (acoshf): Likewise.
74370         [non-C99-based standards] (asinhf): Likewise.
74371         [non-C99-based standards] (atanhf): Likewise.
74372         [non-C99-based standards] (cbrtf): Likewise.
74373         [non-C99-based standards] (expm1f): Likewise.
74374         [non-C99-based standards] (ilogbf): Likewise.
74375         [non-C99-based standards] (log1pf): Likewise.
74376         [non-C99-based standards] (logbf): Likewise.
74377         [non-C99-based standards] (nextafterf): Likewise.
74378         [non-C99-based standards] (remainderf): Likewise.
74379         [non-C99-based standards] (rintf): Likewise.
74380         [non-C99-based standards] (scalbf): Likewise.
74381         [non-C99-based standards] (copysignl): Likewise.
74382         [non-C99-based standards] (exp2l): Likewise.
74383         [non-C99-based standards] (log2l): Likewise.
74384         [non-C99-based standards] (modfl): Allow.
74385         [non-C99-based standards] (erfl): Do not allow.
74386         [non-C99-based standards] (erfcl): Likewise.
74387         [non-C99-based standards] (gammal): Likewise.
74388         [non-C99-based standards] (hypotl): Likewise.
74389         [non-C99-based standards] (j0l): Likewise.
74390         [non-C99-based standards] (j1l): Likewise.
74391         [non-C99-based standards] (jnl): Likewise.
74392         [non-C99-based standards] (lgammal): Likewise.
74393         [non-C99-based standards] (tgammal): Likewise.
74394         [non-C99-based standards] (y0l): Likewise.
74395         [non-C99-based standards] (y1l): Likewise.
74396         [non-C99-based standards] (ynl): Likewise.
74397         [non-C99-based standards] (isnanl): Likewise.
74398         [non-C99-based standards] (acoshl): Likewise.
74399         [non-C99-based standards] (asinhl): Likewise.
74400         [non-C99-based standards] (atanhl): Likewise.
74401         [non-C99-based standards] (cbrtl): Likewise.
74402         [non-C99-based standards] (expm1l): Likewise.
74403         [non-C99-based standards] (ilogbl): Likewise.
74404         [non-C99-based standards] (log1pl): Likewise.
74405         [non-C99-based standards] (logbl): Likewise.
74406         [non-C99-based standards] (nextafterl): Likewise.
74407         [non-C99-based standards] (remainderl): Likewise.
74408         [non-C99-based standards] (rintl): Likewise.
74409         [non-C99-based standards] (scalbl): Likewise.
74410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74411         [non-C99-based standards] (FP_*): Do not allow.
74412         [C99-based standards] (FP_*): Change to
74413         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74414         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74415         allow.
74416         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74417         (SIG_ERR): Likewise.
74418         [X/Open-based standards] (SIG_HOLD): Likewise.
74419         (SIG_IGN): Likewise.
74420         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74421         positive value.
74422         (SIGFPE): Likewise.
74423         (SIGILL): Likewise.
74424         (SIGINT): Likewise.
74425         (SIGSEGV): Likewise.
74426         (SIGTER): Likewise.
74427         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74428         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74429         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74430         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74431         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74432         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74433         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74434         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74435         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74436         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74437         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74438         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74439         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74440         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74441         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74442         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74443         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74444         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74445         [X/Open-based standards] (SIGTRAP): Likewise.
74446         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74447         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74448         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74449         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74450         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74451         allow.
74453 2012-05-08  Ian Wienand  <ianw@vmware.com>
74455         [BZ #14080]
74456         * time/tzset.c (__tzset_parse_tz): Update default rules for
74457         daylight time changes in the Energy Policy Act of 2005.
74459 2012-05-09  Andreas Jaeger  <aj@suse.de>
74461         [BZ #13983]
74462         * elf/ldconfig.c (parse_conf): Change string to make clear that
74463         ldconfig only issued a warning if ld.so.conf does not exist.
74465 2012-05-08  David S. Miller  <davem@davemloft.net>
74467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74468         movxtod instead of popping the value on the stack.
74470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74472 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74474         * config.h.in: Add HAVE_ARM_PCS_VFP.
74476 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74478         [BZ #13979]
74479         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74480         checking but the checks are disabled for any reason.
74482 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74484         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74485         and ELF64_R_TYPE with ELFW(R_TYPE).
74487 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74489         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74490         (ulimit): Likewise.
74492         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74493         (settimeofday): Likewise.
74495 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74497         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74498         a struct th_u2 inside the union, and move tu_block/tu_code into
74499         a new th_u3 union of tu_block/tu_code inside of that.  Move
74500         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74501         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74502         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74503         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74504         (th_stuff): Change to th_u1.tu_stuff.
74505         (th_data): Define.
74506         (th_msg): Change to th_u1.th_u2.tu_data.
74508 2012-05-07  David S. Miller  <davem@davemloft.net>
74510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74512         [BZ #14074]
74513         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74514         (SETUP_PIC_REG): Use it.
74515         (SETUP_PIC_REG_LEAF): Use it.
74517 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74519         [BZ #13885]
74520         [BZ #13923]
74521         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74522         USE_AS_EXPM1L.
74523         (EXPL_FINITE): Likewise.
74524         (FLDLOG): Likewise.
74525         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74526         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74527         e_expl.S.
74528         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74529         USE_AS_EXPM1L.
74530         (EXPL_FINITE): Likewise.
74531         (FLDLOG): Likewise.
74532         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74533         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74534         e_expl.S.
74535         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74536         test of -max_value argument for long double.
74537         * sysdeps/i386/fpu/libm-test-ulps: Update.
74538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74540 2012-05-06  David S. Miller  <davem@davemloft.net>
74542         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74543         quad soft-float symbols whose references which are compiler
74544         generated.
74545         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74547 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74549         [BZ #13884]
74550         [BZ #13914]
74551         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74552         USE_AS_EXP10L.
74553         (EXPL_FINITE): Likewise.
74554         (FLDLOG): Likewise.
74555         (c0): Likewise.
74556         (c1): Likewise.
74557         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74558         Adjust comments for base varying.
74559         (__expl_finite): Change alias to EXPL_FINITE.
74560         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74561         e_expl.S.
74562         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74563         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74564         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74565         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74566         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74567         USE_AS_EXP10L.
74568         (EXPL_FINITE): Likewise.
74569         (FLDLOG): Likewise.
74570         (c0): Likewise.
74571         (c1): Likewise.
74572         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74573         Adjust comments for base varying.
74574         (__expl_finite): Change alias to EXPL_FINITE.
74575         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74576         tests for bugs.
74577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74579         [BZ #14064]
74580         * math/libm-test.inc (check_float_internal): Correct ulp
74581         calculation for subnormal expected results.
74583 2012-05-06  Andreas Jaeger  <aj@suse.de>
74585         * Makeconfig (+math-flags): New, set to -frounding-math.
74586         (+cflags): Add +math-flags so that all of glibc gets compiled with
74587         it.
74589         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74591 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74593         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74594         Disable one test.
74596         [BZ #13787]
74597         [BZ #13922]
74598         [BZ #14036]
74599         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74600         (__ieee754_expl): Allow for and saturate large arguments.
74601         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74602         (u_threshold): Likewise.
74603         (__exp): Call __ieee754_exp before checking for overflow and
74604         underflow.
74605         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74606         (u_threshold): Likewise.
74607         (__expf): Call __ieee754_expf before checking for overflow and
74608         underflow.
74609         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74610         (u_threshold): Likewise.
74611         (__expl): Call __ieee754_expl before checking for overflow and
74612         underflow.
74613         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74614         (__ieee754_expl): Allow for and saturate large arguments.
74615         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74616         missing overflow exception on overflow.
74617         (expm1_test): Do not allow missing overflow exception on overflow.
74619         * sysdeps/i386/fpu/e_expl.c: Move to ...
74620         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74621         rather than using inline asm.
74622         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74623         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74624         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74626         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74627         (nice): Likewise.
74628         (poll): Likewise.
74629         (signal): Likewise.
74630         (time): Likewise.
74631         (times): Likewise.
74633 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74635         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74636         sysdeps/unix/common/syscalls.list.
74637         (fchmod): Likewise.
74638         (fchown): Likewise.
74639         (ftruncate): Likewise.
74640         (getrusage): Likewise.
74641         (gettimeofday): Likewise.
74642         (setpgid): Likewise.
74643         (setregid): Likewise.
74644         (setreuid): Likewise.
74645         (sigaction): Likewise.
74646         (truncate): Likewise.
74647         (vhangup): Likewise.
74648         * sysdeps/unix/common/syscalls.list: Remove file.
74649         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74650         * sysdeps/unix/sysv/linux/Implies: Likewise.
74652 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74654         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74656         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74657         Moved to ...
74658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74659         Here.
74660         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74661         to ...
74662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74663         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74664         to ...
74665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74666         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74667         to ...
74668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74669         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74670         to ...
74671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74672         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74673         to ...
74674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74675         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74676         to ...
74677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74678         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74679         to ...
74680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74681         Here.
74682         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74683         to ...
74684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74685         Here.
74686         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74687         to ...
74688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74689         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74690         Moved to ...
74691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74692         Here.
74693         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74694         to ...
74695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74697 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74699         * sysdeps/unix/common/bits/dirent.h: Remove file.
74700         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74702         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74703         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74704         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74705         * sysdeps/unix/bsd/isatty.c: Likewise.
74706         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74707         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74708         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74710 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74712         [BZ #13563]
74713         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74714         long double comparison inaccuracies.
74715         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74718 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74720         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74721         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74723 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74725         [BZ #14049]
74726         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74727         nonzero digits before rounding a hex value.
74728         * stdlib/tst-strtod.c (tests): Add another test.
74730 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74732         * sysdeps/s390/fpu/libm-test-ulps: Update.
74734 2012-05-03  Andreas Jaeger  <aj@suse.de>
74736         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74737         does not get optimized out.
74738         (malloc_opt_barrier): New.
74740 2012-05-03  Andreas Jaeger  <aj@suse.de>
74741             Roland McGrath  <roland@hack.frob.com>
74743         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74744         intermediate file deletion.
74745         (generated): Add .symlist files.
74747 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74749         [BZ #13775]
74750         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74751         Redirect under this condition.
74752         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74753         [__USE_GNU] (__dprintf_chk): Not under this condition.
74754         [__USE_GNU] (__vdprintf_chk): Likewise.
74755         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74756         under this condition.
74757         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74758         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74759         [__USE_XOPEN2K8] (vdprintf): Likewise.
74760         [__USE_GNU] (__dprintf_chk): Not under this condition.
74761         [__USE_GNU] (__vdprintf_chk): Likewise.
74762         [__USE_GNU] (dprintf): Likewise.
74763         [__USE_GNU] (vdprintf): Likewise.
74765 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74767         * elf/Makefile (common-generated): Set this instead of generated for
74768         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74769         $(all-built-dso)-derived lists.
74771 2012-05-03  Andreas Jaeger  <aj@suse.de>
74773         * sysdeps/i386/fpu/libm-test-ulps: Update.
74775         * FAQ: Removed.
74776         * FAQ.in: Likewise.
74777         * scripts/gen-FAQ.pl: Likewise.
74778         * manual/install.texi (Installation): Point to online location of
74779         FAQ.
74780         * Makefile (files-for-dist): Remove FAQ.
74781         (FAQ): Remove.
74783 2012-05-02  Allan McRae  <allan@archlinux.org>
74785         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74786         (LDFLAGS-reldepmod5.so): Likewise.
74787         (LDFLAGS-reldep6mod1.so): Likewise.
74788         (LDFLAGS-reldep6mod4.so): Likewise.
74789         (LDFLAGS-reldep8mod3.so): Likewise.
74790         (LDFLAGS-unload4mod1.so): Likewise.
74791         (LDFLAGS-unload4mod2.so): Likewise.
74792         (LDFLAGS-tst-initorder): Likewise.
74793         (LDFLAGS-tst-initordera2.so): Likewise.
74794         (LDFLAGS-tst-initordera3.so): Likewise.
74795         (LDFLAGS-tst-initordera4.so): Likewise.
74796         (LDFLAGS-tst-initorderb2.so): Likewise.
74797         (LDFLAGS-noload): Likewise.
74798         (LDFLAGS-next): Likewise.
74799         (LDFLAGS-order2mod1.so): Likewise.
74800         (LDFLAGS-order2mod2.so): Likewise.
74801         (LDFLAGS-tst-initorder2): Likewise.
74802         (LDFLAGS-tst-initorder2a.so): Likewise.
74803         (LDFLAGS-tst-initorder2b.so): Likewise.
74804         (LDFLAGS-tst-initorder2c.so): Likewise.
74805         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74807 2012-05-02  David S. Miller  <davem@davemloft.net>
74809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74811 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74813         [BZ #14055]
74814         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74816 2012-05-02  Andreas Jaeger  <aj@suse.de>
74818         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74819         since we manipulate rounding mode.
74820         (CPPFLAGS-test-idouble.c): Likewise.
74821         (CPPFLAGS-test-ifloat.c): Likewise.
74822         (CFLAGS-test-ldouble.c): Likewise.
74823         (CFLAGS-test-double.c): Likewise.
74824         (CFLAGS-test-float.c): Likewise.
74825         (CFLAGS-test-misc.c): Likewise.
74826         (CFLAGS-test-test-fenv.c): Likewise.
74828 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74830         [BZ #2550]
74831         [BZ #2570]
74832         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74833         comparisons to determine direction to adjust input.
74835 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74837         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74838         output to the target.
74840         * scripts/localplt.awk: New file.
74841         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74842         (check-localplt-CFLAGS): Variable removed.
74843         ($(all-built-dso:=.jmprel)): New static pattern rule.
74844         (generated): Add those targets.
74845         (localplt-built-dso): New variable.
74846         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74848         * elf/check-localplt.c: File removed.
74850         * scripts/check-execstack.awk: New file.
74851         * elf/Makefile ($(objpfx)check-execstack): Target removed.
74852         (check-execstack-CFLAGS): Variable removed.
74853         ($(objpfx)check-execstack.h): Target removed.
74854         ($(objpfx)execstack-default): New target.
74855         (generated): Add that instead of check-execstack.h.
74856         ($(all-built-dso:=.phdr)): New static pattern rule.
74857         (generated): Add those targets.
74858         * elf/check-execstack.c: File removed.
74860         * scripts/check-textrel.awk: New file.
74861         * elf/Makefile ($(objpfx)check-textrel): Target removed.
74862         (check-textrel-CFLAGS): Variable removed.
74863         (all-built-dso): Use := to define.o
74864         ($(all-built-dso:=.dyn)): New static pattern rule.
74865         (generated): Add those targets.
74866         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74867         * config.make.in (READELF): New substituted variable.
74868         * elf/check-textrel.c: File removed.
74870 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74872         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74873         allow.
74874         * conform/data/ctype.h-data [C99-based standards] (isblank):
74875         Expect function.
74876         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
74877         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
74878         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74879         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
74880         Specify type.  Require positive value.
74881         (EILSEQ): Likewise.
74882         (ERANGE): Likewise.
74883         [ISO || POSIX] (EILSEQ): Do not expect.
74884         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
74885         Specify type.  Require positive value.
74886         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
74887         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
74888         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74889         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
74890         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
74891         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
74892         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
74893         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
74894         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
74895         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
74896         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
74897         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
74898         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
74899         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
74900         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
74901         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
74902         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
74903         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
74904         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
74905         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
74906         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
74907         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
74908         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
74909         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
74910         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
74911         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
74912         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
74913         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
74914         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
74915         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
74916         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
74917         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
74918         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
74919         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
74920         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
74921         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
74922         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
74923         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
74924         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
74925         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
74926         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
74927         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
74928         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
74929         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
74930         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
74931         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
74932         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
74933         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
74934         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
74935         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
74936         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
74937         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
74938         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
74939         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
74940         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
74941         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
74942         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
74943         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
74944         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
74945         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
74946         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
74947         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
74948         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
74949         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
74950         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
74951         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
74952         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
74953         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
74954         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
74955         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
74956         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
74957         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
74958         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
74959         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
74960         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
74961         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
74962         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
74963         Require >= 2.
74964         (FLT_ROUNDS): Expect as macro, not constant.
74965         (FLT_MANT_DIG): Use macro-int-constant.
74966         (DBL_MANT_DIG): Likewise.
74967         (LDBL_MANT_DIG): Likewise.
74968         (FLT_DIG): Likewise.
74969         (DBL_DIG): Likewise.
74970         (LDBL_DIG): Likewise.
74971         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
74972         (DBL_MIN_EXP): Likewise.
74973         (LDBL_MIN_EXP): Likewise.
74974         (FLT_MAX_EXP): Use macro-int-constant.
74975         (DBL_MAX_EXP): Likewise.
74976         (LDBL_MAX_EXP): Likewise.
74977         (FLT_MAX_10_EXP): Likewise.
74978         (DBL_MAX_10_EXP): Likewise.
74979         (LDBL_MAX_10_EXP): Likewise.
74980         (FLT_MAX): Use macro-constant.
74981         (DBL_MAX): Likewise.
74982         (LDBL_MAX): Likewise.
74983         (FLT_EPSILON): Use macro-constant.  Give upper bound.
74984         (DBL_EPSILON): Likewise.
74985         (LDBL_EPSILON): Likewise.
74986         (FLT_MIN): Likewise.
74987         (DBL_MIN): Likewise.
74988         (LDBL_MIN): Likewise.
74989         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
74990         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
74991         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
74992         [ISO11] (FLT_HAS_SUBNORM): Likewise.
74993         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
74994         [ISO11] (DBL_DECIMAL_DIG): Likewise.
74995         [ISO11] (FLT_DECIMAL_DIG): Likewise.
74996         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
74997         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
74998         [ISO11] (FLT_TRUE_MIN): Likewise.
74999         [ISO11] (LDBL_TRUE_MIN): Likewise.
75000         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75001         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75002         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75003         (SCHAR_MAX): Likewise.
75004         (UCHAR_MAX): Likewise.
75005         (CHAR_MIN): Likewise.
75006         (CHAR_MAX): Likewise.
75007         (MB_LEN_MAX): Use macro-int-constant.
75008         (SHRT_MIN): Use macro-int-constant.  Specify type.
75009         (SHRT_MAX): Likewise.
75010         (USHRT_MAX): Likewise.
75011         (INT_MAX): Likewise.
75012         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75013         bound negative.
75014         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75015         bound with "U".
75016         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75017         bound with "L".
75018         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75019         bound negative.  Suffix upper bound with "L".
75020         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75021         bound with "UL".
75022         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75023         Specify type.
75024         [C99-based standards] (LLONG_MAX): Likewise.
75025         [C99-based standards] (ULLONG_MAX): Likewise.
75026         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75027         == 0.
75028         [ISO11] (max_align_t): Require type.
75029         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75031         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75032         from $CFLAGS, without defining away __attribute__ calls.
75033         (checknamespace): Use $CFLAGS_namespace.
75035         * conform/conformtest.pl (@keywords): Only include C99 keywords
75036         for standards based on C99 or C11.
75038         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75039         Disable tests.
75040         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75041         UNIX98]: Likewise.
75043         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75044         usability of symbols in #if.
75046         * conform/conformtest.pl: If macro or constant types start
75047         "promoted:", expect the symbol to be of the following type
75048         promoted by the integer promotions.
75050         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75051         in one place.  Also handle "macro-constant".
75053         * conform/conformtest.pl: Only accept expected macro values with
75054         "==".  Parse all "macro" lines in one place.
75055         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75057         * conform/conformtest.pl: Handle braced types on "constant" lines
75058         instead of handling "typed-constant".
75059         * conform/data/signal.h-data: Use "constant" instead of
75060         "typed-constant".
75062         * conform/conformtest.pl: Handle "optional-" at start of lines in
75063         one place rather than duplicating several cases.  Handle each
75064         format of "macro" line with initial "optional-".
75066         * conform/conformtest.pl: Only accept expected constant or
75067         optional-constant values with "==".  Parse all "constant" lines in
75068         one place.  Parse all "optional-constant" lines in one place.
75069         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75070         * conform/data/fmtmsg.h-data: Likewise.
75071         * conform/data/netinet/in.h-data: Likewise.
75072         * conform/data/tar.h-data: Likewise.
75073         * conform/data/limits.h-data: Use "==" form on "constant" and
75074         "optional-constant" lines.
75076         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75077         Use -std=c99 for XOPEN2K.
75078         (@knownproblems): Remove.
75079         (newtoken): Don't check %isknown.
75081         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75082         Do not expect macro.
75083         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75084         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75085         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75086         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75087         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75088         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75089         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75090         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75091         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75092         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75093         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75094         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75095         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75096         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75097         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75098         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75099         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75100         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75101         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75102         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75103         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75104         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75105         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75106         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75107         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75108         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75109         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75110         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75111         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75112         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75113         [XPG3] (acosh): Likewise.
75114         [XPG3] (asinh): Likewise.
75115         [XPG3] (atanh): Likewise.
75116         [XPG3] (cbrt): Likewise.
75117         [XPG3] (expm1): Likewise.
75118         [XPG3] (ilogb): Likewise.
75119         [XPG3] (log1p): Likewise.
75120         [XPG3] (logb): Likewise.
75121         [XPG3] (nextafter): Likewise.
75122         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75123         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75124         [XPG3] (remainder): Likewise.
75125         [XPG3] (rint): Likewise.
75126         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75127         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75128         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75129         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75130         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75131         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75132         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75133         [UNIX98 || XOPEN2K] (scalb): Expect.
75134         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75135         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75136         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75137         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75138         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75139         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75140         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75141         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75142         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75143         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75144         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75145         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75146         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75147         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75148         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75149         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75150         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75151         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75152         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75153         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75154         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75155         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75156         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75157         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75158         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75159         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75160         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75161         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75162         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75163         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75164         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75165         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75166         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75167         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75168         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75169         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75170         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75171         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75172         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75173         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75174         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75175         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75176         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75177         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75178         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75179         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75180         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75181         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75182         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75183         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
75184         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
75185         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
75186         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
75187         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
75188         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
75189         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
75190         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
75191         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
75192         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
75193         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
75194         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
75195         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
75196         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
75197         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
75198         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
75199         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
75200         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
75201         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
75202         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
75203         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
75204         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
75205         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
75206         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
75207         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
75208         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
75209         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
75210         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
75211         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
75212         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
75213         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
75214         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
75215         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
75216         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
75217         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
75218         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
75219         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
75220         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
75221         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
75222         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
75223         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
75224         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
75225         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
75226         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
75227         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
75228         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
75229         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
75230         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
75231         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
75232         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
75233         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
75234         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
75235         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
75236         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
75237         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
75238         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
75239         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
75240         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
75241         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
75242         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
75243         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
75244         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
75245         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
75246         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
75247         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
75248         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
75249         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
75250         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
75251         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
75252         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
75253         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
75254         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
75255         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
75256         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
75257         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
75258         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
75259         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
75260         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75261         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75262         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75263         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75264         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75265         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75266         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75267         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75268         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75269         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75270         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75272         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75273         _XOPEN_SOURCE_EXTENDED for XPG4.
75275         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75277         * Makeconfig (localtime): Remove variable.
75278         (inst_localtime-file): Likewise.
75280 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75283         Update.
75284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75285         Update.
75286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75287         Update.
75288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75289         Update.
75290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75291         Update.
75292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75293         Update.
75294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75295         Update.
75296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75297         Update.
75298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75299         Update.
75301 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75303         [BZ #2550]
75304         [BZ #2570]
75305         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75306         comparisons to determine direction to adjust input.
75307         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75308         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75309         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75310         Likewise.
75311         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75312         Likewise.
75313         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75314         Likewise.
75315         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75316         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75317         Likewise.
75318         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75319         Likewise.
75320         * math/libm-test.inc (nexttoward_test): Add more tests.
75322 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75324         [BZ #14040]
75325         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75326         in version GLIBC_2.1, not GLIBC_2.0.
75327         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75328         Likewise.
75330 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75332         [BZ #13942]
75333         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75334         (1 - x) * (1 + x).
75335         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75336         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75337         * math/libm-test.inc (acos_test): Add more tests.
75338         (asin_test): Likewise.
75339         * sysdeps/i386/fpu/libm-test-ulps: Update.
75340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75342         [BZ #14034]
75343         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75344         of square root.
75345         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75346         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75347         * math/libm-test.inc (acos_test_tonearest): New function.
75348         (acos_test_towardzero): Likewise.
75349         (acos_test_downward): Likewise.
75350         (acos_test_upward): Likewise.
75351         (asin_test_tonearest): Likewise.
75352         (asin_test_towardzero): Likewise.
75353         (asin_test_downward): Likewise.
75354         (asin_test_upward): Likewise.
75355         (main): Call the new functions.
75356         * sysdeps/i386/fpu/libm-test-ulps: Update.
75357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75359         [BZ #13884]
75360         [BZ #13924]
75361         * math/e_exp10.c: Include <float.h>.
75362         (__ieee754_exp10): Handle underflow here rather than multiplying
75363         large negative argument by M_LN10.
75364         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75365         of __ieee754_expf.
75366         * math/e_exp10l.c: Include <float.h>.
75367         (__ieee754_exp10l): Handle underflow here rather than multiplying
75368         large negative argument by M_LN10l.
75369         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75370         spurious overflow exception on underflow.
75372 2012-04-29  Marek Polacek  <polacek@redhat.com>
75374         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75375         (__fortify_function): New macro.
75376         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75377         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75378         __extern_always_inline.
75379         * libio/bits/stdio2.h: Likewise.
75380         * libio/bits/stdio.h: Likewise.
75381         * string/string.h: Likewise.
75382         * string/bits/string3.h: Likewise.
75383         * include/stdio.h: Likewise.
75384         * stdlib/bits/stdlib.h: Likewise.
75385         * stdlib/stdlib.h: Likewise.
75386         * rt/bits/mqueue2.h: Likewise.
75387         * rt/mqueue.h: Likewise.
75388         * posix/bits/unistd.h: Likewise.
75389         * posix/unistd.h: Likewise.
75390         * io/bits/poll2.h: Likewise.
75391         * io/bits/fcntl2.h: Likewise.
75392         * io/fcntl.h: Likewise.
75393         * io/sys/poll.h: Likewise.
75394         * misc/bits/syslog.h: Likewise.
75395         * misc/bits/syslog-ldbl.h: Likewise.
75396         * misc/sys/syslog.h: Likewise.
75397         * socket/bits/socket2.h: Likewise.
75398         * socket/sys/socket.h: Likewise.
75399         * debug/tst-chk1.c: Likewise.
75400         * wcsmbs/bits/wchar2.h: Likewise.
75401         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75402         * wcsmbs/wchar.h: Likewise.
75404 2012-04-29  Andreas Jaeger  <aj@suse.de>
75406         * Makerules (tests): Remove enable-check-abi protection.
75407         (check-abi-warn): Remove.
75408         (check-abi-%): Remove check-abi-warn usage.
75410         * configure.in: Remove check-abi configure option.
75411         * configure: Regenerated.
75412         * config.make.in (enable-check-abi): Remove.
75414 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75416         [BZ #14033]
75417         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75418         double functions to double *_finite functions.
75420         [BZ #13941]
75421         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75422         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75423         LDBL_MIN_EXP.
75424         * stdio-common/Makefile (tests): Add tst-sprintf3.
75425         * stdio-common/tst-sprintf3.c: New file.
75427         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75428         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75430 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75432         * conform/conformtest.pl: Remove duplicate typed-constant
75433         handling.
75435 2012-04-28  David S. Miller  <davem@davemloft.net>
75437         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75438         (check-abi-%): Remove AWK script prerequisite and explicit
75439         abilist directory.
75440         (check-abi): Rewrite to just diff the symlist with the abilist.
75441         (config-tls, config-abi-config): Delete, no longer used.
75442         (update-abi-%): Remove AWK script and explicit abilist directory.
75443         (update-abi): Rewrite to simply compare and conditionally copy the
75444         symlist and the sysdep abilist file.  Remove update-abi-config
75445         checks.
75446         * abilist/ld.abilist: Remove.
75447         * abilist/libBrokenLocale.abilist: Remove.
75448         * abilist/libanl.abilist: Remove.
75449         * abilist/libcrypt.abilist: Remove.
75450         * abilist/libdl.abilist: Remove.
75451         * abilist/librt.abilist: Remove.
75452         * abilist/libthread_db.abilist: Remove.
75453         * abilist/libutil.abilist: Remove.
75454         * scripts/extract-abilist.awk: Remove.
75455         * scripts/merge-abilist.awk: Remove.
75456         * sysdeps/generic/libcidn.abilist: New file.
75457         * sysdeps/generic/libnss_compat.abilist: New file.
75458         * sysdeps/generic/libnss_db.abilist: New file.
75459         * sysdeps/generic/libnss_dns.abilist: New file.
75460         * sysdeps/generic/libnss_files.abilist: New file.
75461         * sysdeps/generic/libnss_hesiod.abilist: New file.
75462         * sysdeps/generic/libnss_nis.abilist: New file.
75463         * sysdeps/generic/libnss_nisplus.abilist: New file.
75464         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75465         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75466         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75467         file.
75468         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75469         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75470         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75471         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75472         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75473         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75474         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75475         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75476         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75477         file.
75478         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75479         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75480         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75481         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75482         file.
75483         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75484         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75485         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75486         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75487         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75488         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75489         file.
75490         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75491         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75492         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75493         file.
75494         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75496         New file.
75497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75498         New file.
75499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75500         New file.
75501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75502         New file.
75503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75504         New file.
75505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75506         New file.
75507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75508         New file.
75509         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75510         New file.
75511         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75512         New file.
75513         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75514         New file.
75515         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75516         New file.
75517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75518         New file.
75519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75520         New file.
75521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75522         file.
75523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75524         New file.
75525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75526         New file.
75527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75528         file.
75529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75530         New file.
75531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75532         New file.
75533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75534         file.
75535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75536         New file.
75537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75538         New file.
75539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75540         New file.
75541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75542         New file.
75543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75544         New file.
75545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75546         New file.
75547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75549         file.
75550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75551         New file.
75552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75553         file.
75554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75555         file.
75556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75557         file.
75558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75559         file.
75560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75561         file.
75562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75563         New file.
75564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75565         file.
75566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75567         file.
75568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75569         New file.
75570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75571         file.
75572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75574         file.
75575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75576         New file.
75577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75578         file.
75579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75580         file.
75581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75582         file.
75583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75584         file.
75585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75586         file.
75587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75588         New file.
75589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75590         file.
75591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75592         file.
75593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75594         New file.
75595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75596         file.
75597         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75598         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75599         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75600         file.
75601         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75602         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75603         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75604         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75605         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75606         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75607         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75608         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75609         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75610         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75613         file.
75614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75615         New file.
75616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75617         file.
75618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75619         file.
75620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75621         file.
75622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75623         file.
75624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75625         file.
75626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75627         New file.
75628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75629         New file.
75630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75631         file.
75632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75633         New file.
75634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75635         file.
75636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75638         file.
75639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75640         New file.
75641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75642         file.
75643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75644         file.
75645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75646         file.
75647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75648         file.
75649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75650         file.
75651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75652         New file.
75653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75654         New file.
75655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75656         file.
75657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75658         New file.
75659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75660         file.
75662 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75664         * conform/conformtest.pl: Fix typo in handling typed-constant from
75665         allow-header.
75667 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75669         * README: Cut down references to pre-2.6 Linux kernels and
75670         Linuxthreads.  Update lists of configurations in libc and ports
75671         and sort alphabetically.  Say "or newer" with Linux kernel version
75672         requirements.
75674         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75676 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75678         [BZ #887]
75679         * math/libm-test.inc (logb_test_downward): New test to expose
75680         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75681         rounding mode.
75683 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75685         [BZ #14027]
75686         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75687         to be done.
75688         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75689         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75691 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75693         * sysdeps/unix/i386/brk.S: Remove file.
75694         * sysdeps/unix/i386/dl-brk.S: Likewise.
75695         * sysdeps/unix/i386/pipe.S: Likewise.
75696         * sysdeps/unix/i386/sigreturn.S: Likewise.
75697         * sysdeps/unix/i386/syscall.S: Likewise.
75698         * sysdeps/unix/i386/vfork.S: Likewise.
75699         * sysdeps/unix/i386/wait.S: Likewise.
75701         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75702         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75704         * configure.in (arm*-none*): Do not allow without
75705         --enable-hacker-mode.
75706         (netbsd*): Remove case setting base_os.
75707         (386bsd*): Likewise.
75708         (freebsd*): Likewise.
75709         (bsdi*): Likewise.
75710         (osf*): Likewise.
75711         (sunos*): Likewise.
75712         (ultrix*): Likewise.
75713         (newsos*): Likewise.
75714         (dynix*): Likewise.
75715         (*bsd*): Likewise.
75716         (sysv*): Likewise.
75717         (isc*): Likewise.
75718         (esix*): Likewise.
75719         (sco*): Likewise.
75720         (minix*): Likewise.
75721         (irix4*): Likewise.
75722         (irix6*): Likewise.
75723         (solaris[2-9]*): Likewise.
75724         (none): Likewise.
75725         * configure: Regenerated.
75727 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75729         [BZ #11521]
75730         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75731         overflow or cancellation in calculating denominator.
75732         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75734         down expression to avoid unexpected rounding in newer GCCs.
75735         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75737 2012-04-26  David S. Miller  <davem@davemloft.net>
75739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75740         long-double compat symbols.
75741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75755 2012-04-25  David S. Miller  <davem@davemloft.net>
75757         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75758         HWCAP_* values only after the memory barriers have been defined.
75759         (atomic_full_barrier): Define.
75760         (atomic_read_barrier): Define.
75761         (atomic_write_barrier): Define.
75763 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75765         * shlib-versions: Add libgcc_s version information.
75766         * sysdeps/generic/libgcc_s.h: Remove.
75767         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75768         libgcc_s.h.
75769         * sysdeps/gnu/unwind-resume.c: Likewise.
75770         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75772 2012-04-25  David S. Miller  <davem@davemloft.net>
75774         * sysdeps/unix/sparc/brk.S: Delete.
75775         * sysdeps/unix/sparc/dl-brk.S: Delete.
75776         * sysdeps/unix/sparc/pipe.S: Delete.
75777         * sysdeps/unix/sparc/sysdep.S: Delete.
75778         * sysdeps/unix/sparc/sysdep.h: Delete.
75779         * sysdeps/unix/sparc/vfork.S: Delete.
75780         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75781         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75782         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75783         (ret_ERRVAL, r0, r1, MOVE): Define.
75784         (JUMPTARGET): Remove.
75785         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75786         sysdeps/unix/sparc/sysdep.h
75787         (ENTRY, END): Remove.
75788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75790 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75792         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75793         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75794         -DIS_IN_build.
75796         * timezone/README: Update upstream location and email address for
75797         tzcode and tzdata.
75798         * timezone/zdump.c: Update from tzcode 2012b.
75799         * timezone/zic.c: Likewise.
75801         * configure.in (libc_cv_as_needed): Remove test.
75802         * configure: Regenerated.
75803         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75804         conditional definition.
75805         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75806         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75807         * config.make.in (have-as-needed): Remove variable.
75809 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75810             Paul Pluzhnikov  <ppluzhnikov@google.com>
75812         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75813         strings correctly.
75815 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75817         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75818         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75819         * sysdeps/sh/strlen.S: Likewise.
75821 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75823         * sysdeps/unix/fork.S: Remove file.
75824         * sysdeps/unix/i386/fork.S: Likewise.
75825         * sysdeps/unix/sparc/fork.S: Likewise.
75827         * sysdeps/unix/system.c: Remove file.
75828         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75830         * sysdeps/unix/getegid.S: Remove file.
75831         * sysdeps/unix/geteuid.S: Likewise.
75833 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75835         * scripts/check-localplt.awk: New file.
75836         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75837         of diff.
75838         * scripts/data/localplt-generic.data: Add a comment.
75840         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75841         NODE when __dir_mkfile failed.
75842         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75843         Reported by Ludovic Courtès <ludo@gnu.org>.
75845 2012-04-24  Andreas Jaeger  <aj@suse.de>
75847         * Makerules (common-clean): Also remove gen-as-const-headers
75848         files.
75850 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75852         * Makerules (native-compile): Do not change working directory for
75853         build.  Use $(OUTPUT_OPTION) in command.
75854         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75856 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75858         [BZ #13886]
75859         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75860         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75861         * math/libm-test.inc (floor_test): Add more tests.
75862         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75864 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75866         * sysdeps/unix/getdents.c: Remove file.
75867         * sysdeps/unix/sysv/getdents.c: Likewise.
75868         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75870         * sysdeps/unix/syscalls.list (madvise): Add syscall from
75871         sysdeps/unix/mman/syscalls.list.
75872         (mmap): Likewise.
75873         (mprotect): Likewise.
75874         (msync): Likewise.
75875         (munmap): Likewise.
75876         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
75877         * sysdeps/unix/mman/syscalls.list: Remove.
75878         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
75880         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
75881         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
75882         * configure: Regenerated.
75883         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
75884         $(libgcc_s_suffix).
75885         * config.make.in (libgcc_s_suffix): Remove variable.
75887 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
75889         * sysdeps/unix/sysv/gethostname.c: Move to ...
75890         * sysdeps/posix/gethostname.c: ... here.
75892         * sysdeps/unix/execve.S: Remove file.
75894         * sysdeps/unix/_exit.S: Remove file.
75896 2012-04-23  Andreas Jaeger  <aj@suse.de>
75898         [BZ #13739]
75899         * manual/Makefile: Remove make dist support, there's no
75900         need for a stand-alone documentation tar ball.
75901         (TEXI2DVI): Define always, it's not in Makeconfig.
75902         (dist): Removed.
75903         (tar-it): Removed.
75904         (edition): Removed.
75905         (glibc-doc-$(edition).tar): Removed
75906         (%.Z): Removed.
75907         (%.gz): Removed.
75908         (%.uu): Removed.
75909         (ETAGS): Remove, it's in Makeconfig.
75910         (move-if-change): Remove, it's in Makeconfig.
75912 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
75914         [BZ #13970]
75915         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
75916         (strtod, strtof, strtold, strtol, strtoul, strtoq)
75917         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
75918         (strtod_l, strtof_l, strtold_l): Remove __wur.
75919         It is not necessarily an error to ignore strtol's return value.
75920         One can reliably look at the stored endptr to decide whether
75921         the number had valid syntax.
75923 2012-04-21  Andreas Jaeger  <aj@suse.de>
75925         [BZ #13739]
75926         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
75928 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
75930         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
75931         * sysdeps/unix/sysv/Versions: Remove file.
75933 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
75935         [BZ #13927]
75936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75938 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
75940         [BZ #7064]
75941         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
75942         version from __vm86.
75944 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
75946         * sysdeps/unix/common/lxstat.c: Remove file.
75947         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
75949         * sysdeps/unix/sysv/Makefile: Remove file.
75951         * sysdeps/unix/sysv/direct.h: Remove file.
75953         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
75954         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
75955         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
75956         * sysdeps/unix/sysv/bits/signum.h: Likewise.
75957         * sysdeps/unix/sysv/bits/stat.h: Likewise.
75958         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
75959         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
75961         * sysdeps/unix/sysv/setrlimit.c: Remove file.
75963         * sysdeps/unix/xmknod.c: Remove file.
75964         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
75966         * sysdeps/unix/sysv/settimeofday.c: Remove file.
75968         * sysdeps/unix/sysv/i386/time.S: Remove file.
75970         * sysdeps/unix/fxstat.c: Remove file.
75971         * sysdeps/unix/xstat.c: Likewise.
75972         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
75974         * sysdeps/unix/sysv/sigaction.c: Remove file.
75976         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
75977         (sysdep_headers): Remove variable.
75978         [termio.h not in sysdep_headers] (generated): Likewise.
75979         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
75980         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
75981         * sysdeps/unix/sysv/tcdrain.c: Likewise.
75982         * sysdeps/unix/sysv/tcflow.c: Likewise.
75983         * sysdeps/unix/sysv/tcflush.c: Likewise.
75984         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
75985         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
75986         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
75987         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
75988         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
75990         * sysdeps/unix/siglist.c: Remove file.
75992         * sysdeps/unix/getppid.S: Remove file.
75994         * sysdeps/unix/mkdir.c: Remove file.
75995         * sysdeps/unix/rmdir.c: Likewise.
75997 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
75999         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76000         ERR_MAX value.
76001         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76002         errlist-compat value.
76004 2012-04-18  David S. Miller  <davem@davemloft.net>
76006         * sysdeps/generic/memcopy.h (reg_char): Delete.
76007         * debug/strcat_chk.c: Use char, not reg_char.
76008         * debug/strcpy_chk.c: Likewise.
76009         * debug/strncat_chk.c: Likewise.
76010         * debug/strncpy_chk.c: Likewise.
76011         * string/memchr.c: Likewise.
76012         * string/memrchr.c: Likewise.
76013         * string/rawmemchr.c: Likewise.
76014         * string/strcat.c: Likewise.
76015         * string/strchr.c: Likewise.
76016         * string/strchrnul.c: Likewise.
76017         * string/strcmp.c: Likewise.
76018         * string/strcpy.c: Likewise.
76019         * string/strncat.c: Likewise.
76020         * string/strncmp.c: Likewise.
76021         * string/strncpy.c: Likewise.
76023 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76025         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76026         __builtin_memcopy is called when src and dest ranges are known to not
76027         overlap.
76029 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76031         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76032         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76033         fwd_align_merge macro call.
76034         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76035         bwd_align_merge macro call.
76036         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76038 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76040         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76041         bwd_align_merge macros.
76042         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76043         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76044         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76046 2012-04-18  David S. Miller  <davem@davemloft.net>
76048         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76050 2012-04-18  Andreas Jaeger  <aj@suse.de>
76052         [BZ# 6794]
76053         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76054         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76055         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76057         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76058         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76059         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76061         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76062         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76063         Adjust for changed ldbl-128 files.
76065         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76066         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76067         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76069 2012-04-17  David S. Miller  <davem@davemloft.net>
76071         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76073 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76075         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76076         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76077         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76078         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76079         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76080         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76082 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76084         [BZ #6794]
76085         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76086         * math/libm-test.inc: Add ilogb errno and exception tests.
76087         * math/w_ilogb.c: New file: ilogb wrapper.
76088         * math/w_ilogbf.c: New file: ilogbf wrapper.
76089         * math/w_ilogbl.c: New file: ilogbl wrapper.
76090         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76091         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76092         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76093         exception being thrown with 0.0 as argument.
76094         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76095         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76096         exception being thrown with 0.0 as argument.
76097         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76098         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76099         exception being thrown with 0.0 as argument.
76100         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76101         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76102         exception being thrown with 0.0 as argument.
76103         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76104         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76105         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76106         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76107         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76108         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76109         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76110         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76111         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76113 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76115         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76116         with altivec.
76118 2012-04-16  Marek Polacek  <polacek@redhat.com>
76120         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76122 2012-04-16  Marek Polacek  <polacek@redhat.com>
76124         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76125         operands of fdivp instruction.
76127 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76129         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76130         * elf/tst-auditmod3b.c: Likewise.
76131         * elf/tst-auditmod4b.c: Likewise.
76132         * elf/tst-auditmod5b.c: Likewise.
76133         * elf/tst-auditmod6b.c: Likewise.
76134         * elf/tst-auditmod6c.c: Likewise.
76135         * elf/tst-auditmod7b.c: Likewise.
76136         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76137         * sysdeps/x86_64/preconfigure.in: Likewise.
76138         * sysdeps/x86_64/preconfigure: Regenerated.
76140 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76142         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76143         __ILP32__.
76145 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76148         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76150 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76152         [BZ #13973]
76153         * locale/iso-639.def: Fix gl language name. Spotted by
76154         Yaron Shahrabani.
76156 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76158         [BZ #2074]
76159         * libio/libio.h (__io_write_fn): Update comment.
76161 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76163         [BZ #2074]
76164         * stdio.texi (Hook Functions): The user provided writer function
76165         is not allowed to return -1.
76167 2012-04-11  David S. Miller  <davem@davemloft.net>
76169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76171 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76173         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76174         Add a leading slash to rtkaio.
76176 2012-04-11  Jim Meyering  <meyering@redhat.com>
76178         [BZ #11959]
76179         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76180         It is not necessarily an error to ignore fwrite's return
76181         value.  One can reliably use ferror to test for errors after
76182         the fact.
76184 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76186         * bits/types.h (__snseconds_t): New type.
76187         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
76189         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
76190         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76191         (__SNSECONDS_T_TYPE): Likewise.
76192         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76193         (__SNSECONDS_T_TYPE): Likewise.
76194         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76195         (__SNSECONDS_T_TYPE): Likewise.
76197 2012-04-10  Andreas Jaeger  <aj@suse.de>
76199         [BZ #2636]
76200         * manual/time.texi (Processor Time): Return type of times is
76201         elapsed real time since an arbitrary point in the past.
76202         (CPU Time): Move CLK_TCK from here...
76203         (Processor Time): ...to here.  Correct description.
76204         * manual/conf.texi (Constants for Sysconf): Correct description of
76205         _SC_CLK_TCK.
76207 2012-04-10  David S. Miller  <davem@davemloft.net>
76209         [BZ #13967]
76210         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
76211         where the is a gap between DT_REL(A) and DT_JMPREL.
76213 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76215         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
76216         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76217         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76219 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
76221         * elf/dl-support.c (_dl_inhibit_cache): New variable.
76222         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
76223         (dl_main): Handle --inhibit-cache.
76224         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
76225         _dl_inhibit_cache.
76226         * elf/dl-load.c (_dl_map_object): Use it.
76227         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
76229 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76231         [BZ #13872]
76232         * sysdeps/i386/fpu/e_powl.S (p78): New object.
76233         (__ieee754_powl): Saturate large exponents rather than testing for
76234         overflow of y*log2(x).
76235         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76236         * math/libm-test.inc (pow_test): Do not permit spurious overflow
76237         exceptions.
76239         [BZ #11521]
76240         * math/s_ctan.c: Include <float.h>.
76241         (__ctan): Avoid internal overflow or cancellation in calculating
76242         denominator.
76243         * math/s_ctanf.c: Likewise.
76244         * math/s_ctanl.c: Likewise.
76245         * math/s_ctanh.c: Likewise.
76246         * math/s_ctanhf.c: Likewise.
76247         * math/s_ctanhl.c: Likewise.
76248         * math/libm-test.inc (ctan_test): Add more tests.
76249         (ctanh_test): Likewise.
76250         * sysdeps/i386/fpu/libm-test-ulps: Update.
76251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76253 2012-04-09  Andreas Jaeger  <aj@suse.de>
76255         [BZ #6894]
76256         * manual/filesys.texi (Directory Entries): Mention that d_namlen
76257         is an optional BSD extension.
76259         [BZ #10254]
76260         * manual/stdio.texi (Opening Streams): Document additional fopen
76261         parameters.
76263 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76265         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76266         %eax without telling the compiler.
76268 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76270         [BZ # 13963]
76271         * manual/install.texi: Use sourceware.org.
76273 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76275         [BZ #13873]
76276         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76277         (__ieee754_pow): Generate overflow and underflow using huge*huge
76278         and tiny*tiny rather than just returning constant infinity or zero
76279         for large exponents.
76280         * math/libm-test.inc (pow_test): Require overflow exceptions for
76281         applicable cases of large exponents.
76283         [BZ #706]
76284         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76285         (__ieee754_pow): Use iterative multiplication algorithm only for
76286         integer exponents with absolute value below 1024.  Check for odd
76287         integer exponents when using algorithm for real exponents.
76288         * math/libm-test.inc (pow_test): Add more tests.
76289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76291 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76293         [BZ #13705]
76294         * math/libm-test.inc (exp_test): Do not allow overflow exception
76295         on underflow test.
76297 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76299         [BZ #13705]
76300         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76301         instead of __kernel_standard_f.
76303 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76305         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76306         * sysdeps/x86_64/memset_chk.S: Likewise.
76308 2012-04-08  Andreas Jaeger  <aj@suse.de>
76310         [BZ #10153]
76311         * manual/startup.texi (Environment Access): Describe return value
76312         for putenv and setenv.
76314         [BZ #6895]
76315         * manual/filesys.texi (Directory Entries): Add description for
76316         DT_LNK.
76318         [BZ #6890]
76319         * manual/filesys.texi (Directory Entries): Clarify that it's file
76320         system not operating system in the description of DT_UNKNOWN.
76322         [BZ #6578]
76323         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76325 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76327         [BZ #6649]
76328         * manual/llio.texi (Opening and Closing Files): Add cross
76329         reference to explain mode argument.
76331 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76333         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76334         * sysdeps/x86_64/memset_chk.S: Likewise.
76336 2012-04-07  David S. Miller  <davem@davemloft.net>
76338         * elf/elf.h (R_SPARC_WDISP10): Define.
76339         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76340         R_SPARC_SIZE32.
76341         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76342         R_SPARC_SIZE64 and R_SPARC_H34.
76344 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76346         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76347         conditions and remove no longer applicable assertion.
76349 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76351         * bits/byteswap.h: Include <features.h>.
76352         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76353         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76355 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76357         * bits/byteswap.h (__bswap_16): Removed.
76358         Include <bits/byteswap-16.h> to get __bswap_16.
76359         * sysdeps/i386/bits/byteswap.h: Likewise.
76360         * sysdeps/s390/bits/byteswap.h: Likewise.
76361         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76362         * bits/byteswap-16.h: New file.
76363         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76364         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76365         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76366         * string/Makefile (headers): Add bits/byteswap-16.h.
76368 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76370         [BZ #13895]
76371         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76372         extra indirection.
76373         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76374         * nss/tst-nss-static.c: New.
76376 2012-04-06  Robert Millan  <rmh@gnu.org>
76378         [BZ #6486]
76379         * manual/llio.texi (File Position Primitive): lseek
76380         refers to WHENCE when it really means OFFSET.
76382 2012-04-06  Andreas Jaeger  <aj@suse.de>
76384         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76385         strncmp declarations.
76387         * abilist/libc.abilist: Add __poll and __ppoll.
76389 2012-04-05  David S. Miller  <davem@davemloft.net>
76391         * scripts/check-local-headers.sh: Accept a host triplet in the
76392         path matched by the exclude regexp.
76394         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76395         definition.
76396         * sysdeps/powerpc/powerpc32/dl-machine.h
76397         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76398         * sysdeps/s390/s390-32/dl-machine.h
76399         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76400         * sysdeps/sparc/sparc32/dl-machine.h
76401         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76402         * sysdeps/sparc/sparc64/dl-machine.h
76403         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76405         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76406         lazy binding.
76407         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76408         undefined symbol errors.
76410         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76411         DT_NEEDED entries.
76413 2012-04-05  Michael Matz  <matz@suse.de>
76415         [BZ #13592]
76416         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76418 2012-04-05  Andreas Jaeger  <aj@suse.de>
76420         [BZ #13908]
76421         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76422         comment.
76424 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76426         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76427         which ROUND is no valid rounding mode.
76429 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76431         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76432         read again.
76433         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76435 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76437         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76438         an exception using FPU order intentionally.
76440 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76442         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76443         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76444         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76445         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76447 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76449         [BZ #12340]
76450         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76451         EINVAL when BUFLEN is too smal.
76453 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76455         [BZ #13553]
76456         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76457         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76459 2012-04-03  Andreas Jaeger  <aj@suse.de>
76461         [BZ #13938]
76462         * manual/setjmp.texi (System V contexts): Fix sentence.
76464         [BZ #13926]
76465         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76466         New macro for this case.
76467         [!__GNUC__] (__bswap_64): New inline function for this case.
76468         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76469         * bits/byteswap.h: Likewise.
76470         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76471         ull, guard with __GLIBC_HAVE_LONG_LONG.
76473         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76474         __GLIBC_HAVE_LONG_LONG.
76476         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76477         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76479 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76481         [BZ #13691]
76482         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76483         inptr and inend, rather than using last_ch.
76485 2012-04-02  David S. Miller  <davem@davemloft.net>
76487         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76488         * stdio-common/printf-parse.h (read_int): Change return type to
76489         'int', return -1 on INT_MAX overflow.
76490         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76491         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76492         overflows INT_MAX.  Check for overflow of in-format-string precision
76493         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76494         SIZE_MAX not INT_MAX for integer overflow test.
76495         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76496         skip the construct in the format string but do not record anything.
76497         * stdio-common/bug22.c: Adjust to test both width/prevision
76498         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76499         explicitly for proper errno values.
76501 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76503         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76504         CHAR_MAX.
76505         * string/test-strcmp.c [! WIDE]: Likewise.
76506         * time/tst-mktime2.c: Likewise for INT_MAX.
76507         * string/test-string.h: #include <sys/param.h> for MIN.
76509         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76510         * sysdeps/i386/init-first.c (init): Likewise.
76511         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76512         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76513         * sysdeps/sh/init-first.c (init): Likewise.
76515 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76517         * po/ru.po: Update from translation team.
76518         * po/vi.po: Likewise.
76520 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76522         * resolv/nss_dns/dns-host.c: Merge copyright years.
76524 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76526         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76527         Optimize memcpy with prefetch if
76528         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76529         src, dst pointers have unequal 16 byte alignments.
76531 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76533         [BZ #13928]
76534         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76535         from a CNAME entry and return the minimum ttl for the query.
76536         (gaih_getanswer_slice): Likewise.
76538 2012-03-30  Jeff Law  <law@redhat.com>
76540         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76541         due to long keys.
76542         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76543         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76545         * resolv/nss_dns/dns-host.c: Update copyright year.
76547 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76549         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76550         requests to save a system call.  Fix check that all bytes are sent.
76552         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76553         comments for sendmmsg.
76555 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76557         [BZ #13691]
76558         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76559         with only 1 character between 0x0041 and 0x01b0.
76560         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76561         * wcsmbs/tst-mbsnrtowcs.c: New file.
76563 2012-03-29  David S. Miller  <davem@davemloft.net>
76565         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76566         small copies by hand.
76568 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76570         [BZ #13761]
76571         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76572         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76573         group memberships.
76575 2012-03-28  David S. Miller  <davem@davemloft.net>
76577         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76578         that branches into memcpy.
76579         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76580         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76581         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76582         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76584         bits.
76585         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76586         implementation too.
76587         * sysdeps/sparc/mempcpy.S: New file.
76589         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76590         the IFUNC routine in the libc case.
76591         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76593         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76594         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76595         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76596         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76597         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76598         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76599         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76600         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76602         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76603         loop to 256 bytes instead of 64 bytes and fix test signedness.
76605         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76606         * sysdeps/sparc/sparc32/Makefile: rather than here...
76607         * sysdeps/sparc/sparc64/Makefile: and here.
76609 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76611         * malloc/mallocbug.c: Avoid warnings about unused variables.
76613 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76615         [BZ #13760]
76616         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76617         in the right place. Discard and retry query if response is
76618         larger than input buffer size.
76620 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76622         [BZ #369]
76623         [BZ #2678]
76624         [BZ #3866]
76625         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76626         x for large integer exponent.
76627         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76628         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76629         sign of result as needed afterwards.
76630         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76631         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76632         result for underflowing pow the same as for overflow.
76633         (__kernel_standard_l): Handle powl overflow and underflow here
76634         rather than calling __kernel_standard.
76635         * math/libm-test.inc (pow_test): Add more tests.
76637         [BZ #3868]
76638         [BZ #13879]
76639         [BZ #13910]
76640         [BZ #13911]
76641         [BZ #13912]
76642         [BZ #13913]
76643         [BZ #13915]
76644         [BZ #13916]
76645         [BZ #13917]
76646         [BZ #13918]
76647         [BZ #13919]
76648         [BZ #13920]
76649         [BZ #13921]
76650         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76651         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76652         (__kernel_standard_l): New function.
76653         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76654         __kernel_standard.
76655         * math/w_acosl.c (__acosl): Likewise.
76656         * math/w_asinl.c (__asinl): Likewise.
76657         * math/w_atan2l.c (__atan2l): Likewise.
76658         * math/w_atanhl.c (__atanhl): Likewise.
76659         * math/w_coshl.c (__coshl): Likewise.
76660         * math/w_exp10l.c (__exp10l): Likewise.
76661         * math/w_exp2l.c (__exp2l): Likewise.
76662         * math/w_fmodl.c (__fmodl): Likewise.
76663         * math/w_hypotl.c (__hypotl): Likewise.
76664         * math/w_j0l.c (__j0l, __y0l): Likewise.
76665         * math/w_j1l.c (__j1l, __y1l): Likewise.
76666         * math/w_jnl.c (__jnl, __ynl): Likewise.
76667         * math/w_lgammal.c (__lgammal): Likewise.
76668         * math/w_log10l.c (__log10l): Likewise.
76669         * math/w_log2l.c (__log2l): Likewise.
76670         * math/w_logl.c (__logl): Likewise.
76671         * math/w_powl.c (__powl): Likewise.
76672         * math/w_remainderl.c (__remainderl): Likewise.
76673         * math/w_scalbl.c (sysv_scalbl): Likewise.
76674         * math/w_sinhl.c (__sinhl): Likewise.
76675         * math/w_sqrtl.c (__sqrtl): Likewise.
76676         * math/w_tgammal.c (__tgammal): Likewise.
76677         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76678         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76679         * math/libm-test.inc (acos_test): Add more tests.
76680         (acosh_test): Likewise.
76681         (asin_test): Likewise.
76682         (atanh_test): Likewise.
76683         (exp_test): Likewise.
76684         (exp10_test): Likewise.
76685         (exp2_test): Likewise.
76686         (expm1_test): Likewise.
76687         (lgamma_test): Likewise.
76688         (log_test): Likewise.
76689         (log10_test): Likewise.
76690         (log1p_test): Likewise.
76691         (log2_test): Likewise.
76692         (pow_test): Do not allow some spurious overflow exceptions.
76693         (sqrt_test): Add more tests.
76694         (tgamma_test): Likewise.
76695         (y0_test): Likewise.
76696         (y1_test): Likewise.
76697         (yn_test): Likewise.
76699 2012-03-27  Anton Blanchard  <anton@samba.org>
76701         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76702         MAP_HUGETLB.
76703         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76704         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76705         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76707 2012-03-27  David S. Miller  <davem@davemloft.net>
76709         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76711         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76712         have-as-vis3 check.
76714 2012-03-27  Andreas Jaeger  <aj@suse.de>
76716         * sysdeps/x86_64/elf/configure.in: Moved to ...
76717         * sysdeps/x86_64/configure.in: ... here.
76718         * sysdeps/x86_64/elf/start.S: Moved to ...
76719         * sysdeps/x86_64/start.S: ... here.
76720         * sysdeps/x86_64/elf/configure: Delete.
76722         * sysdeps/x86_64/configure.in: Merge contents from
76723         sysdeps/i386/configure.in (without i686 check).
76725         * sysdeps/i386/elf/Versions: Merge into ...
76726         * sysdeps/i386/Versions: ... this.
76727         * sysdeps/i386/elf/Versions: Delete file.
76728         * sysdeps/i386/elf/start.S: Moved to ...
76729         * sysdeps/i386/start.S: ...here.
76730         * sysdeps/i386/elf/configure.in: Merge into...
76731         * sysdeps/i386/configure.in: ...here.
76732         * sysdeps/i386/elf/configure.in: Delete file.
76733         * sysdeps/i386/elf/configure: Delete file.
76735         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76736         * debug/backtracesyms.c: ... here.
76737         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76738         * debug/backtracesymsfd.c: ... here.
76739         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76740         * sysdeps/generic/ifunc-sel.h: ... here.
76742         * sysdeps/unix/i386/start.c: Delete file.
76743         * sysdeps/unix/sparc/start.c: Delete file.
76744         * sysdeps/unix/start.c: Delete file.
76746         * sysdeps/sh/elf/configure.in: Moved to ...
76747         * sysdeps/sh/configure.in: ... here.
76748         * sysdeps/sh/elf/start.S: Moved to ...
76749         * sysdeps/sh/start.S: ... here.
76750         * sysdeps/sh/elf/configure: Delete file.
76752         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76753         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76754         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76755         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76756         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76757         * sysdeps/powerpc/powerpc64/start.S: here.
76758         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76759         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76760         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76761         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76762         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76764         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76765         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76766         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76767         * sysdeps/powerpc/powerpc32/start.S: ... here.
76768         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76769         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76770         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76772         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76773         * sysdeps/powerpc/ifunc-sel.h: ... here.
76774         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76775         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76777         * sysdeps/sparc/elf/configure.in: Moved to ...
76778         * sysdeps/sparc/configure.in: ... here.
76779         * sysdeps/sparc/elf/configure: Delete file.
76780         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76781         * sysdeps/sparc/sparc32/start.S: ... here.
76782         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76783         * sysdeps/sparc/sparc64/start.S: ... here.
76784         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76785         * sysdeps/sparc/sparc32/Makefile: ... this.
76786         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76787         * sysdeps/sparc/sparc64/Makefile: ... this.
76789         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76790         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76791         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76792         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76793         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76794         * sysdeps/s390/s390-32/setjmp.S: ... here.
76795         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76796         * sysdeps/s390/s390-32/configure.in: ... here.
76797         * sysdeps/s390/s390-32/elf/configure: Delete file.
76798         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76799         * sysdeps/s390/s390-32/start.S: ... here.
76801         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76802         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76803         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76804         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76805         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76806         * sysdeps/s390/s390-64/setjmp.S: ... here.
76807         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76808         * sysdeps/s390/s390-64/configure.in: ... here
76809         * sysdeps/s390/s390-64/elf/configure: Delete file.
76810         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76811         * sysdeps/s390/s390-64/start.S: ... here.
76812         * sysdeps/s390/s390-64/elf/configure: Delete.
76814         * configure.in: Remove support for elf directories in sysdeps.
76816         * configure: Regenerated.
76817         * sysdeps/i386/configure: Regenerated.
76818         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76819         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76820         * sysdeps/s390/s390-32/configure: Regenerated.
76821         * sysdeps/s390/s390-64/configure: Regenerated.
76822         * sysdeps/sh/configure: Regenerated.
76823         * sysdeps/sparc/configure: Regenerated.
76824         * sysdeps/x86_64/configure: Regenerated.
76826 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76830         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76831         denormal result into account.
76833 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76835         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76836         Reported by Allan McRae <allan@archlinux.org>.
76838 2012-03-23  Jeff Law  <law@redhat.com>
76840         * nss/getnssent.c (__nss_getent): Fix typo.
76842 2012-03-23  David S. Miller  <davem@davemloft.net>
76844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76846 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
76848         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76849         to pad to uint64_t for each field.
76850         (dl_tls_index): Replace unsigned long with uint64_t.
76852 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
76853         Paul Pluzhnikov  <ppluzhnikov@google.com>
76855         [BZ #6528]
76856         * grp/Makefile (otherlibs): Don't set it.
76857         * inet/Makefile (otherlibs): Likewise.
76858         * login/Makefile (otherlibs): Likewise.
76859         * nscd/Makefile (otherlibs): Likewise.
76860         * posix/Makefile (otherlibs): Likewise.
76861         * pwd/Makefile (otherlibs): Likewise.
76862         * rt/Makefile (otherlibs): Likewise.
76863         * sunrpc/Makefile (otherlibs): Likewise.
76864         * nss/Makefile (otherlibs): Likewise.
76865         Add libnss_files to routines and static-only-routines.
76866         ($(objpfx)getent): Remove rule.
76867         * resolv/Makefile: Add libnss_dns and libresolv to routines and
76868         static-only-routines.
76870 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76872         [BZ #13892]
76873         * math/s_cexp.c: Include <float.h>.
76874         (__cexp): Handle exp result overflowing not necessarily
76875         overflowing both real and imaginary parts of result.
76876         * math/s_cexpf.c: Likewise.
76877         * math/s_cexpl.c: Likewise.
76878         * math/libm-test.inc (cexp_test): Add more tests.
76879         * sysdeps/i386/fpu/libm-test-ulps: Update.
76880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76882 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76884         * include/link.h (ELFW): New macro.
76885         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
76886         Replace ELF64_R_TYPE with ELFW(R_TYPE).
76888 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76890         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
76891         with uint64_t.
76893 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76895         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
76896         declaration.
76897         (struct La_x32_retval): Likewise.
76899 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76901         * sysdeps/x86_64/preconfigure.in: New file.
76902         * sysdeps/x86_64/preconfigure: New generated file.
76904 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76906         [BZ #13824]
76907         * math/e_exp2l.c: Include <float.h>.
76908         (__ieee754_exp2l): Handle overflow and underflow cases
76909         separately.  Only pass fractional part of argument to
76910         __ieee754_expl.
76911         * math/libm-test.inc (exp2_test): Add more tests.
76913         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
76914         negating x to take absolute value.
76915         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
76916         Likewise.
76917         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
76918         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
76919         Likewise.
76920         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
76921         computing low part if x was negated.
76922         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
76924 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76926         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
76927         la_x32_gnu_pltexit.
76928         (pltexit): Cast int_retval to ptrdiff_t.
76929         * elf/tst-auditmod3b.c: Likewise.
76930         * elf/tst-auditmod4b.c: Likewise.
76931         * elf/tst-auditmod5b.c: Likewise.
76932         * elf/tst-auditmod6b.c: Likewise.
76933         * elf/tst-auditmod6c.c: Likewise.
76934         * elf/tst-auditmod7b.c: Likewise.
76936         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
76937         and x32_gnu_pltexit.
76939         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
76940         __ELF_NATIVE_CLASS.
76941         (La_x32_regs): New macro.
76942         (La_x32_retval): Likewise.
76943         (la_x32_gnu_pltenter): New function prototype.
76944         (la_x32_gnu_pltexit): Likewise.
76946 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
76948         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
76949         exponent.
76951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76953         * configure.in (libc_cv_cc_nofma): Check for option to disable
76954         generation of FMA instructions.
76955         * configure: Regenerate.
76956         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
76957         * sysdeps/ieee754/dbl-64/Makefile: New file.
76958         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
76959         Remove brandred-fma4.
76960         (CFLAGS-brandred-fma4.c): Remove.
76961         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
76962         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
76963         define.
76964         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
76965         define.
76967 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76969         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76970         LLONG_MAX != LONG_MAX.
76971         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76972         (_fitoa_word): Likewise.
76973         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
76974         LLONG_MAX != LONG_MAX.
76975         * stdio-common/_itowa.h: Include <_itoa.h>.
76976         (_itowa_word): Use _ITOA_WORD_TYPE on value.
76977         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
76978         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
76979         only if not defined.
76980         (_ITOA_WORD_TYPE): Likewise.
76981         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76982         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
76984 2012-03-21  David S. Miller  <davem@davemloft.net>
76986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76988 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76990         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
76991         of x86_64 when setting libc_cv_slibdir, libdir and
76992         libc_cv_localedir.
76993         * sysdeps/unix/sysv/linux/configure: Regenerated.
76995 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76997         * manual/lang.texi (Old Varargs): Remove section.
76998         (How Variadic): Update menu.
76999         (va_start): Do not mention varargs.h.
77001 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77002             Joseph Myers  <joseph@codesourcery.com>
77004         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77005         link test.
77006         * configure: Regenerated.
77008 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77010         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77011         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77012         conformtest.pl
77014 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77016         * NOTES: Remove.
77017         * Makefile (files-for-dist): Remove NOTES.
77018         (NOTES): Remove rule.
77019         * README: Don't refer to NOTES.
77020         * manual/creature.texi: Don't include macros.texi.
77021         * manual/intro.texi (creature.texi): Remove comment referring to
77022         NOTES.
77024         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77025         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77026         * configure: Regenerated.
77027         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77028         LIBC_TRY_CC_OPTION.
77029         (libc_cv_as_i686): Likewise.
77030         (libc_cv_cc_avx): Likewise.
77031         (libc_cv_cc_sse2avx): Likewise.
77032         (libc_cv_cc_fma4): Likewise.
77033         (libc_cv_cc_novzeroupper): Likewise.
77034         * sysdeps/i386/configure: Regenerated.
77036         [BZ #13883]
77037         * sysdeps/i386/fpu/s_cexp.S: Remove.
77038         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77039         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77040         * math/libm-test.inc (cexp_test): Add more tests.
77041         * sysdeps/i386/fpu/libm-test-ulps: Update.
77042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77044 2012-03-21  Allan McRae  <allan@archlinux.org>
77046         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77048 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77050         [BZ #13871]
77051         * math/w_exp2.c: Do not include <float.h>.
77052         (o_threshold, u_threshold): Remove.
77053         (__exp2): Calculate result before checking finiteness and calling
77054         __kernel_standard.
77055         * math/w_exp2f.c: Likewise.
77056         * math/w_exp2l.c: Likewise.
77057         * math/libm-test.inc (exp2_test): Require overflow exception for
77058         1e6 input.
77060         [BZ #3866]
77061         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77062         range of signed 64-bit integers before using fistpll.  Remove
77063         checks for whether integers fit in mantissa bits.
77064         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77065         the range of signed 32-bit integers before using fistpl.  Remove
77066         checks for whether integers fit in mantissa bits.
77067         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77068         (__ieee754_powl): Test for y outside the range of signed 64-bit
77069         integers before using fistpll.  Reduce 64-bit values to 63-bit
77070         ones as needed.
77071         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77072         divide-by-zero is raised for zero to large negative powers.
77073         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77074         (__ieee754_powl): Test for y outside the range of signed 64-bit
77075         integers before using fistpll.  Reduce 64-bit values to 63-bit
77076         ones as needed.
77077         * math/libm-test.inc (pow_test): Add more tests.
77079 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77081         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77082         <stdio-common/_itoa.h>.
77083         * debug/segfault.c: Likewise.
77084         * elf/dl-cache.c: Likewise.
77085         * elf/dl-minimal.c: Likewise.
77086         * elf/dl-misc.c: Likewise.
77087         * elf/dl-sysdep.c: Likewise.
77088         * elf/dl-version.c: Likewise.
77089         * elf/rtld.c: Likewise.
77090         * hurd/hurdsock.c: Likewise.
77091         * hurd/lookup-retry.c: Likewise.
77092         * malloc/malloc.c: Likewise.
77093         * malloc/mtrace.c: Likewise.
77094         * nscd/nscd_getgr_r.c: Likewise.
77095         * nscd/nscd_getpw_r.c: Likewise.
77096         * nscd/nscd_getserv_r.c: Likewise.
77097         * posix/getopt_init.c: Likewise.
77098         * posix/wordexp.c: Likewise.
77099         * stdio-common/_itoa.c: Likewise.
77100         * stdio-common/printf_fphex.c: Likewise.
77101         * stdio-common/vfprintf.c: Likewise.
77102         * string/_strerror.c: Likewise.
77103         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77104         * sysdeps/i386/i686/hp-timing.h: Likewise.
77105         * sysdeps/mach/_strerror.c: Likewise.
77106         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77107         * sysdeps/mach/hurd/sethostid.c: Likewise.
77108         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77109         * sysdeps/mach/xpg-strerror.c: Likewise.
77110         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77112         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77113         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77114         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77115         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77116         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77117         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77118         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77119         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77120         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77121         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77122         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77123         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77124         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77125         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77126         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77127         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77128         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77129         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77130         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77132         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77134         * stdio-common/_itoa.h: Moved to ...
77135         * sysdeps/generic/_itoa.h: Here.
77137         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77139         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77140         instead of "_itoa.h" and "_itowa.h".
77141         * stdio-common/vfprintf.: Likewise.
77143 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77145         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77146         <bits/wordsize.h>.
77147         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77148         (__signbit): Likewise.
77149         (llrintf): Likewise.
77150         (llrint): Likewise.
77152 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77154         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77155         __WORDSIZE != 64.
77157 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77159         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77160         OVERFLOW_EXCEPTION_OK.
77161         * math/libm-test.inc ("Philosophy"): Update comment about
77162         exception testing.
77163         (OVERFLOW_EXCEPTION): Define.
77164         (OVERFLOW_EXCEPTION_OK): Likewise.
77165         (INVALID_EXCEPTION_OK): Renumber.
77166         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77167         (IGNORE_ZERO_INF_SIGN): Likewise.
77168         (test_exceptions): Handle FE_OVERFLOW.
77169         (exp10_test): Expect overflow exceptions.
77170         (exp2_test): Likewise.
77171         (expm1_test): Likewise.
77172         (nextafter_test): Likewise.
77173         (pow_test): Likewise.
77174         (scalbn_test): Likewise.
77175         (scalbln_test): Likewise.
77177 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77179         * sysdeps/x86_64/bits/atomic.h
77180         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77181         64bit integer.
77182         (atomic_exchange_acq): Likewise.
77183         (__arch_exchange_and_add_body): Likewise.
77184         (__arch_add_body): Likewise.
77185         (atomic_add_negative): Likewise.
77186         (atomic_add_zero): Likewise.
77188 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77190         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
77191         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
77193 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77195         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
77196         Check __x86_64__ instead of __WORDSIZE.
77198 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77200         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
77202 2012-03-19  David S. Miller  <davem@davemloft.net>
77204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77206         * sysdeps/sparc/fpu/fenv_private.h: New file.
77207         * sysdeps/sparc/fpu/math_private.h: Use it.
77208         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
77209         Remove.
77210         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
77211         (libc_feholdexcept_setroundl): Remove.
77212         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
77213         Remove.
77214         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
77215         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
77217 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77219         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
77220         int64_t instead of long int.
77221         (INSERT_WORDS64): Likewise.
77223 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77225         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
77226         _Unwind_GetCFA return to _Unwind_Ptr first.
77228 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
77230         [BZ #13629]
77231         * math/s_clog.c: Include <float.h>.
77232         (__clog): Scale large or subnormal inputs.
77233         * math/s_clogf.c: Likewise.
77234         * math/s_clogl.c: Likewise.
77235         * math/s_clog10.c: Include <float.h>.
77236         (M_LOG10_2): Define.
77237         (__clog10): Scale large or subnormal inputs.
77238         * math/s_clog10f.c: Likewise.
77239         * math/s_clog10l.c: Likewise.
77240         * math/libm-test.inc (clog_test): Add more tests.
77241         (clog10_test): Likewise.
77242         * sysdeps/i386/fpu/libm-test-ulps: Update.
77243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77245         [BZ #11451]
77246         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
77247         x and y.
77248         * math/libm-test.inc (atan2_test): Add another test.
77250         * Makerules (common-objdir-compile): Remove.
77251         * sysdeps/unix/Makefile (config-generated): Do not add
77252         $(unix-generated) to variable.
77253         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
77254         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
77255         Remove rule.
77256         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
77257         Likewise.
77258         [generic bits/local_lim.h] (before-compile): Do not append to
77259         variable.
77260         [generic bits/local_lim.h] (common-generated): Likewise.
77261         [generic sys/param.h] (before-compile): Do not append to variable.
77262         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77263         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77264         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77265         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77266         include.
77267         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77268         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77269         [generic sys/param.h] ($(addprefix
77270         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77271         [generic sys/param.h] (common-generated): Do not append to
77272         variable.
77273         [generic sys/param.h] (sysdep_headers): Likewise.
77274         [generic bits/errno.h] (before-compile): Do not append to
77275         variable.
77276         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77277         rule.
77278         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77279         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77280         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77281         [generic bits/errno.h] (common-generated): Do not append to
77282         variable.
77283         [generic bits/ioctls.h] (before-compile): Do not append to
77284         variable.
77285         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77286         rule.
77287         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77288         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77289         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77290         rule.
77291         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77292         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77293         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77294         [generic bits/ioctls.h] (common-generated): Do not append to
77295         variable.
77296         [generic sys/syscall.h] (syscall.h): Remove variable.
77297         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77298         rule.
77299         [generic sys/syscall.h] (before-compile): Do not append to
77300         variable.
77301         [generic sys/syscall.h] (common-generated): Likewise.
77302         * sysdeps/unix/errnos-tmpl.c: Remove file.
77303         * sysdeps/unix/errnos.awk: Likewise.
77304         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77305         * sysdeps/unix/ioctls.awk: Likewise.
77306         * sysdeps/unix/mk-local_lim.c: Likewise.
77307         * sysdeps/unix/snarf-ioctls: Likewise.
77309 2012-03-19  Richard Henderson  <rth@twiddle.net>
77311         * sysdeps/i386/fpu/fenv_private.h: New file.
77312         * sysdeps/i386/fpu/math_private.h: Use it.
77313         (math_opt_barrier, math_force_eval): Remove.
77314         (libc_feholdexcept_setround_53bit): Remove.
77315         (libc_feupdateenv_53bit): Remove.
77316         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77317         (math_opt_barrier, math_force_eval): Remove.
77318         (libc_feholdexcept): Remove.
77319         (libc_feholdexcept_setround): Remove.
77320         (libc_fetestexcept, libc_fesetenv): Remove.
77321         (libc_feupdateenv_test): Remove.
77322         (libc_feupdateenv, libc_feholdsetround): Remove.
77323         (libc_feresetround): Remove.
77325         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77326         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77328         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77329         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77330         (libc_feupdateenv_testl): New.
77331         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77332         (libc_feupdateenv_testf): New.
77333         (libc_feupdateenv): Use libc_feupdateenv_test.
77334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77335         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77337         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77338         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77339         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77340         (libc_feresetround_noex): New.
77341         (libc_feresetround_noexf): New.
77342         (libc_feresetround_noexl): New.
77343         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77344         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77345         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77346         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77347         SET_RESTORE_ROUND.
77348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77349         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77350         (__cos): Likewise.
77351         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77352         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77353         SET_RESTORE_ROUND_NOEX.
77354         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77355         SET_RESTORE_ROUND_NOEXF.
77356         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77357         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77358         (libc_feholdsetroundf): New.
77359         (libc_feresetround, libc_feresetroundf): New.
77361         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77362         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77363         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77365         * sysdeps/generic/math_private.h: Include <fenv.h>.
77366         (default_libc_feholdexcept): New.
77367         (default_libc_feholdexcept_setround): New.
77368         (default_libc_fesetenv, default_libc_feupdateenv): New.
77369         (libc_feholdexcept): Only define if undefined.
77370         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77371         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77372         (libc_feholdexcept_setroundl): Likewise.
77373         (libc_feholdexcept_setround_53bit): Likewise.
77374         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77375         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77376         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77377         (libc_feupdateenv_53bit): Likewise.
77378         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77379         (libc_feholdexcept): Convert from macro to inline function.
77380         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77381         (libc_fesetenv, libc_feupdateenv): Likewise.
77383         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77384         not previously defined.
77385         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77386         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77387         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77388         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77389         * sysdeps/ieee754/flt-32/math_private.h: New file.
77390         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77391         math_private.h below SET_FLOAT_WORD.
77392         (__isnan, __isinf_ns, __finite): Remove.
77393         (__isnanf, __isinf_nsf, __finitef): Remove.
77395 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77399 2012-03-17  David S. Miller  <davem@davemloft.net>
77401         [BZ #6471]
77402         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77403         for 2.16.
77405 2012-03-16  David S. Miller  <davem@davemloft.net>
77407         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77408         warnings.
77410         [BZ #6471]
77411         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77412         properly.
77413         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77414         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77415         sysdep_routines when subdir is sysvipc.
77416         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77417         __getshmlba helper.
77419         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77421 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77423         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77424         [__LP64__].
77426 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77428         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77429         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77430         (__lround): Renamed to ...
77431         (__llround): This.  Replace long int with long long int.
77432         Define lround functions as aliases of llround functions.
77433         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77435 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77437         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77438         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77439         adresses to uintptr_t.  Replace "long int" and "unsigned long
77440         int" with "greg_t" on va_arg.
77442 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77444         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77445         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77447         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77448         Move e_machine check before EI_CLASS check.  Handle x32
77449         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77450         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77451         SKIP_EM_IA_64 and include
77452         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77454         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77455         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77456         (add_system_dir): New macro.
77458         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77459         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77461 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77463         [BZ #2551]
77464         [BZ #2552]
77465         [BZ #2553]
77466         [BZ #2554]
77467         [BZ #2562]
77468         [BZ #2563]
77469         [BZ #2565]
77470         [BZ #2566]
77471         [BZ #2576]
77472         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77473         (y0): Likewise.
77474         * math/w_j0f.c (j0f): Likewise.
77475         (y0f): Likewise.
77476         * math/w_j0l.c (__j0l): Likewise.
77477         (__y0l): Likewise.
77478         * math/w_j1.c (j1): Likewise.
77479         (y1): Likewise.
77480         * math/w_j1f.c (j1f): Likewise.
77481         (y1f): Likewise.
77482         * math/w_j1l.c (__j1l): Likewise.
77483         (__y1l): Likewise.
77484         * math/w_jn.c (jn): Likewise.
77485         (yn): Likewise.
77486         * math/w_jnf.c (jnf): Likewise.
77487         (ynf): Likewise.
77488         * math/w_jnl.c (__jnl): Likewise.
77489         (__ynl): Likewise.
77490         * math/libm-test.inc (j0_test): Add more tests.
77491         (j1_test): Likewise.
77492         (jn_test): Likewise.  Add trailing semicolon to existing test.
77493         (y0_test): Likewise.
77494         (y1_test): Likewise.
77495         * sysdeps/i386/fpu/libm-test-ulps: Update.
77496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77498         [BZ #13851]
77499         [BZ #13854]
77500         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77501         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77502         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77503         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77504         (__tanl): Set errno for infinite argument.
77505         * sysdeps/i386/fpu/mptan.c: Remove.
77506         * sysdeps/i386/fpu/s_tan.S: Likewise.
77507         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77508         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77509         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77510         * math/libm-test.inc (tan_test): Add more tests and enable more
77511         tests for double and long double.
77512         * sysdeps/i386/fpu/libm-test-ulps: Update.
77513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77515 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77517         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77518         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77520 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77522         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77523         * configure.in: Use it for both main tree and add-ons.
77524         * configure: Regenerated.
77526 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77528         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77530 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77532         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77533         in comment.
77535         [BZ #13851]
77536         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77537         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77538         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77539         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77540         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77541         infinite argument.
77542         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77543         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77544         != 0 for prec == 2.
77545         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77546         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77547         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77548         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77549         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77550         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77551         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77552         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77553         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77554         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77555         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77556         * math/libm-test.inc (cos_test): Add more tests and enable more
77557         tests for long double.
77558         (sin_test): Likewise.
77559         (sincos_test): Likewise.
77560         * sysdeps/i386/fpu/libm-test-ulps: Update.
77561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77563 2012-03-16  David S. Miller  <davem@davemloft.net>
77565         * sysdeps/sparc/fpu/math_private.h: New file.
77567 2012-03-15  David S. Miller  <davem@davemloft.net>
77569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77570         file.
77571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77573         file.
77574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77579         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77580         sysdep routines.
77581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77583         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77584         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77586         * sysdeps/sparc/sparc-ifunc.h: New file.
77587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77588         sparc-ifunc.h
77589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77591         Likewise.
77592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77593         Likewise.
77594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77598         Likewise.
77599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77604         Likewise.
77605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77606         Likewise.
77607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77613         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77614         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77618         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77625         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77626         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77627         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77628         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77629         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77630         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77632 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77634         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77635         scaling.
77636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77638 2012-03-15  Andreas Jaeger  <aj@suse.de>
77640         [BZ #13852]
77641         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77642         ieee754/flt-32 implementation for sin, cos and sincos.
77643         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77644         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77645         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77646         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77647         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77648         ieee754/flt-32 implementation for tan.
77650         * math/libm-test.inc (cos_test): Enable some large input tests for
77651         float as well
77652         (sin_test): Likewise.
77653         (sincos_test): Likewise.
77654         (tan_test): Add tests for large input.
77656         * sysdeps/i386/fpu/libm-test-ulps: Update.
77658 2012-03-15  Andreas Jaeger  <aj@suse.de>
77660         [BZ #13658]
77661         * math/libm-test.inc (cos_test): Add more test cases.
77662         (sin_test): Likewise.
77663         (sincos_test): Likewise.
77665 2012-03-15  Andreas Jaeger  <aj@suse.de>
77667         [BZ #13837]
77668         * math/libm-test.inc (cos_test): Add a test case for large input
77669         value.
77670         (sin_test): Likewise.
77671         (sincos_test): Likewise.
77673 2012-03-15  Andreas Jaeger  <aj@suse.de>
77674             Joseph Myers  <joseph@codesourcery.com>
77676         [BZ #13658]
77677         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77678         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77679         * sysdeps/i386/fpu/branred.c: Likewise.
77680         * sysdeps/i386/fpu/dosincos.c: Likewise.
77681         * sysdeps/i386/fpu/mpa.c: Likewise.
77682         * sysdeps/i386/fpu/s_cos.S: Likewise.
77683         * sysdeps/i386/fpu/s_sin.S: Likewise.
77684         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77685         * sysdeps/i386/fpu/sincos32.c: Likewise.
77687         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77688         Define.
77689         (libc_feupdateenv_53bit): Define.
77690         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77691         Define.
77692         (libc_feupdateenv_53bit): Define.
77694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77695         53 bit (without extend i386 double precision).
77697         * math/libm-test.inc (sincos_test): Add tests for large input.
77698         (sin): Likewise.
77699         (cos): Likewise.
77701         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77703 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77707 2012-03-15  David S. Miller  <davem@davemloft.net>
77709         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77710         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77711         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77712         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77725         file.
77726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77728         file.
77729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77731         file.
77732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77734         file.
77735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77736         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77737         fmin/fmax sysdep routines.
77738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77740 2012-03-14  David S. Miller  <davem@davemloft.net>
77742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77746         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77747         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77748         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77749         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77754         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77755         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77756         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77757         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77758         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77759         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77760         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77761         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77762         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77763         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77764         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77765         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77766         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77767         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77768         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77769         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77770         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77771         routines.
77772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77773         file.
77774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77776         file.
77777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77779         file.
77780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77782         file.
77783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77785         file.
77786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77788         file.
77789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77790         file.
77791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77792         file.
77793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77794         file.
77795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77796         New file.
77797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77798         file.
77799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77800         file.
77801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77803         file.
77804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77806         file.
77807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77809         file.
77810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77812         VIS3 routines.
77814         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77815         New file.
77817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77819         * sysdeps/sparc/configure.in: New file.
77820         * sysdeps/sparc/configure: Generate.
77821         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77822         * configure: Regenerate.
77823         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77824         * config.make.in (have-as-vis3): New.
77825         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77826         available use -Av9d instead of -Av9a.
77827         * sysdeps/sparc/sparc64/Makefile: Likewise.
77828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77830         New file.
77831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77832         file.
77833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77834         New file.
77835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77836         file.
77837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77838         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77839         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77840         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77841         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77843         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77844         fzeros/fnegs to load 0x80000000 into a float register instead of
77845         using the stack.
77846         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77848 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77850         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77851         bits/syscall.h.
77852         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77853         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77854         ($(inst_includedir)/bits/syscall.h): Remove rule.
77855         ($(objpfx)bits/syscall.d): Include instead of
77856         $(objpfx)syscall-list.d.
77857         (generated): Change syscall-list.h and syscall-list.d to
77858         bits/syscall.h and bits/syscall.d.
77860 2012-03-14  Roland McGrath  <roland@hack.frob.com>
77862         [BZ #13846]
77863         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77865 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77867         [BZ #13841]
77868         * math/s_csqrt.c: Include <float.h>.
77869         (__csqrt): Scale large or subnormal inputs.
77870         * math/s_csqrtf.c: Likewise.
77871         * math/s_csqrtl.c: Likewise.
77872         * math/libm-test.inc (csqrt_test): Add more tests.
77873         * sysdeps/i386/fpu/libm-test-ulps: Update.
77874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77876         [BZ #13840]
77877         * math/libm-test.inc (hypot_test): Add more tests.
77879 2012-03-13  David S. Miller  <davem@davemloft.net>
77881         [BZ #13840]
77882         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
77883         double-precision for the calculation instead of scaling.
77885 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
77887         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
77888         manipulate bits before adding and subtracting TWO52[sx].
77889         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
77890         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
77891         Likewise.
77892         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
77894 2012-03-13  David S. Miller  <davem@davemloft.net>
77896         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
77897         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77898         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
77899         rtld-global-offsets.h
77900         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77902         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
77903         large parameters.
77905         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
77907         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
77908         'err' in the ifdef scope in which it is actually used.
77910         * nss/nss_db/db-init.c: Include string.h
77912 2012-03-12  David S. Miller  <davem@davemloft.net>
77914         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77915         masking out of the most significant byte of random value used.
77916         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77917         Fix coding style in previous change.
77919         * sysdeps/unix/sysv/linux/kernel-features.h
77920         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
77921         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
77922         expression.
77923         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
77924         later.
77926 2012-03-11  David S. Miller  <davem@davemloft.net>
77928         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
77929         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
77930         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
77931         for 'resultvar' otherwise things get truncated on 64-bit.
77933         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77934         Fix masking out of the most significant byte of random value used.
77936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77938 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
77940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77942 2012-03-09  David S. Miller  <davem@davemloft.net>
77944         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
77945         variables with appropriate CPP guards.
77946         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
77947         from the frame pointer, not the stack pointer.  Correct layout
77948         comments.  Fix test on resulting framesize and the management of
77949         the outregs buffer for pltexit.  Preserve floating point return
77950         values across _dl_call_pltexit call.
77951         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
77952         framesize and the management of the outregs buffer for pltexit.
77953         Preserve floating point return values across _dl_call_pltexit
77954         call.
77955         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
77956         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
77957         (la_sparc64_gnu_pltexit): New functions.
77958         (print_exit): Fix format string for return register value.
77960 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
77962         * sunrpc/Makefile (others): Add rpcgen.
77963         ($(objpfx)rpcgen): Remove special build rule and dependency on
77964         libc.
77965         * sunrpc/rpcgen.c: New file.
77967 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
77969         [BZ #13673]
77970         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
77971         * stdio-common/bug-vfprintf-nargs.c: Likewise.
77972         * sysdeps/i386/crti.S: Likewise.
77973         * sysdeps/i386/crtn.S: Likewise.
77974         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
77975         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
77976         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
77977         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
77978         * sysdeps/sh/crti.S: Likewise.
77979         * sysdeps/sh/crtn.S: Likewise.
77980         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77982         [BZ #13673]
77983         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
77984         with URL.
77985         * locale/programs/locfile-kw.gperf: Likewise.
77986         * locale/programs/charmap-kw.h: Regenerated.
77987         * locale/programs/locfile-kw.h: Likewise.
77989         [BZ #13673]
77990         * intl/plural.y: Replace FSF snail mail address with URL.
77991         * intl/plural.c: Regenerated.
77993 2012-03-09  Richard Henderson  <rth@twiddle.net>
77995         * include/math_private.h: Remove file.
77996         * math/math_private.h: Move file ...
77997         * sysdeps/generic/math_private.h: ... here.
77999         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78000         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78001         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78003         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78004         and <math_private.h>.
78005         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78006         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78007         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78008         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78009         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78010         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78011         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78012         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78013         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78014         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78016         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78017         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78018         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78019         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78020         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78021         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78022         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78023         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78024         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78025         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78026         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78027         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78028         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78029         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78030         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78031         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78032         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78033         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78034         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78035         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78036         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78037         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78038         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78039         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78040         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78041         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78042         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78043         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78044         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78045         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78046         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78047         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78048         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78049         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78050         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78051         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78052         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78053         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78054         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78055         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78056         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78057         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78058         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78059         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78060         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78061         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78062         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78063         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78064         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78065         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78066         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78067         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78068         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78069         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78070         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78071         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78072         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78073         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78074         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78075         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78076         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78077         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78078         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78079         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78080         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78082         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78083         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78084         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78085         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78086         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78087         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78088         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78089         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78090         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78091         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78092         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78093         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78094         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78095         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78096         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78097         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78098         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78099         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78100         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78101         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78102         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78103         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78104         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78105         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78106         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78107         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78108         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78109         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78110         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78111         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78112         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78113         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78114         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78115         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78116         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78117         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78118         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78119         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78120         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78121         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78122         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78123         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78124         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78125         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78126         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78127         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78128         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78129         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78130         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78131         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78132         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78133         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78134         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78135         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78136         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78137         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78138         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78139         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78140         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78141         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78142         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78143         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78144         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78145         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78146         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78147         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78148         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78149         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78150         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78151         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78152         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78153         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78154         * sysdeps/ieee754/k_standard.c: Likewise.
78155         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78156         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78157         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78158         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78159         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78160         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78161         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78162         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78163         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78164         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78165         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78166         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78167         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78168         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78169         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78170         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78171         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78172         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78173         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78174         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78175         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78176         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78177         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78178         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78179         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78180         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78181         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78182         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78183         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78184         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78185         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
78186         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78187         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78188         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78189         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
78190         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78191         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78192         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
78193         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
78194         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78195         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
78196         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
78197         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
78198         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78199         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
78200         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
78201         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78203         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78204         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78205         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78206         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
78207         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78208         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
78209         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78210         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78211         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
78212         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
78213         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78214         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78215         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78216         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
78217         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78218         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78219         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78220         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78221         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78222         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78223         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78225         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78227         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78228         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78229         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78231         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
78232         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78234         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
78235         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
78236         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
78237         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78238         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78239         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
78240         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78241         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
78243         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78244         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78245         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
78246         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78247         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
78248         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
78249         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78250         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78251         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
78252         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
78253         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
78254         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
78255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78256         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78257         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78258         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78259         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
78260         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78261         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78262         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78263         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78264         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78265         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78266         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78267         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78268         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78269         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78270         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78271         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78272         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78273         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78274         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78275         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78276         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78277         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78278         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78279         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78280         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78281         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78282         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78283         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78284         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78285         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78286         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78287         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78288         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78289         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78290         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78291         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78292         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78293         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78294         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78295         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78296         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78297         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78298         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78299         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78300         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78301         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78302         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78303         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78304         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78305         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78306         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78307         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78308         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78309         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78310         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78311         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78312         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78313         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78314         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78315         * sysdeps/ieee754/s_lib_version.c: Likewise.
78316         * sysdeps/ieee754/s_matherr.c: Likewise.
78317         * sysdeps/ieee754/s_signgam.c: Likewise.
78318         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78319         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78320         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78321         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78322         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78323         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78324         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78325         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78326         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78327         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78328         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78329         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78330         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78331         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78332         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78333         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78334         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78335         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78336         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78340 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78342         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78343         * sunrpc/rpc_main.c: Likewise.
78344         * sunrpc/rpc_svcout.c: Likewise.
78346 2012-03-09  David S. Miller  <davem@davemloft.net>
78348         * include/math_private.h: New file.
78350 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78352         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78353         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78354         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78355         from <bits/socket_type.h>.
78356         (enum __socket_type): Don't define here.
78357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78359         bits/socket_type.h.
78361         [BZ #13566]
78362         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78363         checking __USE_GNU.
78365         * Makerules ($(inst_includedir)/%.h): New rule.
78366         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78367         (install-others): Remove variable setting.
78368         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78370 2012-03-08  Richard Henderson  <rth@twiddle.net>
78372         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78373         from macro to inline function; merge with the
78374         !__LIBC_INTERNAL_MATH_INLINES version.
78375         (__ieee754_sqrtf): Likewise.
78377         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78378         to inline function.
78379         (__rintf, __floor, __floorf): Likewise.
78381         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78382         macro to inline function.
78383         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78385         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78386         not <math/math_private.h>.
78388 2012-03-08  David S. Miller  <davem@davemloft.net>
78390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78391         copyright year.
78392         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78394 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78396         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78397         normalization.
78398         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78399         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78401 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78403         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78404         be defined individually, they must be defined as a block.  Define
78405         S for printing a string instead of hidint the different by using a
78406         macro for adding the 'l'.
78407         * stdio-common/tst-fphex-wide.c: Adjust.
78409 2012-03-07  Marek Polacek  <polacek@redhat.com>
78411         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78413 2012-03-08  Marek Polacek  <polacek@redhat.com>
78415         [BZ #13806]
78416         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78417         * stdio-common/tst-fphex.c: Define a few macros to make the
78418         test reusable.  Use them.
78419         * stdio-common/tst-fphex-wide.c: New file.
78421 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78423         [BZ #6911]
78424         * manual/macros.texi (gnusystems): New macro.
78425         (nongnusystems): Likewise.
78426         (gnulinuxhurdsystems): Likewise.
78427         (gnuhurdsystems): Likewise..
78428         (gnulinuxsystems): Likewise.
78429         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78430         variants of the GNU system, not "GNU system".
78431         * manual/conf.texi: Likewise.
78432         * manual/errno.texi: Likewise.  Update example of errno macro
78433         expansion.
78434         * manual/filesys.texi: Likewise.
78435         (getumask): Document as specific to GNU/Hurd.
78436         * manual/install.texi: Likewise.  Reword some references to
78437         GNU/Linux.
78438         * manual/intro.texi: Likewise.
78439         * manual/io.texi: Likewise.
78440         (File Name Portability): Detail which constraints are inapplicable
78441         to all GNU systems and which are only inapplicable to GNU/Hurd.
78442         * manual/job.texi: Likewise.
78443         * manual/llio.texi: Likewise.
78444         (O_NOCTTY): Document as present on GNU/Linux.
78445         * manual/maint.texi: Likewise.
78446         * manual/memory.texi: Likewise.
78447         * manual/pattern.texi: Likewise.
78448         * manual/pipe.texi: Likewise.
78449         * manual/process.texi: Likewise.
78450         * manual/resource.texi: Likewise.
78451         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78452         child on GNU/Hurd.
78453         * manual/setjmp.texi: Likewise.
78454         * manual/signal.texi: Likewise.
78455         * manual/startup.texi: Likewise.
78456         * manual/stdio.texi: Likewise.
78457         * manual/terminal.texi: Likewise.
78458         (ONLCR): Document as POSIX.
78459         (OXTABS): Document availability on GNU/Linux as XTABS.
78460         (ONOEOT): Document availability separately from other bits.
78461         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78462         * manual/time.texi: Likewise.
78463         * manual/users.texi: Likewise.
78464         * INSTALL: Regenerated.
78465         * sysdeps/gnu/errlist.c: Regenerated.
78467         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78468         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78469         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78470         puts.
78471         * configure: Regenerated.
78473 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78475         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78476         default includes instead of AC_HEADER_CHECK.
78477         * sysdeps/i386/configure: Regenerated.
78479         [BZ #10716]
78480         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78481         * math/s_cacoshf.c (__cacoshf): Likewise.
78482         * math/s_cacoshl.c (__cacoshl): Likewise.
78483         * math/s_casinh.c (__casinh): Set signs of result from argument.
78484         * math/s_casinhf.c (__casinhf): Likewise.
78485         * math/s_casinhl.c (__casinhl): Likewise.
78486         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78487         (casinh_test): Add more tests.
78488         * sysdeps/i386/fpu/libm-test-ulps: Update.
78489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78491 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78493         * po/zh_TW.po: Update from translation team.
78495         * login/Makefile (distribute): Remove variable.
78496         * catgets/Makefile: Likewise.
78497         * mach/Makefile: Likewise.
78498         * malloc/Makefile: Likewise.
78499         * misc/Makefile: Likewise.
78500         * iconv/Makefile: Likewise.
78501         * nscd/Makefile: Likewise.
78502         * hurd/Makefile: Likewise.
78503         * manual/Makefile: Likewise.
78504         * locale/Makefile: Likewise.
78505         * intl/Makefile: Likewise.
78506         * conform/Makefile: Likewise.
78507         * nss/Makefile: Likewise.
78508         * time/Makefile: Likewise.
78509         * soft-fp/Makefile: Likewise.
78510         * dirent/Makefile: Likewise.
78511         * gmon/Makefile: Likewise.
78512         * po/Makefile: Likewise.
78513         * rt/Makefile: Likewise.
78514         * socket/Makefile: Likewise.
78515         * math/Makefile: Likewise.
78516         * signal/Makefile: Likewise.
78517         * debug/Makefile: Likewise.
78518         * elf/Makefile: Likewise.
78519         * timezone/Makefile: Likewise.
78520         * stdlib/Makefile: Likewise.
78521         * iconvdata/Makefile: Likewise.
78522         * sunrpc/Makefile: Likewise.
78523         * io/Makefile: Likewise.
78524         * argp/Makefile: Likewise.
78525         * inet/Makefile: Likewise.
78526         * hesiod/Makefile: Likewise.
78527         * grp/Makefile: Likewise.
78528         * csu/Makefile: Likewise.
78529         * wctype/Makefile: Likewise.
78530         * crypt/Makefile: Likewise.
78531         * libio/Makefile: Likewise.
78532         * string/Makefile: Likewise.
78533         * nis/Makefile: Likewise.
78534         * resolv/Makefile: Likewise.
78535         * stdio-common/Makefile: Likewise.
78536         * wcsmbs/Makefile: Likewise.
78537         * dlfcn/Makefile: Likewise.
78538         * posix/Makefile: Likewise.
78540         [BZ #6959]
78541         * timezone/Makefile: Don't install timezone files, just the programs
78542         and scripts.
78544 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78546         * nss/databases.def: Add missing gshadow entry.
78548         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78550 2012-03-06  Marek Polacek  <polacek@redhat.com>
78552         [BZ #13726]
78553         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78554         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78555         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78556         * stdio-common/tst-long-dbl-fphex.c: New file.
78558 2012-03-06  David S. Miller  <davem@davemloft.net>
78560         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78561         (set_obp_int): New function.
78562         (get_obp_int): New function.
78563         (__get_clockfreq_via_dev_openprom): Likewise.
78564         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78565         Avoid unused variable warnings on 'val' and use builtin_expect.
78566         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78567         __builtin_expect.
78568         (INLINE_CLONE_SYSCALL): Likewise.
78570 2012-03-05  David S. Miller  <davem@davemloft.net>
78572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78574 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78578         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78579         only for |x| >= 40.
78580         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78582 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78584         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78585         Replace gettimeofday with __vdso_gettimeofday.
78587         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78588         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78589         __vdso_clock_gettime and __vdso_getcpu.
78591         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78592         time with __vdso_time.
78594 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78596         * manual/lang.texi (size_t): Note types to which size_t may be
78597         equivalent with the GNU C Library, but do not describe when
78598         differences between them are significant.
78600 2012-03-05  Andreas Jaeger  <aj@suse.de>
78602         * sysdeps/i386/fpu/libm-test-ulps: Update.
78604 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78606         [BZ #3976]
78607         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78608         (__ieee754_pow): Save and restore rounding mode and use
78609         round-to-nearest for main computations.
78610         * math/libm-test.inc (pow_test_tonearest): New function.
78611         (pow_test_towardzero): Likewise.
78612         (pow_test_downward): Likewise.
78613         (pow_test_upward): Likewise.
78614         (main): Call the new functions.
78615         * sysdeps/i386/fpu/libm-test-ulps: Update.
78616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78618         [BZ #3976]
78619         * math/libm-test.inc (cosh_test_tonearest): New function.
78620         (cosh_test_towardzero): Likewise.
78621         (cosh_test_downward): Likewise.
78622         (cosh_test_upward): Likewise.
78623         (sinh_test_tonearest): Likewise.
78624         (sinh_test_towardzero): Likewise.
78625         (sinh_test_downward): Likewise.
78626         (sinh_test_upward): Likewise.
78627         (main): Call the new functions.
78628         * sysdeps/i386/fpu/libm-test-ulps: Update.
78629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78631 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78633         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78634         default stack guard is set in last bytes.
78635         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78637 2012-03-05  Kees Cook  <keescook@chromium.org>
78639         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78641         [BZ #13656]
78642         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78643         possibly allocate from heap instead of stack.
78644         * stdio-common/bug-vfprintf-nargs.c: New file.
78645         * stdio-common/Makefile (tests): Add nargs overflow test.
78647 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78651 2012-03-03  Marek Polacek  <polacek@redhat.com>
78653         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78654         * math/math_private.h: Likewise.
78655         * stdlib/tst-strtod.c: Likewise.
78656         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78657         * sysdeps/x86_64/bits/atomic.h: Likewise.
78659 2012-03-02  David S. Miller  <davem@davemloft.net>
78661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78665         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78666         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78667         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78668         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78670 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78672         [BZ #13792]
78673         * manual/examples/README: New file, says the example source files
78674         can be used under GPL>=2.
78675         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78676         line containing just "*/".
78677         * manual/examples/add.c: Add copyright header (GPL>=2).
78678         * manual/examples/argp-ex1.c: Likewise.
78679         * manual/examples/argp-ex2.c: Likewise.
78680         * manual/examples/argp-ex3.c: Likewise.
78681         * manual/examples/argp-ex4.c: Likewise.
78682         * manual/examples/atexit.c: Likewise.
78683         * manual/examples/db.c: Likewise.
78684         * manual/examples/dir.c: Likewise.
78685         * manual/examples/dir2.c: Likewise.
78686         * manual/examples/execinfo.c: Likewise.
78687         * manual/examples/filecli.c: Likewise.
78688         * manual/examples/filesrv.c: Likewise.
78689         * manual/examples/fmtmsgexpl.c: Likewise.
78690         * manual/examples/genpass.c: Likewise.
78691         * manual/examples/inetcli.c: Likewise.
78692         * manual/examples/inetsrv.c: Likewise.
78693         * manual/examples/isockad.c: Likewise.
78694         * manual/examples/longopt.c: Likewise.
78695         * manual/examples/memopen.c: Likewise.
78696         * manual/examples/memstrm.c: Likewise.
78697         * manual/examples/mkfsock.c: Likewise.
78698         * manual/examples/mkisock.c: Likewise.
78699         * manual/examples/mygetpass.c: Likewise.
78700         * manual/examples/pipe.c: Likewise.
78701         * manual/examples/popen.c: Likewise.
78702         * manual/examples/rprintf.c: Likewise.
78703         * manual/examples/search.c: Likewise.
78704         * manual/examples/select.c: Likewise.
78705         * manual/examples/setjmp.c: Likewise.
78706         * manual/examples/sigh1.c: Likewise.
78707         * manual/examples/sigusr.c: Likewise.
78708         * manual/examples/stpcpy.c: Likewise.
78709         * manual/examples/strdupa.c: Likewise.
78710         * manual/examples/strftim.c: Likewise.
78711         * manual/examples/strncat.c: Likewise.
78712         * manual/examples/subopt.c: Likewise.
78713         * manual/examples/swapcontext.c: Likewise.
78714         * manual/examples/termios.c: Likewise.
78715         * manual/examples/testopt.c: Likewise.
78716         * manual/examples/testpass.c: Likewise.
78717         * manual/examples/timeval_subtract.c: Likewise.
78719         [BZ #13792]
78720         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78721         function to ...
78722         * manual/timeval_subtract.c.texi: ... here, new file.
78724 2012-03-02  David S. Miller  <davem@davemloft.net>
78726         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78728 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78730         [BZ #3976]
78731         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78732         (__sin): Save and restore rounding mode and use round-to-nearest
78733         for all computations.
78734         (__cos): Save and restore rounding mode and use round-to-nearest
78735         for all computations.
78736         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78737         <fenv.h>.
78738         (tan): Save and restore rounding mode and use round-to-nearest for
78739         all computations.
78740         * math/libm-test.inc (cos_test_tonearest): New function.
78741         (cos_test_towardzero): Likewise.
78742         (cos_test_downward): Likewise.
78743         (cos_test_upward): Likewise.
78744         (sin_test_tonearest): Likewise.
78745         (sin_test_towardzero): Likewise.
78746         (sin_test_downward): Likewise.
78747         (sin_test_upward): Likewise.
78748         (tan_test_tonearest): Likewise.
78749         (tan_test_towardzero): Likewise.
78750         (tan_test_downward): Likewise.
78751         (tan_test_upward): Likewise.
78752         (main): Call the new functions.
78753         * sysdeps/i386/fpu/libm-test-ulps: Update.
78754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78756         [BZ #10135]
78757         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78758         small n, then large n, before computing and testing k+n.
78759         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78761         Likewise.
78762         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78763         Likewise.
78764         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78765         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78766         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78767         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78768         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78769         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78770         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78771         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78772         * math/libm-test.inc (scalbn_test): Add more tests.
78773         (scalbln_test): Likewise.
78775         * manual/filesys.texi (mode_t): Describe constraints on size and
78776         signedness, not exact equivalence to a particular type.
78777         (ino_t): Likewise.
78778         (ino64_t): Likewise.
78779         (dev_t): Likewise.
78780         (nlink_t): Likewise.
78781         (blkcnt_t): Likewise.
78782         (blkcnt64_t): Likewise.
78783         * manual/llio.texi (off_t): Likewise.
78785         [BZ #3976]
78786         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78787         (__ieee754_exp): Save and restore rounding mode and use
78788         round-to-nearest for all computations.
78789         * math/libm-test.inc (exp_test_tonearest): New function.
78790         (exp_test_towardzero): Likewise.
78791         (exp_test_downward): Likewise.
78792         (exp_test_upward): Likewise.
78793         (main): Call the new functions.
78794         * sysdeps/i386/fpu/libm-test-ulps: Update.
78795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78797 2012-03-01  Chris Demetriou  <cgd@google.com>
78799         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78800         have predictable order.
78802 2012-03-01  David S. Miller  <davem@davemloft.net>
78804         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78806         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78807         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78808         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78809         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78811         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78812         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78813         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78815         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78816         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78817         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78818         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78819         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78823         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78824         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78825         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78827         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78828         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78829         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78830         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78831         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78832         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78833         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78834         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78835         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78836         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78837         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78838         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78839         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78840         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78841         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78843         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78844         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78845         * sysdeps/sparc/elf/configure: Regenerated.
78847 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
78849         * configure.in (AS, LD): Require binutils 2.20 or later.
78850         * configure: Regenerated.
78851         * manual/install.texi (Tools for Compilation): Give binutils 2.20
78852         as required minimum version.
78853         * INSTALL: Regenerated.
78855         [BZ #2541]
78856         [BZ #4108]
78857         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78858         before squaring exponent.
78859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78860         bottom long double and 27 bits of top long double before squaring
78861         exponent.
78862         * math/libm-test.inc (erfc_test): Add more tests.
78863         * sysdeps/i386/fpu/libm-test-ulps: Update.
78864         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78867 2012-03-01  Kai Tietz  <ktietz@redhat.com>
78869         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78870         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78871         containing bit-fields.
78872         * soft-fp/extended.h (_FP_UNION_E): Likewise.
78873         * soft-fp/single.h (_FP_UNION_S): Likewise.
78874         * soft-fp/double.h (_FP_UNION_D): Likewise.
78876 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78878         [BZ #13786]
78879         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
78880         not include ../strcmp.S.
78881         [USE_AS_STRNCASECMP_L]: Likewise.
78882         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
78883         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
78884         * sysdeps/i386/i686/multiarch/strncase_l-c.c
78885         (__strncasecmp_l_ia32): Define as alias to
78886         __strncasecmp_l_nonascii.
78888         [BZ #5794]
78889         * math/libm-test.inc (expm1_test): Add test for bug 5794.
78890         * sysdeps/i386/fpu/libm-test-ulps: Update.
78891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78893         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
78894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78896 2012-02-29  Jeff Law  <law@redhat.com>
78898         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
78899         out of bounds read.
78901 2012-02-29  Marek Polacek  <polacek@redhat.com>
78903         [BZ #13706]
78904         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
78905         * elf/Makefile: Add rules to run tst-unused-dep.out.
78907 2012-02-28  David S. Miller  <davem@davemloft.net>
78909         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
78910         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
78911         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
78912         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
78913         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
78914         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
78916 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78918         * math/libm-test.inc (llround_test): Move one test from
78919         lround_test.  Use TEST_f_L in moved test.
78920         (lround_test): Move misplaced test to llround_test.  Add testcase
78921         from bug 2561.
78923 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
78925         * sysdeps/x86_64/fpu/e_expf.S: New file.
78926         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
78928 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
78930         [BZ #13637]
78931         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
78932         of remain_len that may cause incomplete multi-byte character and
78933         false match.
78934         * posix/bug-regex33.c: New file.
78935         * posix/Makefile (tests): Add bug-regex33.
78937 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
78939         * manual/macros.texi: New file.
78940         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
78941         * manual/libc.texinfo: Include macros.texi.
78942         * manual/creatute.texi: Likewise.
78943         * manual/install.texi: Likewise.
78944         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
78945         @glibcadj{} in references to the GNU C Library.
78946         * manual/charset.texi: Likewise.
78947         * manual/conf.texi: Likewise.
78948         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
78949         when not using those macros.
78950         * manual/creature.texi: Likewise.
78951         * manual/crypt.texi: Likewise.
78952         * manual/errno.texi: Likewise.
78953         * manual/filesys.texi: Likewise.
78954         * manual/header.texi: Likewise.
78955         * manual/install.texi: Likewise.
78956         * manual/intro.texi: Likewise.
78957         * manual/io.texi: Likewise.
78958         * manual/job.texi: Likewise.
78959         * manual/lang.texi: Likewise.
78960         * manual/libc.texiinfo: Likewise.
78961         * manual/llio.texi: Likewise.
78962         * manual/locale.texi: Likewise.
78963         * manual/maint.texi: Likewise.
78964         * manual/math.texi: Likewise.
78965         * manual/memory.texi: Likewise.
78966         * manual/message.texi: Likewise.
78967         * manual/nss.texi: Likewise.
78968         * manual/pattern.texi: Likewise.
78969         * manual/process.texi: Likewise.
78970         * manual/resource.texi: Likewise.
78971         * manual/search.texi: Likewise.
78972         * manual/setjmp.texi: Likewise.
78973         * manual/signal.texi: Likewise.
78974         * manual/socket.texi: Likewise.
78975         * manual/startup.texi: Likewise.
78976         * manual/stdio.texi: Likewise.
78977         * manual/string.texi: Likewise.
78978         * manual/sysinfo.texi: Likewise.
78979         * manual/syslog.texi: Likewise.
78980         * manual/terminal.texi: Likewise.
78981         * manual/time.texi: Likewise.
78982         * manual/users.texi: Likewise.
78983         * INSTALL: Regenerated.
78984         * NOTES: Regenerated.
78985         * sysdeps/gnu/errlist.c: Regenerated.
78987 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
78989         * include/dirent.h: Include <dirstream.h> before
78990         <dirent/dirent.h>.
78992 2012-02-28  David S. Miller  <davem@davemloft.net>
78994         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
78995         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
78996         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
78997         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
78999 2012-02-27  David S. Miller  <davem@davemloft.net>
79001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79003         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79004         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79007         frame pointer instead of stack pointer relative arg slot.
79008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79009         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79010         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79012 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79014         [BZ #3992]
79015         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79017 2012-02-27  David S. Miller  <davem@davemloft.net>
79019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79023         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79024         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79025         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79026         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79028 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79030         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79031         later.  Allow versions 5-9.
79032         * configure: Regenerated.
79033         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79034         required minimum version and 4.6 as recommended version.  Do not
79035         mention bugs in GCC 2.7 and 2.8.
79036         * INSTALL: Regenerated.
79038 2012-02-27  David S. Miller  <davem@davemloft.net>
79040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79044         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79045         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79046         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79047         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79049         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79050         manipulate bits before adding and subtracting TWO112[sx].
79051         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79053 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79055         [BZ #13775]
79056         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79057         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79058         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79059         being in POSIX, because they are in 1003.1-2008.
79061         * rt/tst-aio.c: Include <fcntl.h>.
79062         * rt/tst-aio7.c: Likewise.
79063         * rt/tst-aio64.c: Likewise.
79065         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79067 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79069         * manual/install.texi (--with-headers): Describe headers as
79070         interface headers, not private headers.
79071         (Specific advice for GNU/Linux systems): Describe use of headers
79072         from "make headers_install", not private headers from older
79073         kernels.
79074         * INSTALL: Regenerated.
79075         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79076         Change to 2.6.19.
79077         * sysdeps/unix/sysv/linux/configure: Regenerated.
79079         * manual/llio.texi (fclean): Remove documentation.
79081         * manual/Makefile (libc-texi-generated): New variable.  Include
79082         version.texi.
79083         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79084         $(libc-texi-generated), not duplicated list of files.
79085         (version.texi, stamp-version): New rules.
79086         (realclean): Remove $(libc-texi-generated), not individual files
79087         from that list.  Do not remove dir-add.texinfo.
79088         * manual/libc.texinfo: Comment out uses of edition numbers and
79089         references to printed manual.  Remove last-updated dates.
79090         (EDITION): Comment out.
79091         (ISBN): Likewise.
79092         (VERSION, UPDATED): Remove.
79093         (version.texi): Include.
79095 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79097         * sysdeps/posix/spawni.c: Include <signal.h>.
79098         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79099         * sysdeps/pthread/aio_fsync.c: Likewise.
79101 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79103         * conform/Makefile (tests): Run only when not cross-compiling and
79104         when fast-check is not defined.
79106         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79107         * conform/data/limits.h-data: Fixes for POSIX2008.
79108         * conform/run-conformtest.sh: Run all tests.
79109         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79110         headers.
79111         * include/bits/dlfcn.h: Likewise.
79112         * include/langinfo.h: Likewise.
79113         * include/monetary.h: Likewise.
79114         * include/sys/poll.h: Likewise.
79116         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79117         for __USE_GNU.
79118         * posix/spawn.h: Define __need_sigset_t.
79119         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79120         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79121         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79122         to get sigevent_t only.
79123         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79124         only for __USE_GNU.
79125         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79126         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79127         process_vm_writev only for __USE_GNU.
79128         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79130         * conform/Makefile: For now ignore errors from run-conformtest.
79131         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79132         POSIX to avoid namespace pollution.  Don't prepend headers.
79133         * conform/data/aio.h-data: Fixes for POSIX testing.
79134         * conform/data/fcntl.h-data: Likewise.
79135         * conform/data/glob.h-data: Likewise.
79136         * conform/data/grp.h-data: Likewise.
79137         * conform/data/pthread.h-data: Likewise.
79138         * conform/data/pwd.h-data: Likewise.
79139         * conform/data/signal.h-data: Likewise.
79140         * conform/data/spawn.h-data: Likewise.
79141         * conform/data/stdio.h-data: Likewise.
79142         * conform/data/stdlib.h-data: Likewise.
79143         * conform/data/stropts.h-data: Likewise.
79144         * conform/data/sys/mman.h-data: Likewise.
79145         * conform/data/sys/stat.h-data: Likewise.
79146         * conform/data/sys/types.h-data: Likewise.
79147         * conform/data/sys/wait.h-data: Likewise.
79148         * conform/data/time.h-data: Likewise.
79149         * conform/data/unistd.h-data: Likewise.
79150         * conform/data/utime.h-data: Likewise.
79152         * io/sys/stat.h: fchmod was always in POSIX.
79153         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79154         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79155         * rt/aio.h: Define __need_timespec before including <time.h>.
79156         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79157         struct.  Add forward declaration of pthread_attr_t and use it in
79158         sigevent.
79159         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79160         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79161         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79162         always remove CLK_TCK definition.
79164 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79166         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79168 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79170         * conform/run-conformtest.sh: New file.
79171         * conform/Makefile: Run run-conformtest for tests.
79172         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79173         support.
79175         * conform/data/uchar.h-data: New file.
79176         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79177         * conform/data/arpa/inet.h-data: Likewise.
79178         * conform/data/assert.h-data: Likewise.
79179         * conform/data/complex.h-data: Likewise.
79180         * conform/data/cpio.h-data: Likewise.
79181         * conform/data/ctype.h-data: Likewise.
79182         * conform/data/dirent.h-data: Likewise.
79183         * conform/data/dlfcn.h-data: Likewise.
79184         * conform/data/errno.h-data: Likewise.
79185         * conform/data/fcntl.h-data: Likewise.
79186         * conform/data/float.h-data: Likewise.
79187         * conform/data/fmtmsg.h-data: Likewise.
79188         * conform/data/fnmatch.h-data: Likewise.
79189         * conform/data/ftw.h-data: Likewise.
79190         * conform/data/glob.h-data: Likewise.
79191         * conform/data/grp.h-data: Likewise.
79192         * conform/data/iconv.h-data: Likewise.
79193         * conform/data/inttypes.h-data: Likewise.
79194         * conform/data/langinfo.h-data: Likewise.
79195         * conform/data/libgen.h-data: Likewise.
79196         * conform/data/limits.h-data: Likewise.
79197         * conform/data/locale.h-data: Likewise.
79198         * conform/data/math.h-data: Likewise.
79199         * conform/data/monetary.h-data: Likewise.
79200         * conform/data/mqueue.h-data: Likewise.
79201         * conform/data/ndbm.h-data: Likewise.
79202         * conform/data/net/if.h-data: Likewise.
79203         * conform/data/netdb.h-data: Likewise.
79204         * conform/data/netinet/in.h-data: Likewise.
79205         * conform/data/nl_types.h-data: Likewise.
79206         * conform/data/poll.h-data: Likewise.
79207         * conform/data/pthread.h-data: Likewise.
79208         * conform/data/pwd.h-data: Likewise.
79209         * conform/data/regex.h-data: Likewise.
79210         * conform/data/sched.h-data: Likewise.
79211         * conform/data/search.h-data: Likewise.
79212         * conform/data/semaphore.h-data: Likewise.
79213         * conform/data/setjmp.h-data: Likewise.
79214         * conform/data/signal.h-data: Likewise.
79215         * conform/data/spawn.h-data: Likewise.
79216         * conform/data/stdarg.h-data: Likewise.
79217         * conform/data/stdio.h-data: Likewise.
79218         * conform/data/stdlib.h-data: Likewise.
79219         * conform/data/string.h-data: Likewise.
79220         * conform/data/strings.h-data: Likewise.
79221         * conform/data/stropts.h-data: Likewise.
79222         * conform/data/sys/ipc.h-data: Likewise.
79223         * conform/data/sys/mman.h-data: Likewise.
79224         * conform/data/sys/msg.h-data: Likewise.
79225         * conform/data/sys/resource.h-data: Likewise.
79226         * conform/data/sys/select.h-data: Likewise.
79227         * conform/data/sys/sem.h-data: Likewise.
79228         * conform/data/sys/shm.h-data: Likewise.
79229         * conform/data/sys/socket.h-data: Likewise.
79230         * conform/data/sys/stat.h-data: Likewise.
79231         * conform/data/sys/statvfs.h-data: Likewise.
79232         * conform/data/sys/time.h-data: Likewise.
79233         * conform/data/sys/timeb.h-data: Likewise.
79234         * conform/data/sys/times.h-data: Likewise.
79235         * conform/data/sys/types.h-data: Likewise.
79236         * conform/data/sys/uio.h-data: Likewise.
79237         * conform/data/sys/un.h-data: Likewise.
79238         * conform/data/sys/utsname.h-data: Likewise.
79239         * conform/data/sys/wait.h-data: Likewise.
79240         * conform/data/syslog.h-data: Likewise.
79241         * conform/data/tar.h-data: Likewise.
79242         * conform/data/termios.h-data: Likewise.
79243         * conform/data/utime.h-data: Likewise.
79244         * conform/data/utmpx.h-data: Likewise.
79245         * conform/data/varargs.h-data: Likewise.
79246         * conform/data/wchar.h-data: Likewise.
79247         * conform/data/wctype.h-data: Likewise.
79248         * conform/data/wordexp.h-data: Likewise.
79250         * include/stropts.h: New file.
79251         * include/uchar.h: New file.
79252         * include/aio.h: Changes to allow conformtest.pl to use the headers.
79253         * include/assert.h: Likewise.
79254         * include/ctype.h: Likewise.
79255         * include/dirent.h: Likewise.
79256         * include/dlfcn.h: Likewise.
79257         * include/fcntl.h: Likewise.
79258         * include/fnmatch.h: Likewise.
79259         * include/glob.h: Likewise.
79260         * include/grp.h: Likewise.
79261         * include/libio.h: Likewise.
79262         * include/locale.h: Likewise.
79263         * include/math.h: Likewise.
79264         * include/net/if.h: Likewise.
79265         * include/netdb.h: Likewise.
79266         * include/netinet/in.h: Likewise.
79267         * include/pthread.h: Likewise.
79268         * include/pwd.h: Likewise.
79269         * include/regex.h: Likewise.
79270         * include/sched.h: Likewise.
79271         * include/search.h: Likewise.
79272         * include/setjmp.h: Likewise.
79273         * include/signal.h: Likewise.
79274         * include/stdio.h: Likewise.
79275         * include/stdlib.h: Likewise.
79276         * include/string.h: Likewise.
79277         * include/sys/cdefs.h: Likewise.
79278         * include/sys/mman.h: Likewise.
79279         * include/sys/msg.h: Likewise.
79280         * include/sys/resource.h: Likewise.
79281         * include/sys/select.h: Likewise.
79282         * include/sys/socket.h: Likewise.
79283         * include/sys/stat.h: Likewise.
79284         * include/sys/statvfs.h: Likewise.
79285         * include/sys/time.h: Likewise.
79286         * include/sys/times.h: Likewise.
79287         * include/sys/uio.h: Likewise.
79288         * include/sys/utsname.h: Likewise.
79289         * include/sys/wait.h: Likewise.
79290         * include/termios.h: Likewise.
79291         * include/time.h: Likewise.
79292         * include/ulimit.h: Likewise.
79293         * include/unistd.h: Likewise.
79294         * include/utime.h: Likewise.
79295         * include/wchar.h: Likewise.
79296         * include/wctype.h: Likewise.
79297         * include/wordexp.h: Likewise.
79299         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79301         * time/time.h: TIME_UTC must be a macro.
79302         Make timespec_get available for ISO C11 only as well.
79304 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79306         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79307         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79309 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79311         * configure.in: Use -o not -a in test for unsupported multi-arch.
79313 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79315         * manual/texinfo.tex: Update to version 2012-01-19.16.
79317 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79319         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79321 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79323         [BZ #13738]
79324         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79325         * manual/fdl-1.3.texi: New file.
79326         * manual/fdl-1.1.texi: File removed.
79328         [BZ #13738]
79329         * manual/libc.texinfo (FDL_VERSION): New @set.
79330         Use it for mention of FDL in cover text.
79331         (Documentation License): Use it in @include file name.
79333 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79334             Roland McGrath  <roland@hack.frob.com>
79336         [BZ #5461]
79337         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79338         (not LONG_LONG_MAX and LONG_LONG_MIN.
79339         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79340         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79341         name.
79342         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79344 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79346         [BZ #2547]
79347         [BZ #11365]
79348         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79349         manipulate bits before adding and subtracting TWO23[sx].
79350         * math/libm-test.inc (nearbyint_test): Add more tests.
79352 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79354         [BZ #2548]
79355         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79356         bits before adding and subtracting TWO23[sx].
79357         * math/libm-test.inc (rint_test): Add more tests.
79358         (rint_test_tonearest): Likewise.
79359         (rint_test_towardzero): Likewise.
79360         (rint_test_downward): Likewise.
79361         (rint_test_upward: Likewise.
79363 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79365         [BZ #10110]
79366         * include/stdc-predef.h: New file.  Extracted from features.h.
79367         * include/features.h: Include stdc-predef.h.
79368         * Makefile (headers): Add stdc-predef.h.
79369         * CONFORMANCE (Compiler limitations): Update.
79371 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79373         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79375 2012-02-21  David S. Miller  <davem@davemloft.net>
79377         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79378         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79380 2012-02-20  David S. Miller  <davem@davemloft.net>
79382         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79383         using a normal save/restore sequence, rather than allocating a
79384         dummy stack frame just to store a frame pointer and restore.
79385         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79387 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79389         * manual/install.texi: Fix stray word in line-wrapped comment.
79391 2012-02-20  David S. Miller  <davem@davemloft.net>
79393         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79394         both binutils and gcc support GOTDATA.
79396         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79397         "rd %pc" in the PIC register setup sequences.
79399         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79400         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79401         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79402         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79403         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79404         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79405         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79406         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79408         (SYSCALL_ERROR_HANDLER): Likewise.
79409         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79410         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79412         (SYSCALL_ERROR_HANDLER): Likewise.
79414         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79415         (HAVE_GCC_GOTDATA): New.
79416         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79417         relocation support in both binutils and gcc.
79418         * sysdeps/sparc/elf/configure: Regenerate.
79420         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79421         * sysdeps/sparc/sparc32/elf/configure: Delete.
79422         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79423         * sysdeps/sparc/sparc64/elf/configure: Delete.
79424         * sysdeps/sparc/elf/configure.in: New file.
79425         * sysdeps/sparc/elf/configure: Generate.
79427         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79428         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79429         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79430         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79431         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79433 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79435         * manual/install.texi: Do not mention specific glibc version
79436         numbers.
79437         * manual/libc.texinfo (VERSION, UPDATED): Update.
79438         (@copying): Use @copyright{} and range of years.
79440 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79442         [BZ #13695]
79443         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79444         [crti.S not in sysdirs] (generated): Do not append.
79445         [crti.S not in sysdirs] (omit-deps): Likewise.
79446         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79447         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79448         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79449         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79450         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79451         Likewise.
79452         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79453         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79454         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79455         * csu/defs.awk: Remove file.
79456         * sysdeps/generic/initfini.c: Likewise.
79457         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79458         variable.
79459         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79460         Likewise.
79462 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79464         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79465         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79466         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79467         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79468         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79469         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79470         <bits/epoll.h>.
79471         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79472         (__EPOLL_PACKED): Define to empty if not defined by
79473         <bits/epoll.h>.
79474         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79476         bits/epoll.h.
79478 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79480         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79481         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79482         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79483         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79484         <bits/timerfd.h>.
79485         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79487         bits/timerfd.h.
79489 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79491         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79492         in C locale.
79493         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79494         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79495         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79498 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79500         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79501         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79503 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79505         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79506         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79507         defined.
79508         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79509         Likewise.
79510         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79511         entry for 2.16.
79513 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79515         * math/w_acos.c: Use non-signaling floating-point comparisons.
79516         * math/w_acosf.c: Likewise.
79517         * math/w_acosh.c: Likewise.
79518         * math/w_acoshf.c: Likewise.
79519         * math/w_acoshl.c: Likewise.
79520         * math/w_acosl.c: Likewise.
79521         * math/w_asin.c: Likewise.
79522         * math/w_asinf.c: Likewise.
79523         * math/w_asinl.c: Likewise.
79524         * math/w_atanh.c: Likewise.
79525         * math/w_atanhf.c: Likewise.
79526         * math/w_atanhl.c: Likewise.
79527         * math/w_exp2.c: Likewise.
79528         * math/w_exp2f.c: Likewise.
79529         * math/w_exp2l.c: Likewise.
79530         * math/w_j0.c: Likewise.
79531         * math/w_j0f.c: Likewise.
79532         * math/w_j0l.c: Likewise.
79533         * math/w_j1.c: Likewise.
79534         * math/w_j1f.c: Likewise.
79535         * math/w_j1l.c: Likewise.
79536         * math/w_jn.c: Likewise.
79537         * math/w_jnf.c: Likewise.
79538         * math/w_log.c: Likewise.
79539         * math/w_log10.c: Likewise.
79540         * math/w_log10f.c: Likewise.
79541         * math/w_log10l.c: Likewise.
79542         * math/w_log2.c: Likewise.
79543         * math/w_log2f.c: Likewise.
79544         * math/w_log2l.c: Likewise.
79545         * math/w_logf.c: Likewise.
79546         * math/w_logl.c: Likewise.
79547         * math/w_sqrt.c: Likewise.
79548         * math/w_sqrtf.c: Likewise.
79549         * math/w_sqrtl.c: Likewise.
79550         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79551         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79552         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79553         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79554         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79556 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79558         [BZ #9739]
79559         * manual/string.texi (strnlen): Use correct parameter name in
79560         equivalent expression.
79562 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79564         [BZ #11174]
79565         * manual/users.texi (seteuid): Consistently use neweuid for
79566         argument name.
79568 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79570         [BZ #13704]
79571         * manual/nss.texi (Services in the NSS configuration): Correct
79572         list of services in example configuration file.
79574 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79576         [BZ #11322]
79577         * manual/arith.texi: Remove statements about negative zero
79578         behaving identically to zero.
79580 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79582         [BZ #5993]
79583         * manual/install.texi: Do not document upgrading from libc5.
79585 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79587         [BZ #4596]
79588         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79590 2012-02-18  David S. Miller  <davem@davemloft.net>
79592         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79593         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79594         %o7 across the call.
79595         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79596         instead.
79597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79598         SETUP_PIC_REG_LEAF.
79599         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79600         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79601         * sysdeps/sparc/crtn.S: Likewise.
79603 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79605         * aout/Makefile: Remove.
79607 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79609         [BZ #13058]
79610         * manual/examples/argp-ex1.c (main): Format definition in GNU
79611         style.
79612         * manual/examples/argp-ex2.c (main): Likewise.
79613         * manual/examples/argp-ex3.c (main): Likewise.
79614         * manual/examples/argp-ex4.c (main): Likewise.
79615         * manual/examples/longopt.c (main): Use new-style prototype
79616         definition.
79617         * manual/examples/strncat.c (main): Specify return type and use
79618         (void) for arguments.
79619         * manual/examples/subopt.c (main): Use char **argv argument.
79621 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79623         [BZ #5077]
79624         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79625         rounding modes.
79627 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79629         [BZ #6907]
79630         * manual/string.texi (strchr): Change when strchrnul is
79631         recommended.
79633 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79635         [BZ #174]
79636         * manual/locale.texi (setlocale): Document LOCPATH.
79638 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79640         [BZ #10210]
79641         * manual/process.texi (execle): Move @dots{} before last argument.
79643 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79645         [BZ #12047]
79646         * manual/charset.texi (Generic Charset Conversion): Fix typo
79647         (LC_TYPE -> LC_CTYPE).
79649 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79651         [BZ #5805]
79652         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79653         (scalbnf): Likewise.
79654         (scalbnl): Likewise.
79655         (scalbln): Likewise.
79656         (scalblnf): Likewise.
79657         (scalblnl): Likewise.
79658         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79659         (vwarnx): Likewise.
79660         (verr): Likewise.
79661         (verrx): Likewise.
79662         * manual/filesys.texi (telldir): Use braces around return type.
79663         * manual/llio.texi (mmap): Add space after comma.
79664         (mmap64): Likewise.
79665         * manual/math.texi (jn): Use @var{} on parameter names.
79666         (jnf): Likewise.
79667         (jnl): Likewise.
79668         (yn): Likewise.
79669         (ynf): Likewise.
79670         (ynl): Likewise.
79671         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79672         line.
79673         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79674         "...".
79675         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79676         (sched_get_priority_max): Likewise.
79677         * manual/signal.texi (sigvec): Add space after comma.
79678         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79679         names.
79680         (if_indextoname): Likewise.
79681         (if_freenameindex): Likewise.
79682         (sendto): Use ',' instead of '.' in prototype.
79683         * manual/startup.texi (syscall): Use @dots{} instead of literal
79684         "...".
79685         * manual/stdio.texi (__fpending): Separate initial words of
79686         paragraph from @deftypefun line.
79687         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79688         "...".
79689         (vsyslog): Use @var{} on parameter names.
79690         * manual/terminal.texi (stty): Use @var{} on parameter names.
79691         * manual/users.texi (getutmp): Use @var{} on parameter names.
79692         (getutmpx): Likewise.
79694 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79696         [BZ #6884]
79697         * manual/stdio.texi (fopen): Fix typos in description of
79698         ",ccs=STRING".
79700 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79702         [BZ #4026]
79703         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79704         get clock_id definition.
79706 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79708         [BZ #4822]
79709         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79710         (madvise): Cast every argument to void on its own.
79712 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79714         [BZ #9902]
79715         * manual/startup.texi (Exit Status): Fix typo.
79717 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79719         [BZ #10140]
79720         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79721         * manual/examples/argp-ex2.c: Likewise.
79722         * manual/examples/argp-ex3.c: Likewise.
79724 2012-02-16  Richard Henderson  <rth@redhat.com>
79726         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79727         * sysdeps/s390/s390-32/initfini.c: Remove.
79728         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79729         * sysdeps/s390/s390-64/initfini.c: Remove.
79731 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79733         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79734         compiler output for sysdeps/generic/initfini.c.
79735         * sysdeps/sh/elf/initfini.c: Remove file.
79737 2012-02-16  David S. Miller  <davem@davemloft.net>
79739         [BZ #11494]
79740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79742         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79743         * sysdeps/sparc/crti.S: New file.
79744         * sysdeps/sparc/crtn.S: New file.
79745         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79746         * sysdeps/sparc/sparc64/Makefile: Likewise.
79748 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79750         [BZ #3335]
79751         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79753 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79755         [BZ #4822]
79756         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79758         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79759         (write, read, close): Likewise.
79760         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79762 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79764         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79765         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79766         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79767         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79768         <bits/signalfd.h>.
79769         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79771         bits/signalfd.h.
79773 2012-02-14  Marek Polacek  <polacek@redhat.com>
79775         * sysdeps/x86_64/crti.S: New file.
79776         * sysdeps/x86_64/crtn.S: New file.
79777         * sysdeps/x86_64/elf/initfini.c: Remove file.
79779 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79781         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79782         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79783         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79784         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79785         <bits/inotify.h>.
79786         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79788         bits/inotify.h.
79790 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79792         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79793         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79794         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79795         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79796         <bits/eventfd.h>.
79797         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79799         bits/eventfd.h.
79801 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79803         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79804         __feraiseexcept instead of feraiseexcept.
79806         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79807         nanosleep invocations.
79808         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79809         strings, and add error checking for a nanosleep invocations.
79811 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79813         Replace FSF snail mail address with URLs, as per GNU coding standards.
79814         Most of the snail mail addresses were wrong anyway, and omitting
79815         them makes the source code easier to maintain.  Almost all of the
79816         changes are to license notices and to locale LC_IDENTIFICATION
79817         addresses, except for this one:
79818         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79819         not its snail mail address.
79821 2012-02-09  Richard Henderson  <rth@twiddle.net>
79823         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79824         of kernel-features.h.
79826         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79828 2012-02-08  Marek Polacek  <polacek@redhat.com>
79830         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79831         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79832         * sysdeps/gnu/_G_config.h: Likewise.
79833         * sysdeps/generic/_G_config.h: Likewise.
79835 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79837         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79838         tests.
79839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79841         * sysdeps/powerpc/powerpc32/crti.S: New file.
79842         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79843         * sysdeps/powerpc/powerpc64/crti.S: New file.
79844         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79846         * Makeconfig (have-initfini): Don't set.
79847         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79848         * configure.in (nopic_initfini): Don't substitute.
79849         * config.h.in (HAVE_INITFINI): Don't #undef.
79850         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79851         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79853 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
79855         Support crti.S and crtn.S provided directly by architectures.
79856         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79857         [crti.S in sysdirs] (omit-deps): Likewise.
79858         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79859         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79860         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79861         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79862         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79863         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79864         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79865         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79866         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79867         compiler output for sysdeps/generic/initfini.c.
79868         * sysdeps/i386/elf/Makefile: Remove file.
79869         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79871 2012-02-07  Marek Polacek  <polacek@redhat.com>
79873         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
79874         * sysdeps/gnu/_G_config.h: Likewise.
79875         * sysdeps/mach/hurd/_G_config.h: Likewise.
79877 2012-02-07  Marek Polacek  <polacek@redhat.com>
79879         * math/Makefile (tests): Add tst-CMPLX2.
79880         * math/tst-CMPLX2.c: New file.
79882 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
79884         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79886         * math/libm-test.inc (jn_test): Add missing L suffix.
79888 2012-02-06  Marek Polacek  <polacek@redhat.com>
79890         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
79891         * sysdeps/i386/fpu/e_powf.S: Likewise.
79892         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79893         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79894         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79895         * sysdeps/i386/fpu/e_pow.S: Likewise.
79896         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
79897         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79898         * sysdeps/i386/fpu/s_expm1.S: Likewise.
79899         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
79900         * sysdeps/i386/fpu/e_log2.S: Likewise.
79901         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79902         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79903         * sysdeps/i386/fpu/e_powl.S: Likewise.
79904         * sysdeps/i386/fpu/s_log1p.S: Likewise.
79905         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79906         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
79907         * sysdeps/i386/fpu/e_logl.S: Likewise.
79908         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
79909         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
79910         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
79911         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
79912         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79913         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79914         * sysdeps/i386/fpu/e_log.S: Likewise.
79915         * sysdeps/i386/fpu/s_cexp.S: Likewise.
79916         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79917         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
79918         * sysdeps/i386/fpu/e_logf.S: Likewise.
79919         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79920         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79921         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
79922         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
79923         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79924         * sysdeps/i386/fpu/e_log10.S: Likewise.
79925         * sysdeps/i386/fpu/s_frexp.S: Likewise.
79926         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79927         * sysdeps/i386/fpu/s_asinh.S: Likewise.
79928         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
79929         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79930         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
79931         * sysdeps/i386/asm-syntax.h: Likewise.
79932         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79934         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79935         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
79936         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
79937         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79938         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
79939         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
79940         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79941         * sysdeps/powerpc/sysdep.h: Likewise.
79942         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
79943         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79945 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79947         [BZ #411]
79948         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
79950 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79952         * sysdeps/i386/sysdep.h: Include <features.h>.
79953         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
79954         version.
79956 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
79958         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
79959         Define.
79960         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
79961         LOAD_PIC_REG_STR.
79963 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79965         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
79966         (SETUP_PIC_REG): Use GET_PC_THUNK.
79967         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
79968         macro.
79970 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79972         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
79973         for non-PIC compilation.
79974         (SETUP_PIC_REG): Add .p2align directive.
79975         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
79976         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
79977         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
79978         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
79979         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
79980         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
79981         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
79982         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79983         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
79984         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
79985         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
79986         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
79987         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
79988         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
79989         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
79990         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
79991         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
79992         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
79993         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
79994         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
79995         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
79996         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
79997         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
79998         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
79999         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80001         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80002         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80003         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80004         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80005         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80006         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80007         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80008         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80009         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80010         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80011         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80012         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80013         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80014         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80015         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80017 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80019         * math/tst-CMPLX.c: Include <stdio.h>.
80021 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80023         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80024         float.
80025         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80026         * sysdeps/sparc/bits/mathdef.h: Likewise.
80028 2012-01-31  Marek Polacek  <polacek@redhat.com>
80030         * libio/libio.h: Don't define _PARAMS.
80031         * locale/programs/config.h: Don't define PARAMS.
80032         * stdlib/strtol_l.c: Likewise.
80033         (__strtol_l): Remove PARAMS from the prototype.
80035 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80037         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80038         names.  Just use the correct names.  Remove unnecessary wrapper
80039         functions.
80040         * malloc/arena.c: Likewise.
80041         * malloc/hooks.c: Likewise.
80043         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80044         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80045         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80047 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80049         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80050         into tail calls.
80051         (update_get_addr): New function.
80052         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80053         GET_ADDR_MODULE parameter.
80055 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80057         * crypt/cert.c: Remove __STDC__ conditionals.
80058         * crypt/crypt-entry.c: Likewise.
80059         * crypt/crypt_util.c: Likewise.
80060         * libio/filedoalloc.c: Likewise.
80061         * libio/fileops.c: Likewise.
80062         * libio/genops.c: Likewise.
80063         * libio/iofclose.c: Likewise.
80064         * libio/iofdopen.c: Likewise.
80065         * libio/iofopen.c: Likewise.
80066         * libio/iofopen64.c: Likewise.
80067         * libio/iogetdelim.c: Likewise.
80068         * libio/iopopen.c: Likewise.
80069         * libio/obprintf.c: Likewise.
80070         * libio/oldfileops.c: Likewise.
80071         * libio/oldiofclose.c: Likewise.
80072         * libio/oldiofdopen.c: Likewise.
80073         * libio/oldiofopen.c: Likewise.
80074         * libio/oldiopopen.c: Likewise.
80075         * libio/wfiledoalloc.c: Likewise.
80076         * libio/wgenops.c: Likewise.
80077         * locale/programs/xmalloc.c: Likewise.
80078         * misc/syslog.c: Likewise.
80079         * stdio-common/xbug.c: Likewise.
80080         * string/memchr.c: Likewise.
80081         * string/memcmp.c: Likewise.
80082         * string/memrchr.c: Likewise.
80083         * string/rawmemchr.c: Likewise.
80084         * sysdeps/posix/getcwd.c: Likewise.
80085         * time/strftime_l.c: Likewise.
80087 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80089         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80090         * config.make.in (config-cflags-sse2avx): Define.
80091         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80092         Fix typo.
80094 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80096         * scripts/config.guess: Update from upstream config git repository.
80097         * scripts/config.sub: Likewise.
80099 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80101         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80102         (EM_NUM): Update.
80103         (R_TILEPRO_*, R_TILEGX_*): New macros.
80105         * scripts/firstversions.awk: Fix bug in version range handling.
80107         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80109         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80111         * include/sys/epoll.h: New file.
80112         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80113         libc_hidden_def.
80115 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80117         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80118         Avoid unnecessary __WORDSIZE == 64 test.
80119         (fmaxf): Use VEX format if possible.
80120         (fmax): Likewise.
80121         (fminf): Likewise.
80122         (fmin): Likewise.
80124         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80125         * math/math_private.h: Remove libc_fegetround* and
80126         libc_fesetround*.
80127         * sysdeps/i386/configure.in: Check for -msse2avx.
80128         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80129         also if SSE2AVX is defined.
80130         Remove libc_fegetround* and libc_fesetround*.
80131         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80132         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80133         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80134         of HAS_YMM_USABLE.
80135         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80136         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80138         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80139         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80141         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80143 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80145         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80146         size is not set.
80147         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80149 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80151         [BZ #13618]
80152         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80153         relocation.
80154         * Makeconfig (libm): Define.
80155         * elf/Makefile: Add rules to build and run tst-relsort1.
80156         * elf/tst-relsort1.c: New file.
80157         * elf/tst-relsort1mod1.c: New file.
80158         * elf/tst-relsort1mod2.c: New file.
80160 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80162         * math/s_ldexp.c: Remove __STDC__ conditionals.
80163         * math/s_ldexpf.c: Likewise.
80164         * math/s_ldexpl.c: Likewise.
80165         * math/s_nextafter.c: Likewise.
80166         * math/s_nexttowardf.c: Likewise.
80167         * math/s_significand.c: Likewise.
80168         * math/s_significandf.c: Likewise.
80169         * math/s_significandl.c: Likewise.
80170         * math/w_jnl.c: Likewise.
80171         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80172         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80173         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80174         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80175         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80176         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80177         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80178         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80179         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80180         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80181         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80182         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80183         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80184         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80185         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80186         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80187         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80188         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80190         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80191         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80192         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80193         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80194         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80195         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80196         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80197         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80198         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80199         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80200         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80201         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80202         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80203         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80204         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80205         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80206         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80207         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80208         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80209         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80210         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80211         * sysdeps/ieee754/k_standard.c: Likewise.
80212         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80213         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80214         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80215         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80216         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80217         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80218         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80219         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80220         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80221         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80222         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80223         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80224         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80225         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80226         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80227         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80228         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80229         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80230         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80231         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80232         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80233         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80234         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80235         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80236         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80237         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80238         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80239         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80240         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80241         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80242         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80243         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
80244         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80245         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80247         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80248         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
80249         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80250         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80251         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
80252         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
80253         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80254         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
80255         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
80256         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80257         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
80258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
80259         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80260         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80261         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80262         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80263         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80264         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80265         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80266         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80267         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80268         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80269         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80270         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80271         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80272         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80273         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80274         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80275         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80276         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80277         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80278         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80279         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80280         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80281         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80282         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80283         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80284         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80285         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80286         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80287         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80288         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80289         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80290         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80291         * sysdeps/ieee754/s_matherr.c: Likewise.
80292         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80293         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80295         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80297 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80299         * crypt/md5.h: Remove __STDC__ conditionals.
80300         * libio/libioP.h: Likewise.
80301         * locale/programs/config.h: Likewise.
80302         * sysdeps/generic/sysdep.h: Likewise.
80303         * sysdeps/i386/asm-syntax.h: Likewise.
80304         * sysdeps/s390/asm-syntax.h: Likewise.
80305         * sysdeps/unix/sysdep.h: Likewise.
80306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80309 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80311         * libio/libio.h: Remove __STDC__ conditionals.
80312         * malloc/obstack.h: Likewise.
80313         * math/complex.h: Likewise.
80314         * math/math.h: Likewise.
80315         * sysdeps/generic/_G_config.h: Likewise.
80316         * sysdeps/gnu/_G_config.h: Likewise.
80317         * sysdeps/mach/hurd/_G_config.h: Likewise.
80318         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80319         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80320         * sysdeps/sparc/bits/mathdef.h: Likewise.
80322 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80324         [BZ #13583]
80325         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80326         Clean up HAS_* macros.
80327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80328         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80329         possible.
80330         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80331         HAS_AVX.
80332         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80333         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80334         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80335         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80336         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80338 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80340         * elf/tst-unique3.cc (gets): Remove declaration.
80341         * elf/tst-unique3lib.cc (gets): Likewise.
80342         * elf/tst-unique3lib2.cc (gets): Likewise.
80343         * elf/tst-unique4.cc (gets): Likewise.
80345 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80347         * include/stdio.h: Add C++ protection.  Add gets declarations and
80348         definitions.
80349         * debug/tst-chk1.c: Don't declare gets here.
80350         * stdio-common/tst-gets.c: Likewise.
80352 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80354         * posix/glob: Remove directory.
80356 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80358         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80360 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80362         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80363         of the non-standard EPFNOSUPPORT.
80365 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80367         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80368         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80369         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80371 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80373         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80375 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80377         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80378         transient errors.
80379         * nscd/grpcache.c (cache_addgr): Likewise.
80380         * nscd/hstcache.c (cache_addhst): Likewise.
80381         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80382         * nscd/pwdcache.c (cache_addpw): Likewise.
80383         * nscd/servicescache.c (cache_addserv): Likewise.
80385 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80387         * malloc/malloc.c: Various cleanups.
80388         * malloc/hooks.c: Likewise.
80390         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80391         * stdlib/bug-fmtmsg1.c: New file.
80393         * stdlib/fmtmsg.c (init): Add missing unlock.
80394         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80396 2012-01-12  Marek Polacek  <polacek@redhat.com>
80398         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80399         and _GNU_SOURCE.
80401 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80403         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80404         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80405         macro to ensure uniqueness of label name.
80406         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80407         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80409 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80411         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80413         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80414         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80415         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80418 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80420         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80422         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80423         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80424         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80426         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80428         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80429         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80430         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80433         * math/bits/math-finite.h: Add ldexp support.
80435 2012-01-10  Marek Polacek  <polacek@redhat.com>
80437         * locale/programs/localedef.h (show_archive_content): Add noreturn
80438         attribute.
80440 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80442         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80444 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80446         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80448         * io/Makefile (headers): Add bits/poll2.h.
80450 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80453         typo #include statement.
80455 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80457         * include/sys/cdefs.h: Define __attribute_alloc_size.
80458         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80459         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80460         * elf/pldd.c: Likewise.
80461         * iconv/iconv_charmap.c: Likewise.
80462         * iconv/iconvconfig.c: Likewise.
80463         * iconv/strtab.c: Likewise.
80464         * locale/programs/locale.c: Likewise.
80465         * locale/programs/localedef.h: Likewise.
80466         * locale/programs/simple-hash.c: Likewise.
80467         * nscd/nscd.h: Likewise.
80468         * nss/makedb.c: Likewise.
80469         * sysdeps/generic/ldconfig.h: Likewise.
80470         * locale/programs/localedef.c: Remove xmalloc prototype.
80471         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80473 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80475         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80476         appropriate.
80478 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80480         * math/Makefile (tests): Add tst-CMPLX.
80481         * math/tst-CMPLX.c: New file.
80483         * math/complex.h (CMPLXL): Fix typo.
80485         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80486         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80487         GLIBC_2.16.
80488         * debug/tst-chk1.c: Add poll and ppoll tests.
80489         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80490         * include/sys/poll.h: Add hidden proto for ppoll.
80491         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80492         * sysdeps/mach/hurd/ppoll.c: Likewise.
80493         * io/ppoll.c: Likewise.
80494         * debug/poll_chk.c: New file.
80495         * debug/ppoll_chk.c: New file.
80496         * include/bits/poll2.h: New file.
80497         * io/bits/poll2.h: New file.
80499         [BZ #1350]
80500         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80502         * configure.in: static is always set to yes.  Remove.
80503         * config.make.in: Don't set build-static.
80504         * Makeconfig: Remove use of build-static.
80505         * dlfcn/Makefile: Likewise.
80506         * elf/Makefile: Likewise.
80507         * math/Makefile: Likewise.
80508         * misc/Makefile: Likewise.
80509         * nptl/Makefile: Likewise.
80510         * sysdeps/mach/hurd/Makefile: Likewise.
80512         * configure.in: PWD_P is not used anymore.
80513         * config.make.in: Remove PWD_P entry.
80515         * configure.in: Remove last remnants of RANLIB.
80516         No need to check for signed size_t anymore.
80517         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80518         and IA-64.
80519         Remove __builtin_expect test because we require at least gcc 3.4.
80520         * aclocal.m4: Likewise.
80522         * wcsmbs/mbrtoc16.c: Implement using towc function.
80523         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80524         * wcsmbs/wcsmbsload.c: Likewise.
80525         * iconv/gconv_simple.c: Likewise.
80526         * iconv/gconv_int.h: Likewise.
80527         * iconv/gconv_builtin.h: Likewise.
80528         * iconv/iconv_prog.c: Remove CHAR16 handling.
80530         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80532         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80534         * configure.in: Remove --with-elf and --enable-bounded options.
80535         Dont set base_machine for ia64.  More non-ELF conditions removed.
80536         Remove testing and setting of leading underscore information.
80537         * config.make.in (build-bounded): Set to no.
80538         * config.h.in: Remove NO_UNDERSCORES entry.
80539         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80540         them.
80541         * csu/start.c: Remove !NO_UNDERSCORE code.
80542         * locale/localeinfo.h: Likewise.
80543         * sysdeps/generic/machine-gmon.h: Likewise.
80544         * sysdeps/generic/sysdep.h: Likewise.
80545         * sysdeps/i386/sysdep.h: Likewise.
80546         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80547         * sysdeps/mach/sysdep.h: Likewise.
80548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80550         * sysdeps/sh/sysdep.h: Likewise.
80551         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80552         * sysdeps/unix/i386/sysdep.S: Likewise.
80553         * sysdeps/unix/sparc/start.c: Likewise.
80554         * sysdeps/unix/sparc/sysdep.S: Likewise.
80555         * sysdeps/unix/sparc/sysdep.h: Likewise.
80556         * sysdeps/unix/start.c: Likewise.
80557         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80558         * sysdeps/x86_64/sysdep.h: Likewise.
80560 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80562         [BZ #13553]
80563         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80564         for non-gcc.
80565         * argp/argp-fmtstream.h: Use const instead __const.
80566         * argp/argp.h: Likewise.
80567         * assert/assert.h: Likewise.
80568         * bits/fenv.h: Likewise.
80569         * bits/sched.h: Likewise.
80570         * bits/sigset.h: Likewise.
80571         * bits/sigthread.h: Likewise.
80572         * catgets/nl_types.h: Likewise.
80573         * conform/data/pthread.h-data: Likewise.
80574         * crypt/crypt-private.h: Likewise.
80575         * crypt/crypt.h: Likewise.
80576         * crypt/crypt_util.c: Likewise.
80577         * ctype/ctype.h: Likewise.
80578         * debug/execinfo.h: Likewise.
80579         * debug/mbsnrtowcs_chk.c: Likewise.
80580         * debug/mbsrtowcs_chk.c: Likewise.
80581         * debug/wcsnrtombs_chk.c: Likewise.
80582         * debug/wcsrtombs_chk.c: Likewise.
80583         * debug/wcstombs_chk.c: Likewise.
80584         * dirent/dirent.h: Likewise.
80585         * dlfcn/dlfcn.h: Likewise.
80586         * elf/neededtest4.c: Likewise.
80587         * grp/grp.h: Likewise.
80588         * gshadow/gshadow.h: Likewise.
80589         * iconv/gconv.h: Likewise.
80590         * iconv/gconv_int.h: Likewise.
80591         * iconv/gconv_simple.c: Likewise.
80592         * iconv/iconv.h: Likewise.
80593         * iconv/loop.c: Likewise.
80594         * iconv/skeleton.c: Likewise.
80595         * include/aio.h: Likewise.
80596         * include/aliases.h: Likewise.
80597         * include/argz.h: Likewise.
80598         * include/arpa/inet.h: Likewise.
80599         * include/assert.h: Likewise.
80600         * include/dirent.h: Likewise.
80601         * include/dlfcn.h: Likewise.
80602         * include/execinfo.h: Likewise.
80603         * include/fcntl.h: Likewise.
80604         * include/fenv.h: Likewise.
80605         * include/glob.h: Likewise.
80606         * include/grp.h: Likewise.
80607         * include/libintl.h: Likewise.
80608         * include/mntent.h: Likewise.
80609         * include/netdb.h: Likewise.
80610         * include/pwd.h: Likewise.
80611         * include/rpc/netdb.h: Likewise.
80612         * include/sched.h: Likewise.
80613         * include/search.h: Likewise.
80614         * include/shadow.h: Likewise.
80615         * include/signal.h: Likewise.
80616         * include/stdio.h: Likewise.
80617         * include/stdlib.h: Likewise.
80618         * include/string.h: Likewise.
80619         * include/sys/socket.h: Likewise.
80620         * include/sys/stat.h: Likewise.
80621         * include/sys/statfs.h: Likewise.
80622         * include/sys/statvfs.h: Likewise.
80623         * include/sys/syslog.h: Likewise.
80624         * include/sys/time.h: Likewise.
80625         * include/sys/uio.h: Likewise.
80626         * include/time.h: Likewise.
80627         * include/unistd.h: Likewise.
80628         * include/utmp.h: Likewise.
80629         * include/wchar.h: Likewise.
80630         * include/wctype.h: Likewise.
80631         * inet/aliases.h: Likewise.
80632         * inet/arpa/inet.h: Likewise.
80633         * inet/netinet/ether.h: Likewise.
80634         * inet/netinet/in.h: Likewise.
80635         * intl/libintl.h: Likewise.
80636         * io/bits/fcntl2.h: Likewise.
80637         * io/fcntl.h: Likewise.
80638         * io/ftw.h: Likewise.
80639         * io/sys/poll.h: Likewise.
80640         * io/sys/stat.h: Likewise.
80641         * io/sys/statfs.h: Likewise.
80642         * io/sys/statvfs.h: Likewise.
80643         * io/utime.h: Likewise.
80644         * libio/bits/stdio.h: Likewise.
80645         * libio/bits/stdio2.h: Likewise.
80646         * libio/libio.h: Likewise.
80647         * libio/libioP.h: Likewise.
80648         * libio/stdio.h: Likewise.
80649         * locale/lc-ctype.c: Likewise.
80650         * locale/locale.h: Likewise.
80651         * login/utmp.h: Likewise.
80652         * malloc/arena.c: Likewise.
80653         * malloc/malloc.c: Likewise.
80654         * malloc/malloc.h: Likewise.
80655         * malloc/mcheck.c: Likewise.
80656         * malloc/mtrace.c: Likewise.
80657         * math/bits/mathcalls.h: Likewise.
80658         * math/fenv.h: Likewise.
80659         * math/math_private.h: Likewise.
80660         * misc/bits/error.h: Likewise.
80661         * misc/bits/syslog.h: Likewise.
80662         * misc/err.h: Likewise.
80663         * misc/error.h: Likewise.
80664         * misc/fstab.h: Likewise.
80665         * misc/mntent.h: Likewise.
80666         * misc/regexp.h: Likewise.
80667         * misc/search.h: Likewise.
80668         * misc/sgtty.h: Likewise.
80669         * misc/sys/mman.h: Likewise.
80670         * misc/sys/syslog.h: Likewise.
80671         * misc/sys/uio.h: Likewise.
80672         * misc/sys/xattr.h: Likewise.
80673         * misc/ttyent.h: Likewise.
80674         * nis/rpcsvc/ypclnt.h: Likewise.
80675         * nss/nss.h: Likewise.
80676         * posix/bits/unistd.h: Likewise.
80677         * posix/fnmatch.h: Likewise.
80678         * posix/glob.h: Likewise.
80679         * posix/sched.h: Likewise.
80680         * posix/spawn.h: Likewise.
80681         * posix/sys/wait.h: Likewise.
80682         * posix/unistd.h: Likewise.
80683         * posix/wordexp.h: Likewise.
80684         * pwd/pwd.h: Likewise.
80685         * resolv/netdb.h: Likewise.
80686         * resource/sys/resource.h: Likewise.
80687         * rt/aio.h: Likewise.
80688         * rt/bits/mqueue2.h: Likewise.
80689         * rt/mqueue.h: Likewise.
80690         * shadow/shadow.h: Likewise.
80691         * signal/signal.h: Likewise.
80692         * socket/send.c: Likewise.
80693         * socket/sendto.c: Likewise.
80694         * socket/sys/socket.h: Likewise.
80695         * stdio-common/printf.h: Likewise.
80696         * stdlib/bits/stdlib.h: Likewise.
80697         * stdlib/fmtmsg.h: Likewise.
80698         * stdlib/monetary.h: Likewise.
80699         * stdlib/stdlib.h: Likewise.
80700         * stdlib/ucontext.h: Likewise.
80701         * streams/stropts.h: Likewise.
80702         * string/argz.h: Likewise.
80703         * string/bits/string2.h: Likewise.
80704         * string/string.h: Likewise.
80705         * string/strings.h: Likewise.
80706         * sunrpc/rpc/auth.h: Likewise.
80707         * sunrpc/rpc/auth_des.h: Likewise.
80708         * sunrpc/rpc/clnt.h: Likewise.
80709         * sunrpc/rpc/netdb.h: Likewise.
80710         * sunrpc/rpc/pmap_clnt.h: Likewise.
80711         * sunrpc/rpc/xdr.h: Likewise.
80712         * sysdeps/generic/inttypes.h: Likewise.
80713         * sysdeps/generic/net/if.h: Likewise.
80714         * sysdeps/generic/sys/swap.h: Likewise.
80715         * sysdeps/gnu/net/if.h: Likewise.
80716         * sysdeps/gnu/utmpx.h: Likewise.
80717         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80718         * sysdeps/i386/i486/bits/string.h: Likewise.
80719         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80720         * sysdeps/s390/bits/string.h: Likewise.
80721         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80722         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80723         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80724         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80725         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80726         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80727         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80728         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80729         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80730         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80731         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80732         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80733         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80734         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80735         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80736         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80737         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80739         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80740         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80741         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80742         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80743         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80744         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80745         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80746         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80747         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80748         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80749         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80750         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80751         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80752         * sysvipc/sys/ipc.h: Likewise.
80753         * sysvipc/sys/msg.h: Likewise.
80754         * sysvipc/sys/sem.h: Likewise.
80755         * sysvipc/sys/shm.h: Likewise.
80756         * termios/termios.h: Likewise.
80757         * time/sys/time.h: Likewise.
80758         * time/time.h: Likewise.
80759         * wcsmbs/bits/wchar2.h: Likewise.
80760         * wcsmbs/uchar.h: Likewise.
80761         * wcsmbs/wchar.h: Likewise.
80762         * wctype/wctype.h: Likewise.
80764         [BZ #13551]
80765         * Makeconfig: Remove all but ELF support including AIX support.
80766         * Makerules: Likewise.
80767         * config.h.in: Likewise.
80768         * config.make.in: Likewise.
80769         * configure: Likewise.
80770         * configure.in: Likewise.
80771         * csu/Makefile: Likewise.
80772         * csu/version.c: Likewise.
80773         * debug/Makefile: Likewise.
80774         * dlfcn/Makefile: Likewise.
80775         * elf/Makefile: Likewise.
80776         * extra-lib.mk: Likewise.
80777         * iconv/Makefile: Likewise.
80778         * include/libc-symbols.h: Likewise.
80779         * include/shlib-compat.h: Likewise.
80780         * resolv/Makefile: Likewise.
80781         * resolv/res_libc.c: Likewise.
80782         * rt/Makefile: Likewise.
80783         * sysdeps/i386/asm-syntax.h: Likewise.
80784         * sysdeps/i386/sysdep.h: Likewise.
80785         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80786         * sysdeps/mach/sysdep.h: Likewise.
80787         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80788         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80789         * sysdeps/s390/asm-syntax.h: Likewise.
80790         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80791         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80792         * sysdeps/sh/sysdep.h: Likewise.
80793         * sysdeps/unix/sparc/sysdep.h: Likewise.
80794         * sysdeps/wordsize-32/divdi3.c: Likewise.
80795         * sysdeps/x86_64/sysdep.h: Likewise.
80797         * argp/Versions: Remove _argp_unlock_xxx.
80799         [BZ #13559]
80800         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80801         * abilist/libBrokenLocale.abilist: Likewise.
80802         * abilist/libanl.abilist: Likewise.
80803         * abilist/libc.abilist: Likewise.
80804         * abilist/libcrypt.abilist: Likewise.
80805         * abilist/libdl.abilist: Likewise.
80806         * abilist/libm.abilist: Likewise.
80807         * abilist/libnsl.abilist: Likewise.
80808         * abilist/libpthread.abilist: Likewise.
80809         * abilist/libresolv.abilist: Likewise.
80810         * abilist/librt.abilist: Likewise.
80811         * abilist/libthread_db.abilist: Likewise.
80812         * abilist/libutil.abilist: Likewise.
80813         * abilist/libnss_db.abilist: New file.
80815         * scripts/abilist.awk: Add support for indirect functions.
80817         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80819         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80821         * shlib-versions: Remove entries for ports architectures.
80823         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80824         files in ports.
80825         * elf/stackguard-macros.h: Remove support for IA-64.
80826         * elf/tst-auditmod1.c: Likewise.
80827         * sysdeps/generic/ldsodefs.h: Likewise.
80829         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80830         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80831         configure files.
80833         [BZ #13552]
80834         * configure.in: Remove --enable-omitfp support.
80835         * FAQ.in: Adjust.
80836         * config.make.in: Likewise.
80837         * Makeconfig: Likewise.
80838         * manual/install.texi: Likewise.
80840         In case anyone cares, the IA-64 architecture could move to ports.
80841         * sysdeps/ia64/*: Removed.
80842         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80843         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80845         [BZ #13555]
80846         * configure.in: Remove entries for unsupported architectures.
80848         [BZ #13533]
80849         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80850         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
80851         routines.
80852         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80853         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80854         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
80855         fall back to using wcrtomb.
80856         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80857         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
80858         renaming.
80859         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80860         * wcsmbs/tst-c16c32-1.c: New file.
80862         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80863         local variable.
80865         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80867         * elf/tst-unique3.cc: Add explicit declaration of gets.
80868         * elf/tst-unique3lib.cc: Likewise.
80869         * elf/tst-unique3lib2.cc: Likewise.
80870         * elf/tst-unique4.cc: Likewise.
80872         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
80874 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
80876         [BZ #13566]
80877         * assert/assert.h (static_assert): Don't define for C++.
80878         * libio/stdio.h (gets): Do declare for C++ <= C++11.
80879         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
80881 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
80883         * iconv/loop.c (single loop): Fix assertion in storing of
80884         remaining bytes.
80886         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
80888 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
80890         * posix/getconf.c: Update copyright year.
80891         * nss/getent.c: Likewise.
80892         * nss/makedb.c: Likewise.
80893         * iconv/iconvconfig.c: Likewise.
80894         * iconv/iconv_prog.c: Likewise.
80895         * elf/ldconfig.c: Likewise.
80896         * elf/pldd.c: Likewise.
80897         * elf/sotruss.ksh: Likewise.
80898         * catgets/gencat.c: Likewise.
80899         * csu/version.c: Likewise.
80900         * elf/ldd.bash.in: Likewise.
80901         * elf/sprof.c (print_version): Likewise.
80902         * locale/programs/locale.c: Likewise.
80903         * locale/programs/localedef.c: Likewise.
80904         * login/programs/pt_chown.c: Likewise.
80905         * nscd/nscd.c (print_version): Likewise.
80906         * debug/xtrace.sh: Likewise.
80907         * malloc/memusage.sh: Likewise.
80908         * malloc/mtrace.pl: Likewise.
80909         * debug/catchsegv.sh: Likewise.
80911 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
80913         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
80914         pure attribute.
80916 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
80918         [BZ #13533]
80919         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
80920         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
80921         transformations.
80922         * iconv/gconv_int.h: Likewise.
80923         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
80924         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
80925         from libc for GLIBC_2.16.
80926         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
80927         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
80928         * wcsmbs/uchar.h: Really define mbstate_t.
80929         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
80930         * wcsmbs/c16rtomb.c: New file.
80931         * wcsmbs/mbrtoc16.c: New file.
80932         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
80933         for C/POSIX locale.
80934         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
80935         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
80937         * wcsmbs/wchar.h: Add missing __restrict.
80939 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80941         [BZ #13532]
80942         * time/Makefile (routines): Add timespec_get.
80943         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
80944         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
80945         timespec for ISO C11.
80946         * time/timespec_get.c: New file.
80947         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
80948         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
80950         [BZ #13531]
80951         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
80952         * stdlib/stdlib.h: Declare aligned_alloc.
80953         * Versions.def: Add GLIBC_2.16 for libc.
80954         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
80956         [BZ 13527]
80957         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
80958         ISO C11.
80960         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
80961         code.
80963         [BZ #13528]
80964         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
80966         [BZ #13529]
80967         * assert/assert.h (static_assert): Define.
80969         * version.h: Update for 2.16 development version.
80971         [BZ #13526]
80972         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
80973         _ISOC11_SOURCE.
80975         * version.h (RELEASE): Bump for 2.15 release.
80976         * include/features.h (__GLIBC_MINOR__): Bump to 15.
80978         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
80979         Patch by Marek Polacek <mpolacek@redhat.com>.
80981         * bits/byteswap.h: Protect long long constants with __extension__.
80982         * sysdeps/i386/bits/byteswap.h: Likewise.
80983         * sysdeps/ia64/bits/byteswap.h: Likewise.
80984         * sysdeps/s390/bits/byteswap.h: Likewise.
80985         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80987 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80989         [BZ #13540]
80990         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
80991         destination buffer.
80992         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
80994 2011-12-23  Marek Polacek  <polacek@redhat.com>
80996         * elf/dl-addr.c (determine_info): Add inline keyword.
80997         * elf/tst-auditmod4b.c (check_avx): Likewise.
80998         * elf/tst-auditmod6b.c (check_avx): Likewise.
80999         * elf/tst-auditmod6c.c (check_avx): Likewise.
81000         * elf/tst-auditmod7b.c (check_avx): Likewise.
81002 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81004         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81005         !__SSE_MATH__.
81007 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81009         [BZ #13540]
81010         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81011         processing for last bytes.
81013 2011-08-06  Bruno Haible  <bruno@clisp.org>
81015         [BZ #13061]
81016         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81017         U+0385, not to U+1FEE.
81019         [BZ #13062]
81020         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81021         entry for U+00A5 U+0301.
81023 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81025         [BZ #13166]
81026         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81027         buffer for the output is too small.
81029         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81030         optimization.
81032         [BZ #13185]
81033         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81034         SSE flags if possible.
81036 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81038         [BZ #13540]
81039         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81040         processing for last bytes.
81042 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81044         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81045         (syscall-list-default-options, syscall-list-default-condition)
81046         (syscall-list-includes): Define.
81047         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81048         list of ABIs and options and #if conditions for each ABI.  Do not
81049         handle common syscalls between ABIs specially.
81050         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81051         Remove.
81052         (syscall-list-variants, syscall-list-32bit-options)
81053         (syscall-list-32bit-condition, syscall-list-64bit-options)
81054         (syscall-list-64bit-condition): Define.
81055         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81056         (syscall-list-variants, syscall-list-32bit-options)
81057         (syscall-list-32bit-condition, syscall-list-64bit-options)
81058         (syscall-list-64bit-condition): Define.
81059         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81060         Remove.
81061         (syscall-list-variants, syscall-list-32bit-options)
81062         (syscall-list-32bit-condition, syscall-list-64bit-options)
81063         (syscall-list-64bit-condition): Define.
81064         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81065         Remove.
81066         (syscall-list-variants, syscall-list-32bit-options)
81067         (syscall-list-32bit-condition, syscall-list-64bit-options)
81068         (syscall-list-64bit-condition): Define.
81070 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81072         * locale/iso-639.def: Add brx entry.
81074         [BZ #13328]
81075         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81076         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81078         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81079         __feraiseexcept_renamed.
81081 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81083         [BZ #13538]
81084         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81085         EPOLLET with unsigned values.
81086         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81087         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81089         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81090         to large cancellation.
81091         * math/s_cacoshf.c: Likewise.
81092         * math/s_cacoshl.c: Likewise.
81094 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81096         [BZ #13305]
81097         [BZ #12786]
81098         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81099         * math/s_cacoshf.c: Likewise.
81100         * math/s_cacoshl.c: Likewise.
81102 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81104         [BZ #13439]
81105         * iconv/gconv.h: Define __GCONV_SWAP.
81106         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81107         * iconvdata/utf-16.c: Likewise.
81108         * iconvdata/utf-32.c: Likewise.
81110 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81112         [BZ #13524]
81113         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81114         numerator after shifting it by one limb.
81116 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81118         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81119         under [__USE_EXTERN_INLINES].
81121 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81123         [BZ #13446]
81124         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81126 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81128         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81129         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81130         optimized code.
81131         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81132         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81133         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81134         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81135         for strncasecmp/strncasecmp_l compilation.
81136         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81137         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81139 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81141         [BZ #13484]
81142         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81143         of __asm__.
81145 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81147         [BZ #13506]
81148         * time/tzfile.c (__tzfile_read): Check values from file header.
81150 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81152         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81153         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81154         * powerpc/powerpc32/dl-start.S: Likewise.
81155         * powerpc/powerpc32/elf/start.S: Likewise.
81156         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81157         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81158         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81159         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81160         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81161         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81162         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81163         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81164         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81165         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81166         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81167         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81168         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81169         * powerpc/powerpc32/memset.S: Likewise.
81170         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81171         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81172         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81173         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81174         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81175         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81176         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81177         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81178         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81179         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81180         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81181         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81182         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81184 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81186         * math/libm-test.inc: Added more nearbyint tests.
81187         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
81188         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
81189         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81190         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
81192 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
81194         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
81195         FD_CLOEXEC.
81197 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81199         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
81200         Add wcscpy-ssse3 wcscpy-c.
81201         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
81202         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
81203         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
81204         * sysdeps/x86_64/wcschr.S: New file.
81205         * sysdeps/x86_64/wcsrchr.S: New file.
81206         * string/test-strcmp.c: Remove checking of wcscmp function for
81207         wrong alignments.
81208         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
81209         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
81210         wcsrchr-sse2 wcsrchr-c.
81211         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
81212         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
81213         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
81214         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
81215         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
81216         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
81217         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
81218         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
81219         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
81220         * wcsmbc/wcschr.c (WCSCHR): New macro.
81222 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81224         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
81225         * wcsmbs/test-wcsrchr.c: New file.
81226         * string/test-strrchr.c: Add wcsrchr support.
81227         (WIDE): New macro.
81228         * wcsmbs/test-wcscpy.c: New file.
81229         * string/test-strcpy.c: Add wcscpy support.
81230         (WIDE): New macro.
81232 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
81234         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
81235         the inner loop.
81237 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
81239         [BZ #13472]
81240         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
81242 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
81244         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
81245         Minor optimizations.
81247         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
81248         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
81249         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
81251 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
81253         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
81254         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
81255         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
81256         for gcc to avoid warnings.
81257         * inet/Makefile (tests): Add tst-checks.
81258         * inet/tst-checks.c: New file.
81260         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81261         warning.
81263         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81264         __wmemcmp_sse2.
81266         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81267         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81269         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81271 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81273         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81274         problem.
81276         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81278 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81280         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81281         conditional on GCC version.
81282         (__arch_compare_and_exchange_val_8_acq)
81283         (__arch_compare_and_exchange_val_16_acq)
81284         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81285         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81286         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81288 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81290         * sysdeps/sh/backtrace.c: New file.
81292 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81294         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81295         parenthesis.
81297 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81299         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81300         falling back to utime.
81302 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81304         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81305         expectations for float.
81307 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81309         * locale/weight.h (findidx): Add parameter len.
81310         * locale/weightwc.h (findidx): Likewise.
81311         * posix/fnmatch_loop.c (FCT): Adjust caller.
81312         * posix/regcomp.c (build_equiv_class): Likewise.
81313         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81314         * posix/regexec.c (check_node_accept_bytes): Likewise.
81315         * string/strcoll_l.c (STRCOLL): Likewise.
81316         * string/strxfrm_l.c (STRXFRM): Likewise.
81318 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81320         * Makefile.in: Remove CVSOPT handling.
81321         * configure.in: Remove use of AC_REVISION.
81322         * iconvdata/Makefile (distribute): No need to filter out CVS.
81323         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81324         handling.
81326 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81328         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81329         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81330         [USE_AS_STRNCASECMP_L]: Likewise.
81331         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81332         NO_TLS_DIRECT_SEG_REFS.
81333         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81334         Fix argument offsets for non-PIC.
81335         [USE_AS_STRNCASECMP_L]: Likewise.
81336         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81337         NO_TLS_DIRECT_SEG_REFS.
81339 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81341         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81342         O_CLOEXEC.
81343         * locale/loadlocale.c (_nl_load_locale): Likewise.
81345 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81347         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81348         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81349         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81350         (SYSCALL_GETTIME): Set errno on error.
81352         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81353         count references to noai6ai_cached.
81355 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81357         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81359         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81360         FD_CLOEXEC for /proc/self/maps.
81362         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81363         FD_CLOEXEC for /proc/meminfo.
81365         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81366         gai.conf.
81368         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81369         FD_CLOEXEC for given file.
81371         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81373         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81374         FD_CLOEXEC for /etc/hosts.
81375         (_gethtent): Likewise.
81377         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81379         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81380         cancellation and set FD_CLOEXEC for /etc/netgroup.
81382         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81383         reading /etc/publickey.
81385         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81386         allow cancellation when reading /etc/group.
81388         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81389         cancellation.
81390         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81392         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81393         when using data file.
81395         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81397         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81398         (write_nis_obj): Use "c" and "e" in fopen.
81400         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81402         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81404         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81406         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81408         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81409         locale.alias.
81411         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81413         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81415         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81417         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81418         file parsing and set FD_CLOEXEC.
81420 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81422         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81424 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81426         * malloc/arena.c (arena_get2): Don't call reused_arena when
81427         _int_new_arena failed.
81429 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81431         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81432         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81433         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81434         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81435         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81436         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81437         to compile strcasecmp and strncasecmp.
81438         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81439         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81443 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81445         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81446         locale-defines.sym to gen-as-const-headers.
81447         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81448         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81450         to compile strcasecmp and strncasecmp.
81451         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81452         strcasecmp_l and strncasecmp_l.
81453         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81454         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81455         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81456         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81457         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81458         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81459         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81460         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81461         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81462         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81463         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81465 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81467         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81468         result of SYSDEP_GETTIME_CPU to retval.
81469         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81470         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81472         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81473         variable.
81475         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81476         mantissa words.
81477         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81479         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81480         from unused variable.
81482         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81483         DWARF definitions.
81484         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81485         for assembling.
81487         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81488         over namespaces.
81490         * sunrpc/rpc_prot.c (rejected): Fix case value.
81492         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81493         unsigned long long int to avoid warnings in shift.
81495         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81496         of use of trans.
81497         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81498         variable tmp.
81500         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81501         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81502         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81504         * nis/nis_table.c (nis_list): Use variable of correct type for
81505         result of __follow_path call.
81507 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81509         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81510         of math functions ceil, trunc, floor, round, and sqrt, when
81511         avaliable on the platform.
81512         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81513         name clash.
81514         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81515         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81516         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81518 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81520         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81521         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81523 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81525         * include/unistd.h: Fix __readlink return type.
81526         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81528 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81530         * stdlib/ucontext.h: Undo last change for makecontext.
81532 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81534         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81536         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81537         * setjmp/setjmp.h: Mark functions as non-leaf.
81538         * setjmp/bits/setjmp2.h: Likewise.
81539         * stdlib/ucontext.h: Likewise.
81541 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81543         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81544         (reused_arena): Don't check arena limit.
81545         (arena_get2): Atomically check arena limit.
81547 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81549         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81550         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81552         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81553         instructions.
81555 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81557         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81558         handler when locking.
81560         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81561         Fix size of allocated buffer.
81563 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81565         [BZ #10103]
81566         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81567         declarations for long double functions.
81568         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81570         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81572 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81574         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81575         installed.
81577         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81578         is disabled.
81580 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81582         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81584 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81586         * include/alloca.h (stackinfo_alloca_round): Define.
81587         (extend_alloca): Use it.
81588         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81589         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81590         here.
81592         * scripts/check-local-headers.sh: Ignore libaudit.h.
81594         * nscd/Makefile (extra-objs): Make recursively expanded.
81596 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81598         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81599         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81601         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81602         * posix/tst-rfc3484-2.c: Likewise.
81603         * posix/tst-rfc3484-3.c: Likewise.
81605         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81606         process_vm_writev.
81607         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81608         process_vm_writev.
81609         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81610         process_vm_writev from libc using GLIBC_2.15 version.
81612         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81614 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81616         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81617         stack usage.
81619 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81621         [BZ #13367]
81622         * nss/getent.c (initgroups_keys): Show error message in case no group
81623         names are given.
81625         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81626         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81627         __bump_nl_timestamp.
81628         * nscd/connections (nscd_init): When host database is served open
81629         netlink socket and request notification about configuration changes.
81630         (main_loop_poll): Track netlink file descriptor and bump timestamp
81631         in case data becomes available.
81632         (main_loop_epoll): Likewise.
81633         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81634         (database_pers_head): Add extra_data fileds.
81635         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81636         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81637         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81638         Adjust caller.
81639         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81640         in6ai data, call __free_in6ai.
81641         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81642         Add -DHAVE_NETLINK.
81643         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81644         interface information.  Reuse previous data if netlink timestamp
81645         is not changed.
81646         (__bump_nl_timestamp): New function.
81647         (__free_in6ai): New function.
81649 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81651         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81652         close_not_cancel_no_status here.
81653         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81655 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81657         [BZ #13276]
81658         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81659         return value.
81661         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81662         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81663         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81665 2011-07-03  Andreas Jaeger  <aj@suse.de>
81667         [BZ #10709]
81668         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81669         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81670         * math/libm-test.inc (sin_test): Add test case.
81672 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81674         [BZ #13337]
81675         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81676         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81678         * elf/chroot_canon.c (chroot_canon): Cleanups.
81680         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81682         [BZ #13335]
81683         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81684         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81686         * string/test-strchr.c: Make usable for strchrnul testing.
81687         * string/test-strchrnul.c: New file.
81688         * string/Makefile (strop-tests): Add strchrnul.
81690         * po/it.po: Update from translation team.
81691         * po/es.po: Likewise.
81693 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81695         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81696         the three constants needed as parameters.  Drop the others.
81697         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81698         __m128i_strloadu_tolower.
81699         Create and initialize variable zero and use it in all the places
81700         where _mm_setzero_si128 was used.
81702         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81703         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81704         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81705         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81706         anymore.
81707         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81708         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81709         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81710         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81711         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81712         __mpranred, __mptan.
81713         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81714         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81715         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81716         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81717         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81718         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81719         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81720         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81721         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81723 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81725         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81726         redefine if SHARED.
81727         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81730         wide char related routines to wcsmbs subdir.
81732 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81734         [BZ #13344]
81735         * misc/sys/cdefs.h (__THROWNL): Define.
81736         * posix/unistd.h: Use __THREADNL instead of __THREAD
81737         for memory synchronization functions.
81739 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81741         [BZ #13349]
81742         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81743         doesn't exist.
81744         * manual/stdio.texi (Obstack Streams): Node removed.
81746 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81748         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81749         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81750         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81752         * math/math_private.h (math_force_eval): Allow non-addressable
81753         arguments.
81754         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81756 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81758         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81759         file is not needed.
81761         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81762         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81763         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81764         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81765         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81766         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81767         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81768         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81769         Add AVX variants.
81770         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81771         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81772         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81773         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81774         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81775         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81776         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81777         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81778         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81779         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81780         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81781         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81782         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81783         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81784         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81785         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81786         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81787         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81788         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81790         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81791         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81793         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81794         place.  Use VEX encoding when compiling for AVX.
81796 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81798         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81799         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81801         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81803 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81805         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81806         useless if() expression.
81807         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81808         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81809         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81810         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81811         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81812         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81813         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81814         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81815         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81816         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81817         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81818         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81819         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81820         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81821         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81822         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81823         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81824         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81825         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81827         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81829 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81831         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81832         condition.
81833         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81835 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81837         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81838         .text section.  Avoid duplicate constants.
81839         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81840         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81841         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81842         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81843         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81845         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81846         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81847         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81848         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81849         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81850         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81851         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81852         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81853         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81854         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81855         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81856         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81857         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81858         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81859         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81860         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81861         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81862         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81863         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81864         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81865         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81866         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81867         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81868         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81869         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81870         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81871         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81872         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
81873         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
81874         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
81875         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
81876         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
81877         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
81878         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
81879         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
81880         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
81881         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
81882         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
81883         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
81885 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
81887         * sysdeps/x86_64/dla.h: Move to ...
81888         * sysdeps/x86_64/fpu/dla.h: ...here.
81889         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
81890         situations.  Use __builtin_fma only for gcc 4.6 and up.
81892         * config.make.in: Add have-mfma4 entry.
81893         * configure.in: Substitute libc_cv_cc_fma4.
81894         * math/Makefile (dbl-only-routines): Add sincostab.
81895         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
81896         Use __sincostab not sincos.
81897         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
81898         name is a macro.
81899         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
81903         using __copysign.
81904         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
81905         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
81906         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
81907         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
81908         and __inv.
81909         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
81910         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
81911         __copysign.
81912         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
81913         define aliases when function name is a macro.
81914         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
81915         sysdeps/ieee754/dbl-64/sincos.tbl.
81916         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
81917         fma4-enabled routines.
81918         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
81919         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
81920         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
81921         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
81922         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
81923         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
81924         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
81925         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
81926         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
81927         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
81928         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
81929         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
81930         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
81931         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
81932         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
81933         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
81934         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
81935         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
81936         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
81937         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
81938         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
81939         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
81940         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
81941         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
81942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
81943         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
81944         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
81945         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
81946         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
81947         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
81949         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
81950         rename.
81951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81952         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81954         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81955         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81956         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81957         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81958         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81960 2011-10-24  Andreas Schwab  <schwab@redhat.com>
81962         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
81964 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81966         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
81968         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
81969         prediction.
81970         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
81972         * string/strnlen.c: Don't define STRNLEN, reverse logic.
81973         Remove unused variable magic_bits.
81974         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
81976         * string/strnlen.c: Define and use STRNLEN macro.
81977         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
81978         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
81979         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
81980         * wcsmbs/wcslen.c: Define and use WCSLEN.
81981         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
81982         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
81983         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
81984         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
81985         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
81986         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
81987         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81989 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81992         strnlen-sse2-no-bsf.
81993         Rename strlen-no-bsf to strlen-sse2-no-bsf.
81994         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
81995         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
81996         Add strnlen support.
81997         (USE_AS_STRNLEN): New macro.
81998         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
81999         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82000         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82001         * sysdeps/x86_64/wcslen.S: New file.
82003 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82005         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82006         XMM-moves are used for copying on small sizes.
82008 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82010         * wcsmbs/Makefile (strop-tests): Add wcschr.
82011         * wcsmbs/test-wcschr.c: New file.
82012         * string/test-strchr.c: Update.
82013         Add wcschr support.
82014         (WIDE): New macro.
82016 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82018         * wcsmbs/Makefile (strop-tests): Add wcslen.
82019         * wcsmbs/test-wcslen.c: New file.
82020         * string/test-strlen.c: Update.
82021         Add wcslen support.
82022         (WIDE): New macro.
82024 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82026         * po/it.po: Update from translation team.
82028 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82030         * sysdeps/x86_64/wcscmp.S: Update.
82031         Fix wrong comparison semantics.
82032         wcscmp shall use signed comparison not unsigned.
82033         Don't use substraction to avoid overflow bug.
82034         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82035         * wcsmbc/wcscmp.c: Likewise.
82036         * string/test-strcmp.c: Likewise.
82037         Add new tests to check cases with negative values.
82039 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82041         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82042         * sysdeps/x86_64/dla.h: ...here.  New file.
82043         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82048         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82049         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82050         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82051         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82053 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82056         __ynl_finite aliases.
82058 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82062         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82063         define DLA_FMA.
82064         [DLA_FMA] (EMULV): Use DLA_FMA.
82065         [DLA_FMA] (MUL12): Use EMULV.
82066         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82067         that are not needed.
82068         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82069         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82070         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82073         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82074         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82076 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82078         * math/s_nan.c: Undef __nan.
82079         * math/s_nanf.c: Undef __nanf.
82080         * math/s_nanl.c: Undef __nanl.
82081         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82082         "math_private.h".
82084 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82086         * math/s_catan.c: Add branch predictions.
82087         * math/s_catanf.c: Likewise.
82088         * math/s_catanh.c: Likewise.
82089         * math/s_catanhf.c: Likewise.
82090         * math/s_catanhl.c: Likewise.
82091         * math/s_catanl.c: Likewise.
82092         * math/s_cexp.c: Likewise.
82093         * math/s_cexpf.c: Likewise.
82094         * math/s_cexpl.c: Likewise.
82095         * math/s_clog.c: Likewise.
82096         * math/s_clog10.c: Likewise.
82097         * math/s_clog10f.c: Likewise.
82098         * math/s_clog10l.c: Likewise.
82099         * math/s_clogf.c: Likewise.
82100         * math/s_clogl.c: Likewise.
82101         * math/s_csqrt.c: Likewise.
82102         * math/s_csqrtf.c: Likewise.
82103         * math/s_csqrtl.c: Likewise.
82104         * math/s_ctanf.c: Likewise.
82105         * math/s_ctanh.c: Likewise.
82106         * math/s_ctanhf.c: Likewise.
82107         * math/s_ctanhl.c: Likewise.
82108         * math/s_ctanl.c: Likewise.
82110         * math/math_private.h: Define __nan, __nanf, __nanl.
82111         * math/s_cacosh.c: Include <math_private.h>.
82112         * math/s_cacoshl.c: Likewise.
82113         * math/s_casinh.c: Likewise.
82114         * math/s_casinhf.c: Likewise.
82115         * math/s_casinhl.c: Likewise.
82116         * math/s_ccos.c: Rely entire on ccosh.
82117         * math/s_ccosf.c: Rely entire on ccoshf.
82118         * math/s_ccosl.c: Rely entirely on ccoshl.
82119         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82120         Remove tests for FE_INVALID.
82121         * math/s_ccoshf.c: Likewise.
82122         * math/s_ccoshl.c: Likewise.
82123         * math/s_csin.c: Likewise.
82124         * math/s_csinf.c: Likewise.
82125         * math/s_csinh.c Likewise.
82126         * math/s_csinhf.c: Likewise.
82127         * math/s_csinhl.c: Likewise.
82128         * math/s_csinl.c: Likewise.
82129         * math/s_ctan.c: Likewise.
82130         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82131         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82132         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82134 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82137         compilation problems.
82139         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82140         __builtin_expect.
82142 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82144         * sysdeps/i386/configure.in: Test for -mfma4 option.
82145         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82146         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82147         COMMON_CPUID_INDEX_80000001.
82148         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82149         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82150         use it if FMA3 is not supported.
82151         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82153         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82154         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82156 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82158         [BZ #12892]
82159         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82160         it would create a cycle with a link time dependency.
82162 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82164         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82165         instruction.
82166         * string/Makefile (strop-tests): Add rawmemchr.
82167         * string/test-rawmemchr.c: New file.
82169         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82170         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82171         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82172         when compiling str{,n}casecmp and when AVX is available.  Hook up
82173         new optimized code in initializers.
82175 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82177         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82178         __feraiseexcept instead of feraiseexcept.
82180 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82182         * math/math_private.h: Define defaults for libc_fetestexcept and
82183         libc_feupdateenv.
82184         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
82185         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
82186         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82187         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82188         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82189         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82190         libc_fetestexcept and libc_feupdateenv.
82192         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
82193         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
82194         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
82195         * sysdeps/x86_64/fpu/math_private.h: Define special version of
82196         libc_feholdexcept_setround.
82198         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
82199         Add s_nearbyint-c and s_nearbyintf-c.
82200         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
82201         nearbyintf inlines.
82202         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
82203         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
82204         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
82205         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
82207         * math/math_private.h: Define defaults for libc_fegetround,
82208         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
82209         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
82210         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
82211         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
82212         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
82213         standard functions.
82214         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82215         Remove comments and hacks for old compiler versions.
82216         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82217         libc_fegetround, libc_fesetround, libc_feholdexcept, and
82218         libc_feholdexceptl.
82220 2011-10-18  Andreas Schwab  <schwab@redhat.com>
82222         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
82223         (__feraiseexcept_renamed): Add __NTH.
82224         (feraiseexcept): Add __NTH.  Rename local variables to fix
82225         namespace violations.
82227 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
82229         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
82231         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
82233         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
82234         recently added interfaces.
82235         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
82237         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
82238         about macro parameter expansion.
82240         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
82241         __NO_MATH_INLINES is defined.  Cleanups.
82243         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
82244         and __floorf is target has SSE4.1.
82245         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
82246         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
82247         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
82248         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
82250         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
82251         name.
82252         (floorf): Likewise.
82254         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
82256 2011-10-17  Andreas Schwab  <schwab@redhat.com>
82258         * misc/sys/cdefs.h: Fix last change.
82260         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82261         database lookup.
82263 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82265         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82267         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82268         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82269         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82270         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82271         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82272         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82273         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82274         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82275         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82276         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82277         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82278         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82279         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82280         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82281         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82282         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82283         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82284         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82285         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82286         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82287         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82288         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82290         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82291         ceil, ceilf, floor, floorf.
82293         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82294         Perform IRELATIVE relocations last.
82296         * elf/do-rel.h: Add another parameter nrelative, replacing the
82297         local variable with the same name.  Change name of the function
82298         to end in Rel or Rela (uppercase).
82299         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82300         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82301         elf_dynamic_do_##reloc function.
82303 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82305         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82306         is sufficient, at least on modern CPUs.
82308         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82310         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82311         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82313         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82314         __expl_finite.
82315         * math/bits/math-finite.h: Add entries for exp.
82316         * math/e_expl.c: Add __*_finite alias.
82317         * sysdeps/i386/fpu/e_exp.S: Likewise.
82318         * sysdeps/i386/fpu/e_expf.S: Likewise.
82319         * sysdeps/i386/fpu/e_expl.c: Likewise.
82320         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82321         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82322         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82324         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82325         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82326         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82328         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82329         is sufficient, at least on modern CPUs.
82331         * ctype/ctype-info.c (__ctype_init): Define.
82332         * include/ctype.h (__ctype_init): Declare.
82333         (__ctype_b_loc): The variable is always initialized.
82334         (__ctype_toupper_loc): Likewise.
82335         (__ctype_tolower_loc): Likewise.
82336         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82337         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82339 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82341         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82343         * configure.in: Also look in $cxxmachine/include for C++ system
82344         headers.
82346 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82348         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82349         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82350         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82351         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82352         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82353         (USE_AS_WMEMCMP): New macro.
82354         Fixing indents.
82355         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82356         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82357         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82358         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82360         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82361         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82362         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82363         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82364         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82365         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82366         (USE_AS_WMEMCMP): New macro.
82367         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82368         * sysdeps/string/test-memcmp.c: Update.
82369         Fix simple_wmemcmp.
82370         Add new tests.
82371         * wcsmbs/wmemcmp.c: Update.
82372         (WMEMCMP): New macro.
82373         Fix overflow bug.
82375 2011-10-12  Andreas Jaeger  <aj@suse.de>
82377         [BZ #13268]
82378         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82380 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82382         * libio/iofwide.c (do_length): Avoid warning.
82384         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82386 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82388         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82390         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82391         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82392         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82393         * sysdeps/i386/i686/fpu/e_log.S: New file.
82394         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82395         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82397         * ctype/ctype.h: Add support for inlined isXXX functions when
82398         compiling C++ code.
82400 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82402         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82404         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82406 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82408         [BZ #13291]
82409         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82411 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82413         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82414         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82415         feraiseexcept.
82417         * sysdeps/x86_64/memrchr.S: Check for zero size.
82419         * string/stratcliff.c: Add memrchr tests.
82421 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82423         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82424         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82425         rawmemchr-sse2 rawmemchr-sse2-bsf.
82426         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82427         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82428         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82429         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82430         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82431         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82432         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82433         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82434         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82435         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82436         * string/memrchr.c (MEMRCHR): New macro.
82438 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82440         Add integration with gcc's -ffinite-math-only and optimize wrapper
82441         functions in libm.
82442         * Versions.def: Define GLIBC_2.15 version for libm.
82443         * math/Makefile (headers): Add bits/math-finite.h.
82444         * math/bits/math-finite.h: New file.
82445         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82446         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82447         * math/e_acoshl.c: Add __*_finite alias.
82448         * math/e_acosl.c: Likewise.
82449         * math/e_asinl.c: Likewise.
82450         * math/e_atan2l.c: Likewise.
82451         * math/e_atanhl.c: Likewise.
82452         * math/e_coshl.c: Likewise.
82453         * math/e_exp10.c: Likewise.
82454         * math/e_exp10f.c: Likewise.
82455         * math/e_exp10l.c: Likewise.
82456         * math/e_exp2l.c: Likewise.
82457         * math/e_fmodl.c: Likewise.
82458         * math/e_gammal_r.c: Likewise.
82459         * math/e_hypotl.c: Likewise.
82460         * math/e_j0l.c: Likewise.
82461         * math/e_j1l.c: Likewise.
82462         * math/e_jnl.c: Likewise.
82463         * math/e_lgammal_r.c: Likewise.
82464         * math/e_log10l.c: Likewise.
82465         * math/e_log2l.c: Likewise.
82466         * math/e_logl.c: Likewise.
82467         * math/e_powl.c: Likewise.
82468         * math/e_sinhl.c: Likewise.
82469         * math/e_sqrtl.c: Likewise.
82470         * math/e_scalb.c: Completely rewritten and optimized.
82471         * math/e_scalbf.c: Likewise.
82472         * math/e_scalbl.c: Likewise.
82473         * math/w_acos.c: Likewise.
82474         * math/w_acosf.c: Likewise.
82475         * math/w_acosl.c: Likewise.
82476         * math/w_acosh.c: Likewise.
82477         * math/w_acoshf.c: Likewise.
82478         * math/w_acoshl.c: Likewise.
82479         * math/w_asin.c: Likewise.
82480         * math/w_asinf.c: Likewise.
82481         * math/w_asinl.c: Likewise.
82482         * math/w_atan2.c: Likewise.
82483         * math/w_atan2f.c: Likewise.
82484         * math/w_atan2l.c: Likewise.
82485         * math/w_atanh.c: Likewise.
82486         * math/w_atanhf.c: Likewise.
82487         * math/w_atanhl.c: Likewise.
82488         * math/w_exp10.c: Likewise.
82489         * math/w_exp10f.c: Likewise.
82490         * math/w_exp10l.c: Likewise.
82491         * math/w_fmod.c: Likewise.
82492         * math/w_fmodf.c: Likewise.
82493         * math/w_fmodl.c: Likewise.
82494         * math/w_j0.c: Likewise.
82495         * math/w_j0f.c: Likewise.
82496         * math/w_j0l.c: Likewise.
82497         * math/w_j1.c: Likewise.
82498         * math/w_j1f.c: Likewise.
82499         * math/w_j1l.c: Likewise.
82500         * math/w_jn.c: Likewise.
82501         * math/w_jnf.c: Likewise.
82502         * math/w_log.c: Likewise.
82503         * math/w_logf.c: Likewise.
82504         * math/w_logl.c: Likewise.
82505         * math/w_log10.c: Likewise.
82506         * math/w_log10f.c: Likewise.
82507         * math/w_log10l.c: Likewise.
82508         * math/w_log2.c: Likewise.
82509         * math/w_log2f.c: Likewise.
82510         * math/w_log2l.c: Likewise.
82511         * math/w_pow.c: Likewise.
82512         * math/w_powf.c: Likewise.
82513         * math/w_powl.c: Likewise.
82514         * math/w_remainder.c: Likewise.
82515         * math/w_remainderf.c: Likewise.
82516         * math/w_remainderl.c: Likewise.
82517         * math/w_scalb.c: Likewise.
82518         * math/w_scalbf.c: Likewise.
82519         * math/w_scalbl.c: Likewise.
82520         * math/w_sqrt.c: Likewise.
82521         * math/w_sqrtf.c: Likewise.
82522         * math/w_sqrtl.c: Likewise.
82523         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82524         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82525         used.
82526         * math/math_private.h: Declare __kernel_standard_f.
82527         * math/w_cosh.c: Remove cruft and optimize a bit.
82528         * math/w_coshf.c: Likewise.
82529         * math/w_coshl.c: Likewise.
82530         * math/w_exp2.c: Likewise.
82531         * math/w_exp2f.c: Likewise.
82532         * math/w_exp2l.c: Likewise.
82533         * math/w_hypot.c: Likewise.
82534         * math/w_hypotf.c: Likewise.
82535         * math/w_hypotl.c: Likewise.
82536         * math/w_lgamma.c: Likewise.
82537         * math/w_lgamma_r.c: Likewise.
82538         * math/w_lgammaf.c: Likewise.
82539         * math/w_lgammaf_r.c: Likewise.
82540         * math/w_lgammal.c: Likewise.
82541         * math/w_lgammal_r.c: Likewise.
82542         * math/w_sinh.c: Likewise.
82543         * math/w_sinhf.c: Likewise.
82544         * math/w_sinhl.c: Likewise.
82545         * math/w_tgamma.c: Likewise.
82546         * math/w_tgammaf.c: Likewise.
82547         * math/w_tgammal.c: Likewise.
82548         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82549         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82550         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82551         Minor optimizations.  Pretty printing.  Remove cruft.
82552         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82553         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82554         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82555         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82556         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82557         * sysdeps/i386/fpu/e_asin.S: Likewise.
82558         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82559         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82560         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82561         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82562         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82563         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82564         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82565         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82566         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82567         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82568         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82569         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82570         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82571         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82572         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82573         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82574         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82575         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82576         * sysdeps/i386/fpu/e_log.S: Likewise.
82577         * sysdeps/i386/fpu/e_log10.S: Likewise.
82578         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82579         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82580         * sysdeps/i386/fpu/e_log2.S: Likewise.
82581         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82582         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82583         * sysdeps/i386/fpu/e_logf.S: Likewise.
82584         * sysdeps/i386/fpu/e_logl.S: Likewise.
82585         * sysdeps/i386/fpu/e_pow.S: Likewise.
82586         * sysdeps/i386/fpu/e_powf.S: Likewise.
82587         * sysdeps/i386/fpu/e_powl.S: Likewise.
82588         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82589         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82590         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82591         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82592         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82593         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82594         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82595         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82596         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82597         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82598         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82600         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82601         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82602         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82603         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82604         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82605         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82606         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82607         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82608         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82610         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82611         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82613         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82614         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82615         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82616         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82617         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82618         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82619         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82620         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82621         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82622         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82623         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82624         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82625         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82626         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82627         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82628         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82629         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82630         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82631         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82632         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82633         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82634         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82635         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82636         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82637         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82638         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82639         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82640         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82641         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82642         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82643         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82644         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82645         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82646         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82647         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82648         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82649         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82650         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82651         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82652         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82653         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82654         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82655         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82656         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82657         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82659         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82660         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82661         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82662         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82663         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82664         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82665         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82666         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82667         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82668         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82669         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82671         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82673         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82674         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82675         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82676         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82677         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82678         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82679         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82680         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82681         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82682         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82683         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82684         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82685         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82686         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82687         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82688         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82689         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82690         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82691         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82692         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82693         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82694         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82695         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82696         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82697         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82698         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82699         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82700         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82701         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82702         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82703         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82704         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82705         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82706         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82707         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82708         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82709         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82710         (__isnanf): Likewise.
82711         (__isinf_ns): Likewise.
82712         (__isinf_nsf): Likewise.
82713         (__finite): Likewise.
82714         (__finitef): Likewise.
82715         (__ieee754_sqrt): Define as macro.
82716         (__ieee754_sqrtf): Define as macro.
82717         (__ieee754_sqrtl): Define as macro.
82718         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82719         inlined copy.
82720         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82721         __FINITE_MATH_ONLY__ consistent.
82722         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82724 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82726         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82727         of rawmemchr.
82729         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82731 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82733         * po/ja.po: Update from translation team.
82735 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82737         * locale/programs/locarchive.c (prepare_address_space): New function.
82738         (create_archive, enlarge_archive, open_archive): Use it.
82740         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82741         inside [SHARED], where it is used.
82743         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82745         * nss/getent.c (netgroup_keys): Remove unused variable.
82746         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82748 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82750         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82751         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82752         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82753         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82754         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82755         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82756         * math/Makefile (libm-calls): Add s_isinf_ns.
82757         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82758         * math/multc3.c: Likewise.
82759         * math/s_casin.c: Likewise.
82760         * math/s_casinf.c: Likewise.
82761         * math/s_casinl.c: Likewise.
82762         * math/s_ccos.c: Likewise.
82763         * math/s_ccosf.c: Likewise.
82764         * math/s_ccosl.c: Likewise.
82765         * math/s_ctan.c: Likewise.
82766         * math/s_ctanf.c: Likewise.
82767         * math/s_ctanh.c: Likewise.
82768         * math/s_ctanhf.c: Likewise.
82769         * math/s_ctanhl.c: Likewise.
82770         * math/s_ctanl.c: Likewise.
82771         * math/w_fmod.c: Likewise.
82772         * math/w_fmodf.c: Likewise.
82773         * math/w_fmodl.c: Likewise.
82774         * math/w_remainder.c: Likewise.
82775         * math/w_remainderf.c: Likewise.
82776         * math/w_remainderl.c: Likewise.
82777         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82778         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82779         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82781         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82782         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82783         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82784         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82786         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82787         of the number.
82788         * stdio-common/printf_fphex.c: Likewise.
82789         * stdio-common/printf_size.c: Likewise.
82791         * math/e_exp10.c: Include math_private.h using <...> not "...".
82792         * math/e_exp10f.c: Likewise.
82793         * math/e_exp10l.c: Likewise.
82794         * math/e_exp2l.c: Likewise.
82795         * math/e_j0l.c: Likewise.
82796         * math/e_j1l.c: Likewise.
82797         * math/e_jnl.c: Likewise.
82798         * math/e_lgammal_r.c: Likewise.
82799         * math/e_rem_pio2l.c: Likewise.
82800         * math/e_scalb.c: Likewise.
82801         * math/e_scalbf.c: Likewise.
82802         * math/e_scalbl.c: Likewise.
82803         * math/k_cosl.c: Likewise.
82804         * math/k_sinl.c: Likewise.
82805         * math/k_tanl.c: Likewise.
82806         * math/s_cacoshf.c: Likewise.
82807         * math/s_catan.c: Likewise.
82808         * math/s_catanf.c: Likewise.
82809         * math/s_catanh.c: Likewise.
82810         * math/s_catanhf.c: Likewise.
82811         * math/s_catanhl.c: Likewise.
82812         * math/s_catanl.c: Likewise.
82813         * math/s_ccosh.c: Likewise.
82814         * math/s_ccoshf.c: Likewise.
82815         * math/s_ccoshl.c: Likewise.
82816         * math/s_cexp.c: Likewise.
82817         * math/s_cexpf.c: Likewise.
82818         * math/s_cexpl.c: Likewise.
82819         * math/s_clog.c: Likewise.
82820         * math/s_clog10.c: Likewise.
82821         * math/s_clog10f.c: Likewise.
82822         * math/s_clog10l.c: Likewise.
82823         * math/s_clogf.c: Likewise.
82824         * math/s_clogl.c: Likewise.
82825         * math/s_csin.c: Likewise.
82826         * math/s_csinf.c: Likewise.
82827         * math/s_csinh.c: Likewise.
82828         * math/s_csinhf.c: Likewise.
82829         * math/s_csinhl.c: Likewise.
82830         * math/s_csinl.c: Likewise.
82831         * math/s_csqrt.c: Likewise.
82832         * math/s_csqrtf.c: Likewise.
82833         * math/s_csqrtl.c: Likewise.
82834         * math/s_ctan.c: Likewise.
82835         * math/s_ctanf.c: Likewise.
82836         * math/s_ctanh.c: Likewise.
82837         * math/s_ctanhf.c: Likewise.
82838         * math/s_ctanhl.c: Likewise.
82839         * math/s_ctanl.c: Likewise.
82840         * math/s_ldexp.c: Likewise.
82841         * math/s_ldexpf.c: Likewise.
82842         * math/s_ldexpl.c: Likewise.
82843         * math/s_significand.c: Likewise.
82844         * math/s_significandf.c: Likewise.
82845         * math/s_significandl.c: Likewise.
82846         * math/w_acos.c: Likewise.
82847         * math/w_acosf.c: Likewise.
82848         * math/w_acosh.c: Likewise.
82849         * math/w_acoshf.c: Likewise.
82850         * math/w_acoshl.c: Likewise.
82851         * math/w_acosl.c: Likewise.
82852         * math/w_asin.c: Likewise.
82853         * math/w_asinf.c: Likewise.
82854         * math/w_asinl.c: Likewise.
82855         * math/w_atan2.c: Likewise.
82856         * math/w_atan2f.c: Likewise.
82857         * math/w_atan2l.c: Likewise.
82858         * math/w_atanh.c: Likewise.
82859         * math/w_atanhf.c: Likewise.
82860         * math/w_atanhl.c: Likewise.
82861         * math/w_cosh.c: Likewise.
82862         * math/w_coshf.c: Likewise.
82863         * math/w_coshl.c: Likewise.
82864         * math/w_dremf.c: Likewise.
82865         * math/w_exp10.c: Likewise.
82866         * math/w_exp10f.c: Likewise.
82867         * math/w_exp10l.c: Likewise.
82868         * math/w_exp2.c: Likewise.
82869         * math/w_exp2f.c: Likewise.
82870         * math/w_fmod.c: Likewise.
82871         * math/w_fmodf.c: Likewise.
82872         * math/w_fmodl.c: Likewise.
82873         * math/w_hypot.c: Likewise.
82874         * math/w_hypotf.c: Likewise.
82875         * math/w_hypotl.c: Likewise.
82876         * math/w_j0.c: Likewise.
82877         * math/w_j0f.c: Likewise.
82878         * math/w_j0l.c: Likewise.
82879         * math/w_j1.c: Likewise.
82880         * math/w_j1f.c: Likewise.
82881         * math/w_j1l.c: Likewise.
82882         * math/w_jn.c: Likewise.
82883         * math/w_jnf.c: Likewise.
82884         * math/w_jnl.c: Likewise.
82885         * math/w_lgamma.c: Likewise.
82886         * math/w_lgamma_r.c: Likewise.
82887         * math/w_lgammaf.c: Likewise.
82888         * math/w_lgammaf_r.c: Likewise.
82889         * math/w_lgammal.c: Likewise.
82890         * math/w_lgammal_r.c: Likewise.
82891         * math/w_log.c: Likewise.
82892         * math/w_log10.c: Likewise.
82893         * math/w_log10f.c: Likewise.
82894         * math/w_log10l.c: Likewise.
82895         * math/w_log2.c: Likewise.
82896         * math/w_log2f.c: Likewise.
82897         * math/w_log2l.c: Likewise.
82898         * math/w_logf.c: Likewise.
82899         * math/w_logl.c: Likewise.
82900         * math/w_pow.c: Likewise.
82901         * math/w_powf.c: Likewise.
82902         * math/w_powl.c: Likewise.
82903         * math/w_remainder.c: Likewise.
82904         * math/w_remainderf.c: Likewise.
82905         * math/w_remainderl.c: Likewise.
82906         * math/w_scalb.c: Likewise.
82907         * math/w_scalbf.c: Likewise.
82908         * math/w_scalbl.c: Likewise.
82909         * math/w_sinh.c: Likewise.
82910         * math/w_sinhf.c: Likewise.
82911         * math/w_sinhl.c: Likewise.
82912         * math/w_sqrt.c: Likewise.
82913         * math/w_sqrtf.c: Likewise.
82914         * math/w_sqrtl.c: Likewise.
82915         * math/w_tgamma.c: Likewise.
82916         * math/w_tgammaf.c: Likewise.
82917         * math/w_tgammal.c: Likewise.
82919         * po/ja.po: Update from translation team.
82921 2011-09-29  Andreas Jaeger  <aj@suse.de>
82923         [BZ #13179]
82924         * sunrpc/netname.c (netname2host): Fix logic.
82926         [BZ #6779]
82927         [BZ #6783]
82928         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
82929         correctly.
82930         * math/w_remainder.c (__remainder): Likewise.
82931         * math/w_remainderf.c (__remainderf): Likewise.
82932         * math/libm-test.inc (remainder_test): Add test cases.
82934 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82936         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
82937         sdiv_qrnnd.
82939 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82941         * string/test-memcmp.c: Avoid unncessary #defines.
82942         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82944 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82946         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
82947         Use new sse2 version for core i3 - i7 as it's faster
82948         than sse42 version.
82949         (bit_Prefer_PMINUB_for_stringop): New.
82950         * sysdeps/x86_64/rawmemchr.S: Update.
82951         Replace with faster SSE2 version.
82952         * sysdeps/x86_64/memrchr.S: New file.
82953         * sysdeps/x86_64/memchr.S: Update.
82954         Replace with faster SSE2 version.
82956 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
82958         * elf/dl-load.c (lose): Add cast to avoid warning.
82960 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82962         * po/ca.po: Update from translation team.
82964         * inet/getnetgrent_r.c: Hook up nscd.
82965         * nscd/Makefile (routines): Add nscd_netgroup.
82966         (nscd-modules): Add netgroupcache.
82967         (CFLAGS-netgroupcache.c): Define.
82968         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
82969         (cache_search): Add const to second parameter.
82970         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
82971         INNETGR.
82972         (dbs): Add netgrdb entry.
82973         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
82974         (verify_persistent_db): Handle netgrdb.
82975         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
82976         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
82977         GETFDNETGR.
82978         (netgroup_response_header): Define.
82979         (innetgroup_response_header): Define.
82980         (datahead): Add netgroup_response_header and innetgroup_response_header
82981         elements.
82982         * nscd/nscd.conf: Add entries for netgroup cache.
82983         * nscd/nscd.h (dbtype): Add netgrdb.
82984         (_PATH_NSCD_NETGROUP_DB): Define.
82985         (netgroup_iov_disabled): Declare.
82986         (xmalloc, xcalloc, xrealloc): Move declarations here.
82987         (cache_search): Adjust prototype.
82988         Add netgroup-related prototypes.
82989         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
82990         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
82991         (__nscd_innetgr): Declare.
82992         * nscd/selinux.c (perms): Use access_vector_t as element type and
82993         add netgroup-related initializers.
82994         * nscd/netgroupcache.c: New file.
82995         * nscd/nscd_netgroup.c: New file.
82996         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
82997         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
82998         For four parameters use innetgr.
82999         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83000         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83001         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83002         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83004         * nscd/connections.c (register_traced_file): Don't register file
83005         for disabled databases.
83007 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83009         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83011         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83012         from tree and freeing node.
83014 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83016         * nss/nsswitch.c (__nss_database_lookup): Handle
83017         nss_parse_service_list out of memory case.
83019 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83021         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83022         out of memory case.
83024 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83026         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83027         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83028         pass it down.
83029         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83030         elf_machine_rela, elf_machine_lazy_rel.
83031         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83032         (ELF_DYNAMIC_DO_REL): Likewise.
83033         (ELF_DYNAMIC_DO_RELA): Likewise.
83034         (ELF_DYNAMIC_RELOCATE): Likewise.
83035         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83036         to ELF_DYNAMIC_DO_REL.
83037         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83038         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83039         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83040         elf_machine_rela.
83041         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83042         skip_ifunc, don't call ifunc function if non-zero.
83043         (elf_machine_rela): Likewise.
83044         (elf_machine_lazy_rel): Likewise.
83045         (elf_machine_lazy_rela): Likewise.
83046         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83047         (elf_machine_lazy_rel): Likewise.
83048         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83049         Likewise.
83050         (elf_machine_lazy_rel): Likewise.
83051         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83052         Likewise.
83053         (elf_machine_lazy_rel): Likewise.
83054         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83055         (elf_machine_lazy_rel): Likewise.
83056         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83057         (elf_machine_lazy_rel): Likewise.
83058         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83059         (elf_machine_lazy_rel): Likewise.
83060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83061         (elf_machine_lazy_rel): Likewise.
83062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83063         (elf_machine_lazy_rel): Likewise.
83064         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83065         (elf_machine_lazy_rel): Likewise.
83067 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83069         * nss/nss_files/files-init.c (_nss_files_init): Use static
83070         initialization for all the *_traced_file variables.
83072 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83074         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83076 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83078         [BZ #13226]
83079         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83081 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83084         Reread the line before reparsing it.
83086 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83088         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83090 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83091             Maxim Kuvyrkov  <maxim@codesourcery.com>
83092             Joseph Myers  <joseph@codesourcery.com>
83094         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83095         if needed for __stack_chk_guard.
83097 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83099         * sysdeps/posix/spawni.c (script_execute): Always define it.
83100         It will be optimized away if unused.
83101         (maybe_script_execute): New function.
83102         (__spawni): Call it.
83104         * Makerules: Don't include tls.make.
83105         (config-tls): Always set to thread.
83106         * tls.make.c: File removed.
83108 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83110         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83111         * config.make.in (CPPFLAGS-config): New substituted variable.
83113 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83115         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83117         [BZ #13192]
83118         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83119         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83121 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83123         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83124         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83125         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83126         (CALL_FAIL): Likewise.
83127         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83128         (CALL_FAIL): Macro removed.
83129         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83131 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83133         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83134         for __FINITE_MATH_ONLY__ == 1.
83136 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83138         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83139         __ieee754_sqrt instead of sqrt.
83140         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83141         __ieee754_sqrtf instead of sqrtf.
83142         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83143         __floorf instead of floorf.
83144         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83145         __floorf, __truncf instead of floorf, truncf.
83147 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83149         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83151         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83152         __extern_always_inline.
83153         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83154         32-bit.
83156 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83158         * elf/rtld.c (dl_main): Also relocate in dependency order when
83159         doing symbol dependency testing.
83161 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83163         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83164         Always define `refsym'.
83166 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83168         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83169         (__FD_ELT): Renamed from __FDELT.
83170         * misc/bits/select2.h (__FD_ELT): Likewise.
83171         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83172         __FD_MASK instead of __FDELT, __FDMASK.
83173         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83174         Likewise.
83175         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83176         Likewise.
83178         * elf/Makefile (gen-ldd): Fix pattern.
83180         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83181         (init_tls): Likewise.
83183 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
83185         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
83187 2011-09-12  Andreas Schwab  <schwab@redhat.com>
83189         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
83190         `struct cmsghdr *' instead of `void *'.
83191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
83192         Likewise.
83194 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
83196         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
83197         if non-absolute.
83198         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
83199         ldd_rewrite_script.
83201 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
83203         * configure.in: Remove --with-tls option.
83204         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
83205         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
83206         out in case it is missing.
83207         * sysdeps/ia64/elf/configure.in: Likewise.
83208         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
83209         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
83210         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
83211         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
83212         * sysdeps/sh/elf/configure.in: Likewise.
83213         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
83214         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83215         * sysdeps/x86_64/elf/configure.in: Likewise.
83216         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
83217         * sysdeps/mach/hurd/tls.h: Likewise.
83219         [BZ #13067]
83220         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
83222         [BZ #13090]
83223         * configure.in: Fix use of AC_INIT.
83225         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
83227 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
83229         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
83230         __set_errno.
83231         * malloc/hooks.c: Likewise.
83233         [BZ #11929]
83234         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
83235         variables statically.
83236         (narenas): Initialize.
83237         (list_lock): Initialize.
83238         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
83239         initializtion of main_arena and list_lock.  Small cleanups.
83240         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
83241         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
83242         Add initializers to main_arena and mp_.
83243         (malloc_state): Remove pagesize member.  Change all users to use
83244         GLRO(dl_pagesize).
83246         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
83247         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
83248         is always initialized.
83250         * malloc/malloc.c: Removed unused configurations and dead code.
83251         * malloc/arena.c: Likewise.
83252         * malloc/hooks.c: Likewise.
83253         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
83255         * include/tls.h: Removed.  USE___THREAD must always be defined.
83256         * bits/libc-tsd.h: Don't handle !USE___THREAD.
83257         * elf/dl-libc.c: Likewise.
83258         * elf/dl-tsd.c: Likewise.
83259         * include/errno.h: Likewise.
83260         * include/netdb.h: Likewise.
83261         * include/resolv.h: Likewise.
83262         * inet/herrno-loc.c: Likewise.
83263         * inet/herrno.c: Likewise.
83264         * malloc/arena.c: Likewise.
83265         * malloc/hooks.c: Likewise.
83266         * malloc/malloc.c: Likewise.
83267         * resolv/res-state.c: Likewise.
83268         * resolv/res_libc.c: Likewise.
83269         * sysdeps/i386/dl-machine.h: Likewise.
83270         * sysdeps/ia64/dl-machine.h: Likewise.
83271         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83272         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83273         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83274         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83275         * sysdeps/sh/dl-machine.h: Likewise.
83276         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83277         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83278         * sysdeps/unix/i386/sysdep.S: Likewise.
83279         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83280         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83285         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83286         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83288         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83289         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83290         * sysdeps/x86_64/dl-machine.h: Likewise.
83291         * tls.make.c: Likewise.
83293         * configure.in: Remove --with-__thread option.  Make tests for
83294         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83295         tls_model attribute fail if no support is available.  Remove
83296         USE_IN_LIBIO.
83297         * Makeconfig: Adjust for dropped configure option.  All features are
83298         now mandatory.
83299         * Makerules: Likewise.
83300         * Versions.def: Likewise.
83301         * argp/argp-fmtstream.c: Likewise.
83302         * argp/argp-fmtstream.h: Likewise.
83303         * argp/argp-help.c: Likewise.
83304         * assert/assert.c: Likewise.
83305         * config.h.in: Likewise.
83306         * config.make.in: Likewise.
83307         * configure: Likewise.
83308         * configure.in: Likewise.
83309         * csu/Versions: Likewise.
83310         * csu/init.c: Likewise.
83311         * elf/tst-audit2.c: Likewise.
83312         * elf/tst-tls10.c: Likewise.
83313         * elf/tst-tls10.h: Likewise.
83314         * elf/tst-tls11.c: Likewise.
83315         * elf/tst-tls12.c: Likewise.
83316         * elf/tst-tls14.c: Likewise.
83317         * elf/tst-tlsmod11.c: Likewise.
83318         * elf/tst-tlsmod12.c: Likewise.
83319         * elf/tst-tlsmod13.c: Likewise.
83320         * elf/tst-tlsmod13a.c: Likewise.
83321         * elf/tst-tlsmod14a.c: Likewise.
83322         * elf/tst-tlsmod15b.c: Likewise.
83323         * elf/tst-tlsmod16a.c: Likewise.
83324         * elf/tst-tlsmod16b.c: Likewise.
83325         * elf/tst-tlsmod7.c: Likewise.
83326         * elf/tst-tlsmod8.c: Likewise.
83327         * elf/tst-tlsmod9.c: Likewise.
83328         * gmon/gmon.c: Likewise.
83329         * grp/fgetgrent_r.c: Likewise.
83330         * grp/putgrent.c: Likewise.
83331         * hurd/fopenport.c: Likewise.
83332         * include/libc-symbols.h: Likewise.
83333         * include/tls.h: Likewise.
83334         * intl/gettextP.h: Likewise.
83335         * intl/loadinfo.h: Likewise.
83336         * locale/global-locale.c: Likewise.
83337         * locale/localeinfo.h: Likewise.
83338         * mach/devstream.c: Likewise.
83339         * malloc/arena.c: Likewise.
83340         * malloc/set-freeres.c: Likewise.
83341         * misc/err.c: Likewise.
83342         * misc/getttyent.c: Likewise.
83343         * misc/mntent_r.c: Likewise.
83344         * posix/getopt.c: Likewise.
83345         * posix/wordexp.c: Likewise.
83346         * pwd/fgetpwent_r.c: Likewise.
83347         * resolv/Versions: Likewise.
83348         * resolv/res_hconf.c: Likewise.
83349         * shadow/fgetspent_r.c: Likewise.
83350         * shadow/putspent.c: Likewise.
83351         * stdio-common/printf_fphex.c: Likewise.
83352         * stdio-common/tmpfile.c: Likewise.
83353         * stdlib/abort.c: Likewise.
83354         * stdlib/fmtmsg.c: Likewise.
83355         * sunrpc/auth_unix.c: Likewise.
83356         * sunrpc/clnt_perr.c: Likewise.
83357         * sunrpc/clnt_tcp.c: Likewise.
83358         * sunrpc/clnt_udp.c: Likewise.
83359         * sunrpc/clnt_unix.c: Likewise.
83360         * sunrpc/openchild.c: Likewise.
83361         * sunrpc/svc_simple.c: Likewise.
83362         * sunrpc/svc_tcp.c: Likewise.
83363         * sunrpc/svc_udp.c: Likewise.
83364         * sunrpc/svc_unix.c: Likewise.
83365         * sunrpc/xdr.c: Likewise.
83366         * sunrpc/xdr_array.c: Likewise.
83367         * sunrpc/xdr_rec.c: Likewise.
83368         * sunrpc/xdr_ref.c: Likewise.
83369         * sunrpc/xdr_stdio.c: Likewise.
83371 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83373         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83375 2011-07-03  Andreas Jaeger  <aj@suse.de>
83377         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83378         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83379         regenerate with gen-libm-tests.pl.
83381 2010-05-12  Petr Baudis  <pasky@suse.cz>
83383         [BZ #11589]
83384         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83385         around j0() zero points by switching to j1().
83386         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83387         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83389         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83391 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83393         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83394         instead of 0.
83395         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83396         instead of 0.
83397         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83398         Patch in part by Pavel Roskin <proski@gnu.org>.
83400         [BZ #13138]
83401         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83402         realloc.
83403         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83404         Free memory block if necessary.
83406         [BZ #12847]
83407         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83408         be NULL.  Don't lock in this case.
83410 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83412         * elf/elf.h (ELFOSABI_GNU): New macro.
83413         (ELFOSABI_LINUX): Define to that.
83415 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83417         * string/strncat.c (strncat): Undef the symbol in case it has been
83418         defined in bits/string.h.
83420 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83422         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83424         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83425         link map.
83427 2011-08-17  Andreas Jaeger  <aj@suse.de>
83429         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83431 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83432             Ian Lance Taylor  <iant@google.com>
83434         * math/libm-test.inc (lround_test): New testcase.
83435         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83437 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83439         * Makefile: Remove support for automatic cvs check-ins.
83440         * Makerules: Likewise.
83441         * config.make.in: Likewise.
83442         * configure.in: Likewise.
83443         * intl/Makefile: Likewise.
83444         * locale/Makefile: Likewise.
83445         * po/Makefile: Likewise.
83446         * posix/Makefile: Likewise.
83447         * sysdeps/gnu/Makefile: Likewise.
83448         * sysdeps/mach/hurd/Makefile: Likewise.
83449         * sysdeps/sparc/sparc32/Makefile: Likewise.
83451         [BZ #13118]
83452         * posix/Makefile (bug-regex32-ENV): Define.
83453         Patch by John Stanley <jpsinthemix@verizon.net>.
83455         * misc/Makefile (headers): Add bits/select2.h.
83456         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83457         * misc/bits/select2.h: New file.
83458         * include/bits/select2.h: New file.
83459         * debug/Makefile (routines): Add fdelt_chk.
83460         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83461         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83462         FD_ISSET.
83463         * debug/fdelt_chk.c: New file.
83465         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83466         * wcsmbs/test-wmemcmp.c: Likewise.
83467         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83468         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83470 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83472         * string/Makefile (strop-tests): Add memcmp.
83473         * string/test-wmemcmp.c: New file.
83474         * string/test-memcmp.c: Add wmemcmp support.
83476 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83478         [BZ #13153]
83479         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83480         2011-07-19 change.
83482         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83483         garbage value in a __mach_port_mod_refs call in the cases of the
83484         task-self and thread-self ports.
83486 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83488         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83490 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83492         * elf/dl-load.c (lose): Check for non-null L.
83494 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83496         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83498         * elf/dl-libc.c (dlerror_run): Pass back error code from
83499         dl_catch_error.
83501         [BZ #13123]
83502         * elf/dl-load.c (lose): Free l_origin if it is valid.
83504         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83505         names.
83506         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83507         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83508         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83509         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83510         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83511         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83513 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83515         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83516         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83517         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83518         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83519         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83520         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83521         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83522         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83523         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83524         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83526 2011-08-15  Alan Modra  <amodra@gmail.com>
83528         [BZ #13092]
83529         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83530         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83531         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83532         ppc_mcount to static-only-routines.
83533         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83534         __mcount_internal.
83535         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83536         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83538 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83540         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83541         for finite and infinity parameters.
83543 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83545         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83546         and add nop instructions for throughput optimization.
83547         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83549 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83551         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83552         aligned copy for power7 with vector-scalar instructions.
83553         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83555 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83558         AVX check.
83560 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83562         [BZ #13144]
83563         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83564         last change.
83566 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83568         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83569         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83570         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83571         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83572         clock_gettime.
83574 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83576         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83577         Forgot to demangle the pointer.
83579         * sysdeps/i386/sysdep.h: Define atom_text_section.
83580         * sysdeps/x86_64/sysdep.h: Likewise.
83581         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83582         section with atom_text_section.
83583         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83584         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83585         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83586         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83587         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83589         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83590         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83591         already be defined.  Change to take two parameters and don't assign
83592         result to variable.  Adjust all users.
83593         Define INTERNAL_GETTIME if not already defined.
83594         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83595         call.
83596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83597         HAVE_CLOCK_GETTIME_VSYSCALL.
83598         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83601         gettimeofday vsyscall, just use time.
83603 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83606         <errno.h>.
83608 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83610         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83611         syscall on x86-64.
83612         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83613         syscall.
83614         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83615         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83616         syscall if possible.
83618 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83620         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83621         e_ident.  Don't pass to find_mapsXX.
83622         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83624 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83627         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83628         * sysdeps/x86_64/multiarch/strchr.S: Update.
83629         Check bit_slow_BSF bit.
83630         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83631         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83632         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83634 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83636         [BZ #13134]
83637         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83638         before glibc 2.15.
83639         (tryshell): Define.
83640         (__spawni): Change last parameter to be flag.  Test
83641         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83642         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83643         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83644         * posix/spawni.c: Likewise.
83645         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83646         * posix/spawnp.c: Likewise.  Change normal version to use
83647         SPAWN_XFLAGS_USE_PATH.
83648         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83649         SPAWN_XFLAGS_TRY_SHELL.
83651         [BZ #13150]
83652         * posix/glob.h: Remove gcc 1.x support.
83654         [BZ #13068]
83655         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83657 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83660         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83661         strrchr-sse2-bsf
83662         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83663         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83664         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83665         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83666         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83667         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83669 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83671         * sysdeps/x86_64/wcscmp.S: New file.
83673         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83674         wcscmp-c wcscmp-sse2
83675         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83676         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83677         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83678         * wcsmbs/wcscmp.c: Allow renaming.
83680 2011-09-05  David S. Miller  <davem@davemloft.net>
83682         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83683         stack slot, rather than the struct return pointer slot.
83684         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83685         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83687         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83689 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83691         * po/ja.po: Update from translation team.
83693         [BZ #13144]
83694         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83695         kernel in 64-bit binaries.
83697 2011-09-01  David S. Miller  <davem@davemloft.net>
83699         * elf/elf.h (HWCAP_SPARC_*): Move to..
83700         * sysdeps/sparc/sysdep.h: this new file and add new values.
83701         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83702         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83703         _DL_HWCAP_COUNT to 24.
83704         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83705         entries.
83706         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83707         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83708         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83710         instead of magic constants.
83711         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83713 2011-08-31  David S. Miller  <davem@davemloft.net>
83715         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83717         Reimplement to do errno handling inline.
83718         (SYSCALL_ERROR_HANDLER): New macro.
83719         (__SYSCALL_STRING): Do not do errno handling in asm.
83720         (__CLONE_SYSCALL_STRING): Delete.
83721         (__INTERNAL_SYSCALL_STRING): Delete.
83722         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83723         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83724         (PSEUDO): Reimplement to do errno handling inline.
83725         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83726         (SYSCALL_ERROR_HANDLER): New macro.
83727         (__SYSCALL_STRING): Do not do errno handling in asm.
83728         (__CLONE_SYSCALL_STRING): Delete.
83729         (__INTERNAL_SYSCALL_STRING): Delete.
83730         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83731         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83732         i386.
83733         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83734         (inline_syscall*): Add 'err' argument.
83735         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83736         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83737         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83738         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83740         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83741         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83743 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83745         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83747 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83749         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83750         directive.
83752 2011-08-24  David S. Miller  <davem@davemloft.net>
83754         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83756 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83758         * elf/Makefile: Add rules to build and run unload8 test.
83759         * elf/unload8.c: New file.
83760         * elf/unload8mod1.c: New file.
83761         * elf/unload8mod1x.c: New file.
83762         * elf/unload8mod2.c: New file.
83763         * elf/unload8mod3.c: New file.
83765         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83766         it wasn't used.
83768 2011-08-23  David S. Miller  <davem@davemloft.net>
83770         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83771         subtract stack bias.
83772         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83773         %sp not %fp in calculations.
83774         (_JMPBUF_UNWINDS_ADJ): Likewise.
83776         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83777         (aio_suspend): Call it to force an exception region around the
83778         AIO_MISC_WAIT() invocation.
83780 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83782         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83783         backslash.
83785 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83787         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83788         protection macro.
83789         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83790         and <dl-machine.h>.
83791         (Elf64_FuncDesc): Remove.
83793 2011-08-22  David S. Miller  <davem@davemloft.net>
83795         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83796         sigaltstack check, add missing cfi directives.
83797         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83798         missing cfi directives, and sigaltstack handling.
83800 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83802         [BZ #11724]
83803         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83804         object is seen twice.
83805         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83807         * elf/Makefile (distribute): Add tst-initorder2.c.
83808         (tests): Add tst-initorder2.
83809         (modules-names): Add tst-initorder2a tst-initorder2b
83810         tst-initorder2c tst-initorder2d.  Add rules to build them.
83811         ($(objpfx)tst-initorder2.out): New rule.
83812         * elf/tst-initorder2.c: New file.
83813         * elf/tst-initorder2.exp: New file.
83815 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83819         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83820         dependencies back to end of function.
83822         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83823         $(elfobjdir)/ld.so.
83825 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83827         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83828         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83829         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83830         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83831         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83832         of __vdso_gettimeofday.
83833         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83834         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83835         attribute_hidden.
83836         (_libc_vdso_platform_setup): Remove initialization of
83837         __vdso_gettimeofday and __vdso_time.
83839 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83841         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83842         and fgetc_unlocked.
83843         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83844         getc_unlocked.
83846         * elf/dl-open.c (add_to_global): Report additions to the global scope
83847         for LD_DEBUG=scopes.
83848         (dl_open_worker): Also print scope of newly loaded dependencies.
83849         (_dl_show_scope): Indicate if there is no scope.
83851         [BZ #13114]
83852         * stdio-common/Makefile (tests): Add bug24.
83853         * stdio-common/bug24.c: New file.
83855 2011-08-19  Andreas Jaeger  <aj@suse.de>
83857         [BZ #13114]
83858         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83859         non-existant file when using close-on-exec mode.
83861 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83863         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83864         the very first instruction.
83866         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83867         the CFI state in the end.
83868         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83869         inclusion of dl-trampoline.h.
83870         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83872 2011-08-19  Andreas Schwab  <schwab@redhat.com>
83874         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83875         expectations for long double.
83877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
83878         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
83880 2011-08-14  David S. Miller  <davem@davemloft.net>
83882         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
83883         artificual limit depends upon the system page size.
83885 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83887         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
83888         * resolv/Makefile: Define CFLAGS-libresolv.
83890 2011-08-17  Andreas Schwab  <schwab@redhat.com>
83892         * nss/makedb.c (compute_tables): Make variables used in nested
83893         function static.
83895 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83897         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
83898         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
83899         if buffer was too small.
83901         * elf/pldd.c (main): Attach to all threads in the process.
83902         Rewrite /proc handling to use *at functions.
83904 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
83906         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
83907         specifies first scope to show.
83908         (dl_open_worker): Update callers.  Move printing scope of new
83909         object to before the relocation.
83910         * elf/rtld.c (dl_main): Update _dl_show_scope call.
83911         * sysdeps/generic/ldsodefs.h: Update declaration.
83913         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
83914         string for the scope number.
83916 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
83918         * nscd/servicescache.c (cache_addserv): Make sure written is always
83919         initialized.
83921 2011-08-14  Roland McGrath  <roland@hack.frob.com>
83923         * sysdeps/i386/i486/bits/atomic.h
83924         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
83925         statement expression, so as to suppress "set but not used" warning.
83926         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
83928         * string/strncat.c (STRNCAT): Use prototype definition.
83930         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
83931         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
83932         -Iprograms here.
83933         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
83934         (localedef-modules): Add localedef.
83935         (locale-modules): Add locale.
83937         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
83938         * elf/rtld.c (dl_main): Invert order of assignment in last change,
83939         to avoid a warning.
83941 2011-08-14  David S. Miller  <davem@davemloft.net>
83943         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
83944         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
83946 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
83948         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
83949         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
83950         * elf/rtld.c (dl_main): Set l_name of vDSO.
83951         Call _dl_show_scope when DL_DEBUG_SCOPES.
83952         (process_dl_debug): Recognize scopes flag and also set it for all.
83953         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
83954         Declare _dl_show_scope.
83956         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
83957         (do_dlopen): Pass caller_dlopen to dl_open.
83958         (__libc_dlopen_mode): Initialize caller_dlopen.
83960         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
83961         of libc.  Make tolower call locale-independent.  Optimize a bit by
83962         using isdigit instead of isalnum.
83963         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
83965 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
83967         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
83968         was a dependency or dynamically loaded.
83970 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
83972         * intl/l10nflist.c: Allow architecture-specific pop function.
83973         * sysdeps/x86_64/l10nflist.c: New file.
83975         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
83976         classification.
83978 2011-08-10  Andreas Schwab  <schwab@redhat.com>
83980         * include/dirent.h: Add libc_hidden_proto for scandirat and
83981         scandirat64.  Don't declare __scandirat64.
83982         * dirent/scandirat.c: Add libc_hidden_def.
83983         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
83984         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
83986 2011-08-10  David S. Miller  <davem@davemloft.net>
83988         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
83989         enum.
83990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83991         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83992         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83994 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
83996         * Versions.def [libc]: Add GLIBC_2.15.
83997         * dirent/Makefile (routines): Add scandirat and scandirat64.
83998         * dirent/Versions [libc]: Export scandirat and scandirat64 for
83999         GLIBC_2.15.
84000         * dirent/dirent.h: Declare scandirat and scandirat64.
84001         * dirent/scandirat.c: New file.
84002         * dirent/scandirat64.c: New file.
84003         * sysdeps/wordsize-64/scandirat.c: New file.
84004         * sysdeps/wordsize-64/scandirat64.c: New file.
84005         * dirent/opendir.c: Define opendirat.
84006         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84007         using scandirat.
84008         * dirent/scandir64.c: Adjust for scandir.c change.
84009         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84010         __scandirat64, and __scandir_cancel_handler.
84011         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84012         additional parameter and use openat instead of open (outside of ld.so).
84013         Add new __opendir as wrapper around __opendirat.
84014         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84015         here without requiring old scandirat implementation.
84017 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84019         * dirent/scandir.c (cancel_handler): Renamed to
84020         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84021         defined.  Adjust users.
84022         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84023         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84025 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84027         * string/test-string.h (IMPL): Use __STRING to expand name and then
84028         stringify it.
84030         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84031         of cleanups.
84033 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84035         * string/Makefile: Update.
84036         (strop-tests): Append strncat.
84037         * string/test-wcscmp.c: New file.
84038         New comprehensive test for wcscmp.
84039         * string/test-strcmp.c: Update.
84040         (WIDE): New define.
84042 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84044         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84045         line.
84047 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84050         encoding to ACE if AI_IDN.
84052 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84054         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84055         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84057 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84059         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84060         Fix overflow bug in strncat.
84061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84063         * string/test-strncat.c: Update.
84064         Add new tests for checking overflow bugs.
84066 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84069         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84070         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84071         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84072         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84073         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84074         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84075         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84076         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84078         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84079         (USE_AS_STRCAT): Define.
84080         Add strcat and strncat support.
84081         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84083 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84085         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84086         __n bigger than INT_MAX+1.
84087         (__strncmp_g): Likewise.
84089 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84091         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84092         * libio/stido.h: Likewise.
84094         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84095         (AF_NFC): Define.
84096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84097         (AF_NFC): Define.
84099         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84101         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84102         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84103         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84105         [BZ #13021]
84106         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84107         installed.
84109         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84110         typo.
84111         (_dl_x86_64_save_sse): Likewise.
84113 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84115         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84116         OSXSAVE.
84117         (_dl_x86_64_save_sse): Likewise.
84119         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84121         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84123 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84126         change.
84127         (_dl_x86_64_save_sse): Use correct AVX check.
84129 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84131         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84132         bug in strncpy/strncat.
84133         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84135 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84137         * string/tester.c (test_strcat): Add tests for different alignments
84138         of source and destination.
84139         (test_strncat): Likewise.
84141 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84143         [BZ #12852]
84144         * posix/glob.c (glob): Check passed in values before using them in
84145         expressions to avoid some overflows.
84146         (glob_in_dir): Likewise.
84148         [BZ #13007]
84149         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84150         check for AVX enablement so that we don't crash with old kernels and
84151         new hardware.
84152         * elf/tst-audit4.c: Add same checks here.
84153         * elf/tst-audit6.c: Likewise.
84155         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84157 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84159         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84161 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84163         * po/cs.po: Update from translation team.
84164         * po/bg.po: Likewise.
84166 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84168         * misc/sys/cdefs.h: Add support for const attribute.
84169         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84170         to gnu_dev_{major,minor,makedev} functions.
84172 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84174         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84176 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84178         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84179         strlen results.
84181 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
84184         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
84185         register in order to avoid conflicts with the soft frame pointer
84186         being held in r11 when necessary.
84187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
84188         (INTERNAL_VSYSCALL_NCS): Likewise.
84190 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
84192         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
84193         * elf/dl-fini.c (_dl_fini): Adjust caller.
84194         * elf/dl-close.c (_dl_close_worker): Likewise.
84195         * sysdeps/generic/ldsodefs.h: Adjust declaration.
84197 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84199         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
84200         "aux_cache->nlibs < 0".
84202         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
84203         in the reload-count case.
84205 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84208         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
84209         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
84210         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
84211         * sysdeps/x86_64/multiarch/strcat.S: New file.
84212         * sysdeps/x86_64/multiarch/strncat.S: New file.
84213         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
84214         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
84215         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
84216         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
84217         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
84218         (USE_AS_STRCAT): Define.
84219         Add strcat and strncat support.
84220         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84221         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
84222         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
84223         * string/strncat.c: Update.
84224         (USE_AS_STRNCAT): Define.
84225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84226         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
84227         and i7.
84228         * sysdeps/x86_64/multiarch/init-arch.h
84229         (bit_Prefer_PMINUB_for_stringop): New.
84230         (index_Prefer_PMINUB_for_stringop): Likewise.
84231         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
84232         bit_Prefer_PMINUB_for_stringop.
84234 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84236         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
84237         buffer64.
84238         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
84239         of casting of buffer.
84240         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
84241         buffer32 and buffer64.
84242         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
84243         writes instead of casting of buffer.
84244         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
84245         buffer32.
84246         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
84247         casting of buffer.
84249 2011-07-19  Andreas Schwab  <schwab@redhat.com>
84251         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
84253 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84255         * nscd/nscd.c (termination_handler): Don't do anything for a database
84256         if it has not yet been initialized.
84258 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84260         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84262 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84264         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84266 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84268         * po/nl.po: Update from translation team.
84269         * po/sv.po: Likewise.
84271 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84273         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84274         now disallowed by GCC.
84276         * configure.in (use-default-link): Default to yes if a test -shared
84277         link meets our qualifications.
84278         * configure: Regenerated.
84280         * config.make.in (output-format): New variable.
84281         * configure.in: Check for ld --print-output-format support.
84282         * configure: Regenerated.
84283         * Makerules ($(common-objpfx)format.lds)
84284         [$(output-format) != unknown]: Just use $(output-format),
84285         instead of the linker-script munging.
84287 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84289         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84290         of $(common-objpfx)shlib.lds.
84291         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84293         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84294         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84296         * configure.in (-z relro check): Adjust test code to add a large
84297         writable data section after it.
84298         * configure: Regenerated.
84300 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84302         * configure.in (-z relro check): Fix test code to make the variable
84303         truly const.
84304         * configure: Regenerated.
84306 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84308         * nscd/nscd.h (struct traced_file): Define.
84309         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84310         elements.  Add traced_files.
84311         (inotify_fd): Declare.
84312         (register_traced_file): Declare.
84313         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84314         (inotify_fd): Export.
84315         (resolv_conf_descr): Remove.
84316         (nscd_init): Move inotify descriptor creation to main.
84317         Don't register files for notification here.
84318         (register_traced_file): New function.
84319         (invalidate_cache): Don't use reset_res to determine whether to call
84320         res_init, go through the list of registered files.
84321         (main_loop_poll): The inotify descriptors are now stored in the
84322         structures for the traced files.
84323         (main_loop_epoll): Likewise.
84324         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84325         to __nss_disable_nscd.
84326         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84327         for a database anymore.  Check the records for all the registered
84328         files instead.
84329         * nss/Makefile (libnss_files-routines): Add files-init.
84330         (libnss_db-routines): Add db-init.
84331         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84332         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84333         * nss/nss_db/db-init.c: New file.
84334         * nss/nss_files/files-init.c: New file.
84335         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84336         __nss_lookup_function.
84337         (__nss_lookup_function): Call nss_load_library.
84338         (nss_load_all_libraries): New function.
84339         (__nss_disable_nscd): Take parameter with callback function for files
84340         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84341         used for the cached services.
84342         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84343         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84344         options for features to all the files in nscd.
84346         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84348 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84350         * csu/elf-init.c (__libc_csu_init): Comment typo.
84352 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84354         * po/pl.po: Update from translation team.
84355         * po/ja.po: Likewise.
84356         * po/ru.po: Likewise.
84357         * po/ko.po: Likewise.
84358         * po/fr.po: Likewise.
84360 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84362         * configure.in (.ctors/.dtors header and trailer check):
84363         Use an empirical test on a built program.
84364         * configure: Regenerated.
84366         * configure.in (-z relro check): Use an empirical test on a built DSO.
84367         Detect, but do not require, on ia64.
84368         * configure: Regenerated.
84370         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84371         Update tests that use readelf to use $READELF instead.
84372         * configure: Regenerated.
84374 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84376         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84377         if the result is not used.
84379 2011-07-05  Andreas Jaeger  <aj@suse.de>
84381         [BZ#9696]
84382         * stdlib/tst-strtod.c: Add testcase.
84384 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84386         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84387         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84388         The latter has a higher limit.  Take additional parameter to pass to
84389         the new function.
84390         (__pathconf): Pass file to __statfs_link_max.
84391         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84392         __statfs_link_max.
84393         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84394         __statfs_link_max.
84396         [BZ #12868]
84397         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84398         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84399         Handle Lustre.
84400         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84401         (__statfs_filesize_max): Likewise.
84402         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84404 2011-07-05  Andreas Jaeger  <aj@suse.de>
84406         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84408 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84410         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84411         `status' variable.
84412         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84413         Likewise.
84415 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84417         * Makefile (strop-tests): Add strncat.
84418         * string/test-strncat.c: New file.
84420 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84422         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84424 2011-06-21  Andreas Jaeger  <aj@suse.de>
84426         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84427         Copy rule from iconvdata/Makefile.
84429 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84431         [BZ #12922]
84432         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84433         but no long options are defined, just return 'W'.
84435 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84437         [BZ #9696]
84438         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84440 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84442         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84443         netgroups to read.
84444         (innetgr): Likewise.
84446 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84448         * config.make.in (install_root): Default to $(DESTDIR).
84450 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84452         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84454 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84456         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84458         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84459         containing directory rather than embedding absolute directory names.
84461         * scripts/check-local-headers.sh: Rewritten using awk.
84462         Match by word, not by line.  Print error messages for matches.
84463         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84465         * Makerules [shlib-lds-flags empty]:
84466         ($(common-objpfx)libc_pic.opts): New target.
84467         ($(common-objpfx)libc_pic.os.clean): New target.
84468         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84470         * config.make.in (OBJCOPY): New variable.
84471         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84472         * configure: Regenerated.
84474         * config.make.in (use-default-link): New variable.
84475         * configure.in (use_default_link): Grok --with-default-link to set it.
84476         * configure: Regenerated.
84477         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84478         (shlib-lds, shlib-lds-flags): Define to empty.
84480         * Makerules (shlib-lds): New variable.
84481         (shlib-lds-flags): New variable.
84482         (build-shlib, build-moduile, build-module-asneeded): Use it.
84483         ($(common-objpfx)libc.so): Use $(shlib-lds).
84484         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84485         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84487         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84488         DT_FLAGS/DT_FLAGS_1 with zero flags.
84490         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84491         linker script munging.
84493 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84495         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84496         as 128-bit value.
84497         * crypt/sha512.c (sha512_process_block): Perform total addition using
84498         128-bit if possible.
84499         (__sha512_finish_ctx): Likewise.
84500         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84501         as 64-bit value.
84502         * crypt/sha256.c (SWAP64): Define.
84503         (sha256_process_block): Perform total addition using 64-bit if
84504         possible.
84505         (__sha256_finish_ctx): Likewise.
84507 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84509         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84511         * nscd/hstcache.c (cache_addhst): Likewise.
84512         * nscd/grpcache.c (cache_addgr): Likewise.
84513         * nscd/aicache.c (addhstaiX): Likewise.
84514         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84516 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84518         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84519         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84520         * nscd/hstcache.c (cache_addhst): Likewise.
84521         * nscd/grpcache.c (cache_addgr): Likewise.
84522         * nscd/aicache.c (addhstaiX): Likewise.
84524 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84526         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84527         domain only when needed.
84529 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84532         is always restored.
84534 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84536         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84537         are re-adding the entry.
84538         * nscd/servicescache.c (cache_addserv): Likewise.
84540 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84542         * sysdeps/generic/dl-irel.h: fix protection against multiple
84543         inclusions.
84544         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84546 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84548         [BZ #12935]
84549         * malloc/memusage.sh: Fix quoting in message.
84550         * debug/xtrace.sh: Likewise.
84552         * configure.in: Remove support for --experimental-malloc option, make
84553         it the default.
84554         * config.make.in: Likewise.
84555         * malloc/Makefile: Likewise.
84557 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84559         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84560         two-byte characters.
84562 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84564         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84565         AC_CACHE_CHECK invocation.
84566         * configure: Regenerated.
84568         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84570 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84572         [BZ #12350]
84573         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84574         bit from old_res_options.
84576         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84578         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84579         value type for setfct.
84581 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84584         __gettimeofday instead of gettimeofday.
84586 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84588         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84590 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84592         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84594         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84595         info.
84597 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84600         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84601         strcpy-sse2-unaligned strncpy-sse2-unaligned
84602         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84603         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84604         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84605         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84606         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84607         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84608         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84609         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84610         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84611         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84612         (STRCPY): Support SSE2 and SSSE3 versions.
84614 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84616         [BZ #12874]
84617         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84618         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84619         kernels which artificially limit size of requests.
84621 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84624         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84625         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84626         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84627         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84628         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84629         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84630         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84631         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84632         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84633         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84634         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84635         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84636         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84637         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84639         Enable unaligned load optimization for Intel Core i3, i5 and i7
84640         processors.
84641         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84642         Define.
84643         (index_Fast_Unaligned_Load): Define.
84644         (HAS_FAST_UNALIGNED_LOAD): Define.
84646 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84648         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84650 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84652         [BZ #12907]
84653         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84654         until it is clear that the information is realy needed.
84655         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84657 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84661 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84663         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84664         /sys/devices/system/cpu/online if it is usable.
84666         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84667         reading the information from the /proc filesystem to once a second.
84669 2011-06-21  Andreas Jaeger  <aj@suse.de>
84671         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84672         NULL after inclusion of kernel headers.
84674 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84676         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84677         calls to internal_setent.
84679         [BZ #12885]
84680         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84681         addresses using gethostbyname4_r ignore IPv4 addresses.
84683         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84684         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84686         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84688 2011-06-20  David S. Miller  <davem@davemloft.net>
84690         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84691         inclusions.
84692         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84694         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84695         (elf_irel): Use it.
84696         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84697         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84698         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84699         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84700         * sysdeps/x86_64/dl-irel.h: Likewise.
84702         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84703         * elf/dl-sym.c: Likewise.
84705 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84707         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84708         need to dereference resplen2.
84710 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84712         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84714 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84716         * Makeconfig: Define vardbdir and inst_vardbdir.
84717         * nss/Makefile: Add rules to install db-Makefile.
84719         * nss/nss_db/db-XXX.c: Cleanup.
84721         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84722         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84723         GLIBC_PRIVATE.
84724         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84725         * nss/makedb.c: Implement -g option to specify that value strings
84726         are generated and should not be added to table iterated over for
84727         get*ent calls.
84728         * nss/nss_db/db-initgroups.c: New file.
84730         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84731         interface.
84733         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84734         (internal_getgrouplist): Adjust to name change.
84735         Update use_initgroups_entry if this is not the first call.
84736         * nss/databases.def: Add initgroups entry.
84738         * nss/makedb.c (compute_tables): Check result of multiple hash table
84739         sizes to minimize maximum chain length.
84741 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84743         * Versions.def: Add entry for libnss_db.
84744         * shlib-versions: Likewise.
84745         * nss/Makefile: Add rules to build libnss_db.
84746         * nss/Versions: Add libnss_db information.  Organize libnss_files
84747         entries better.
84748         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84749         makedb progra.  Some minor improvements to generate smaller files.
84750         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84751         here from...
84752         * nss/makedb.c: ...here.
84753         Improve database format to be smaller and require less memory at
84754         runtime.
84755         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84756         db anymore.
84757         * nss/nss_db/db-netgrp.c: Likewise.
84758         * nss/nss_db/db-open.c: Likewise.
84759         * nss/nss_files/flies-XXX.x: Adjust comments.
84760         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84761         * nss/nss_files/files-grp.c: Likewise.
84762         * nss/nss_files/files-hosts.c: Likewise.
84763         * nss/nss_files/files-network.c: Likewise.
84764         * nss/nss_files/files-proto.c: Likewise.
84765         * nss/nss_files/files-pwd.c: Likewise.
84766         * nss/nss_files/files-rpc.c: Likewise.
84767         * nss/nss_files/files-service.c: Likewise.
84768         * nss/nss_files/files-sgrp.c: Likewise.
84769         * nss/nss_files/files-spwd.c: Likewise.
84770         * nss/nss_db/db-alias.c: Removed.
84771         * nss/nss_db/dummy-db.h: Removed.
84773 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84775         * nss/makedb.c: Rewritten to not use database library.
84776         * nss/Makefile: Update to build new makedb program.
84778 2011-06-14  Andreas Jaeger  <aj@suse.de>
84780         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84781         memset declaration.
84783 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84786         tmpbuf.
84788 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84790         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84791         * elf/Makefile ($(objpfx)ld.so): Likewise.
84793         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84794         Don't list ld.so twice in dependencies.
84796         * posix/bug-regex31.c: Include <stdlib.h>.
84798         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84800         * nis/nss_compat/compat-spwd.c
84801         (getspent_next_nss_netgr): Remove unused variable.
84802         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84804         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84805         nonmembers" output to use the right array.
84807         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84809         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84811         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84812         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84813         * catgets/gencat.c (read_input_file): Likewise.
84814         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84816         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84817         variable definition inside #if's controlling its use.
84819         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84821         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84823         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84825         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84826         unreachable code.
84828         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84830         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84831         * configure: Regenerated.
84833         * Makerules: Revert last change.
84834         * elf/Makefile: Likewise.
84836 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84838         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84839         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84840         (reloc-link): Likewise.
84842 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84844         * elf/Makefile: Add rules to build pldd.
84845         * elf/pldd.c: New file.
84846         * elf/pldd-xx.c: New file.
84848 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
84850         * version.h: Update for 2.15 development version.
84852 2011-06-07  David S. Miller  <davem@davemloft.net>
84854         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84855         ifuncs.
84856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84857         elf_machine_lazy_rel): Likewise.
84858         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84860         elf_machine_lazy_rel): Likewise.
84861         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84862         dl_hwcap via passed in argument.
84863         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84864         Likewise.
84866 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84868         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
84870 2011-06-06  Roland McGrath  <roland@hack.frob.com>
84872         [BZ #12849]
84873         * manual/fdl-1.1.texi: New file, verbatim from:
84874         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
84875         * manual/lgpl-2.1.texi: New file, verbatim from:
84876         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
84877         * manual/Makefile (licenses): New variable, list those new file names.
84878         (texis): Use it.
84879         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
84881         * manual/fdl.texi: File removed.
84882         * manual/lesser.texi: File removed.
84883         * manual/libc.texinfo (Copying, Documentation License):
84884         Use new @include file names, put @appendix directive before @include.
84886 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
84888         [BZ #12841]
84889         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
84890         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
84891         (mq_open): Add __NTH.
84893 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
84895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84896         Assume Intel Core i3/i5/i7 processor if AVX is available.
84898 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84901         typo.
84903 2011-05-31  Andreas Schwab  <schwab@redhat.com>
84905         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
84906         memory.  Use alloca_account.  Fix memory leak when retrying.
84908 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84910         * version.h (RELEASE): Bump for 2.14 release.
84911         * include/features.h (__GLIBC_MINOR__): Bump to 14.
84913         * config.make.in (RANLIB): Remove entry.
84915 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
84917         * po/Makefile (po-sed-cmd): Add ksh to extensions.
84918         (libc.pot): Work around missing support for .ksh extension in xgettext.
84920         [BZ #12684]
84921         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
84922         if both request failed.
84923         (send_dg): In case of server errors clear resplen or *resplen2.
84925         [BZ #12454]
84926         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
84927         when there are multiple maps.
84928         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
84929         (_dl_fini): Remove test here.
84931         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
84933 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
84935         [BZ #12350]
84936         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
84937         bit from old_res_options.
84938         (gaih_inet): Likewise.
84940         [BZ #11099]
84941         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
84942         as signed.
84944         * resolv/res_init.c (res_setoptions): Make the code more compact.
84946         [BZ #11558]
84947         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
84948         set RES_USEVC.
84950         [BZ #11634]
84951         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
84953         * malloc/malloc.h: Mark malloc hook variables as deprecated.
84955         [BZ #11781]
84956         * malloc/malloc.h: Declare malloc hook variables as volatile.
84958         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
84959         in last patch.
84961         [BZ #11799]
84962         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
84963         raise in the comment.
84964         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84965         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84966         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
84968 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
84970         [BZ #12811]
84971         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
84972         grow the buffers more if it already has to be sufficient.
84973         (build_wcs_upper_buffer): Likewise.
84974         * posix/regexec.c (check_matching): Likewise.
84975         (clean_state_log_if_needed): Likewise.
84976         (extend_buffers): Don't enlarge buffers beyond size of the input
84977         buffer.
84978         Patches mostly by Emil Wojak <emil@wojak.eu>.
84979         * posix/bug-regex32.c: New file.
84980         * posix/Makefile (tests): Add bug-regex32.
84982         * locale/findlocale.c (_nl_find_locale): Return right away if
84983         _nl_explode_name failed.
84984         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
84986         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
84988         * debug/xtrace.sh: Unify messages.
84989         * malloc/memusage.sh: Likewise.
84991         [BZ #12813]
84992         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
84993         time symbol from vDSO.  Substitute with vsyscall if not available.
84994         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
84995         __vdso_time.
84997         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
84998         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
84999         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85000         Add sendmmsg and internal_sendmmsg.
85001         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85002         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85003         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85005         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85006         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85007         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85009 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85011         [BZ #12813]
85012         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85013         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85014         available.
85015         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85016         __vdso_getcpu.
85018         [BZ #12814]
85019         * iconvdata/Makefile (tests): Add bug-iconv9.
85020         * iconvdata/bug-iconv9.c: New file.
85022 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85024         [BZ #12814]
85025         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85027 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85029         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85030         (struct user_regs_struct): Change intcs field back to cs.
85032 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85034         * po/ja.po: Update from translation team.
85036 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85038         [BZ #12795]
85039         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85040         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85042 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85044         * stdlib/longlong.h: Update from GCC.
85046 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85048         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85049         parameter name.
85050         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85051         Add parameter name.
85052         (__sysconf): Pass it down.
85054 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85056         [BZ #12671]
85057         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85058         some situations.
85059         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85060         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85061         add in in __libc_use_alloca calls.  Adjust callers.
85062         (glob): Use malloc in some situations.
85064         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85065         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85066         pltexit.
85068 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85070         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85071         and CLOCK_BOOTTIME_ALARM.
85073         [BZ #12782]
85074         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85075         is returned.
85077         * string/_strerror.c (__strerror_r): Print negative errors as signed
85078         numbers.
85080         [BZ #12777]
85081         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85082         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85083         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85085         * configure.in: Fix typo in redirection and correct removal of test
85086         files in two cases.
85088         [BZ #12788]
85089         * locale/setlocale.c (new_composite_name): Fix test to check for
85090         identical name of all categories.
85092         [BZ #12792]
85093         * libio/filedoalloc.c (local_isatty): New function.
85094         (_IO_file_doallocate): Use local_isatty.
85095         * stdio-common/perror.c (perror): In case a new stream is used
85096         forward the stream error.
85097         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85098         error flag.
85100 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85102         [BZ #11884]
85103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85104         alloca.
85105         * include/alloca.h (extend_alloca_account): Define.
85107         [BZ #11857]
85108         * posix/regex.h: Fix comments with documentation of user-accessible
85109         fields after compilation and describe correct free'ing of pattern
85110         after re_compile_pattern.
85111         Patch by Reuben Thomas <rrt@sc3d.org>.
85113 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85115         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85116         and -mno-altivec to prevent the compiler from using Altivec and/or
85117         VSX instructions when the corresponding registers are not available.
85119 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85121         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85123 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85125         * libio/freopen.c (freopen): Use __dup2, not dup2.
85126         * libio/freopen64.c (freopen64): Likewise.
85128 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85130         [BZ #12775]
85131         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85132         * math/Makefile (tests): Add test-powl.
85133         (CFLAGS-test-powl.c): Define.
85134         * math/test-powl.c: New file.
85136 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85138         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85140 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85142         [BZ #11837]
85143         * iconvdata/gb18030.c: Update to GB18020-2005.
85145 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85147         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85148         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85149         Patch by Aharon Robbins <arnold@skeeve.com>.
85151         [BZ #11892]
85152         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85153         on the stack.
85155         [BZ #11895]
85156         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85157         through underflows.
85159         [BZ #12766]
85160         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85161         point to strings before performing equality test for error_one_per_line
85162         mode.
85164         [BZ #11697]
85165         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85167         [BZ #11820]
85168         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85169         (struct user_fpregs_struct): Avoid __uint*_t types.
85171         [BZ #6420]
85172         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85173         symbol info.  Use it instead of calling _dl_addr locally.
85174         (lock_and_info): New function.
85175         (tr_freehook): Call lock_and_info and pass symbol info as additional
85176         parameter to tr_where.
85177         (tr_mallochook): Likewise.
85178         (tr_reallochook): Likewise.
85179         (tr_memalignhook): Likewise.
85181         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85182         used and couldn't be at all thread-safe.
85184 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
85186         * libio/freopen.c (freopen): Don't close old file descriptor
85187         before the new one is opened.  Instead dup the new file descriptor
85188         to the old one after the new stream is created.
85189         * libio/freopen64.c (freopen64): Likewise.
85190         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
85191         * libio/fileops.c (_IO_new_file_close_it): Handle new
85192         _IO_FLAGS2_NOCLOSE flag.
85193         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
85194         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
85195         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
85196         _IO_FLAGS2_NOCLOSE flag.
85197         * include/unistd.h: Add hidden_proto for dup3.
85198         Define __have_dup3.
85199         * io/dup3.c: Define hidden symbol.
85200         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
85202         [BZ #7101]
85203         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
85204         when an incomplete long option is used.
85205         * posix/tst-getopt_long1.c: New file.
85206         * posix/Makefile (tests): Add tst-getopt_long1.
85208         [BZ #10138]
85209         * scripts/config.guess: Update from autoconf-2.68.
85210         * scripts/config.sub: Likewise.
85212         [BZ #10157]
85213         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
85214         tests into ...
85215         (has_cpuclock): ...this.  New function.
85216         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
85217         macro here based on has_cpuclock code.
85219         [BZ #10149]
85220         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85221         First byte (not low byte) is now always NUL.
85222         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
85224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85225         Use non-cancelable interfaces.
85227         [BZ #9809]
85228         * locale/iso-639.def: Add entry for Sorani.
85230         [BZ #11901]
85231         * include/stdlib.h: Move include protection to the right place.
85232         Define abort_msg_s.  Declare __abort_msg with it.
85233         * stdlib/abort.c (__abort_msg): Adjust type.
85234         * assert/assert.c (__assert_fail_base): New function.  Majority
85235         of code from __assert_fail.  Allocate memory for __abort_msg with
85236         mmap.
85237         (__assert_fail): Now call __assert_fail_base.
85238         * assert/assert-perr.c: Remove bulk of implementation.  Use
85239         __assert_fail_base.
85240         * include/assert.hL Declare __assert_fail_base.
85241         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
85242         mmap.
85243         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
85245 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
85247         [BZ #11952]
85248         [BZ #12453]
85249         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
85250         until all modules are registered in the DTV.
85251         * elf/Makefile: Add rules to build and run tst-tls19.
85252         * elf/tst-tls19.c: New file.
85253         * elf/tst-tls19mod1.c: New file.
85254         * elf/tst-tls19mod2.c: New file.
85255         * elf/tst-tls19mod3.c: New file.
85256         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
85258         [BZ #12083]
85259         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
85260         correctly.
85262         [BZ #12601]
85263         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85264         two-byte sequence errors.
85265         * iconvdata/Makefile (tests): Add bug-iconv8.
85266         * iconvdata/bug-iconv8.c: New file.
85268         [BZ #12626]
85269         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85270         buf2 definition.
85272         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85274         [BZ #12432]
85275         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85276         (dummy_getcfa): New function.
85277         (init): Get _Unwind_GetCFA address, use dummy if not found.
85278         (backtrace_helper): In recursion check, also check whether CFA changes.
85279         (__backtrace): Completely initialize arg.
85281         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85282         storing incomplete byte sequence in state object.  Avoid testing for
85283         guaranteed too small input if we know there is enough data available.
85285 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85287         * Makeconfig (+link-pie): Indent.
85288         * Rules (binaries-pie): Define if $(have-fpie) and
85289         $(build-shared).
85290         (binaries-shared): Also filter out $(binaries-pie).
85291         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85292         * nscd/Makefile (others-pie): Add nscd.
85293         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85294         ($(objpfx)nscd): Remove command override.
85295         * login/Makefile (others-pie): Add pt_chown.
85296         ($(objpfx)pt_chown): Remove command override.
85297         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85298         remove command overrides.
85300 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85302         * libio/tst_putwc.c: Fix error messages.
85304         [BZ #12724]
85305         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85306         currently writing and seek to current position when not.
85307         * libio/Makefile (tests): Add bug-fclose1.
85308         * libio/bug-fclose1.c: New file.
85310 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85312         [BZ #12511]
85313         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85314         don't set DF_1_NODELETE here.
85315         (do_lookup_x): When entering new entry test for copy relocation
85316         and if necessary set DF_1_NODELETE flag.
85317         * elf/tst-unique4.cc: New file.
85318         * elf/tst-unique4.h: New file.
85319         * elf/tst-unique4lib.cc: New file.
85320         * elf/Makefile: Add rules to build and run tst-unique4.
85321         Patch by Piotr Bury <pbury@goahead.com>.
85323 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85325         [BZ #12052]
85326         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85328         [BZ #12625]
85329         * misc/mntent_r.c (addmntent): Flush the stream after the output
85331         [BZ #12393]
85332         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85333         (is_trusted_path_normalize): Skip initial colon.  Append slash
85334         to empty buffer.  Duplicate is_trusted_path code but allow
85335         constructed patch to be prefix.
85336         (is_dst): Allow $ORIGIN followed by /.
85337         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85338         Correct testing of result of is_trusted_path_normalize
85339         (decompose_rpath): Fix warning.
85341 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85343         [BZ #11257]
85344         * grp/initgroups.c (internal_getgrouplist): When we found the service
85345         list through the initgroups entry in nsswitch.conf do not always
85346         continue on a successful lookup.  Don't always use the
85347         __nss_group_database value if it is set.
85348         * nss/nsswitch.conf (initgroups): Change action for successful db
85349         lookup to continue for compatibility.
85351 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85353         [BZ #11532]
85354         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85355         and CP774 modules.
85356         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85357         and CP774 modules.
85358         * iconvdata/tst-tables.sh: Likewise.
85359         * iconvdata/cp770.c: New file.
85360         * iconvdata/cp771.c: New file.
85361         * iconvdata/cp772.c: New file.
85362         * iconvdata/cp773.c: New file.
85363         * iconvdata/cp774.c: New file.
85364         * iconvdata/testdata/CP770: New file.
85365         * iconvdata/testdata/CP770..UTF8: New file.
85366         * iconvdata/testdata/CP771: New file.
85367         * iconvdata/testdata/CP771..UTF8: New file.
85368         * iconvdata/testdata/CP772: New file.
85369         * iconvdata/testdata/CP772..UTF8: New file.
85370         * iconvdata/testdata/CP773: New file.
85371         * iconvdata/testdata/CP773..UTF8: New file.
85372         * iconvdata/testdata/CP774: New file.
85373         * iconvdata/testdata/CP774..UTF8: New file.
85375         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85376         END CHARMAP line.
85377         * iconvdata/gen-8bit-gap.sh: Likewise.
85378         * iconvdata/gen-8bit.sh: Likewise.
85380         * locale/iso-639.def: Add ary entry.
85382         [BZ #11258]
85383         * locale/C-translit.h.in: Add U20A1 transliteration.
85385         [BZ #12178]
85386         * locale/iso-639.def: Add wae entry.
85387         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85389         [BZ #12545]
85390         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85391         for n.
85393         [BZ #12711]
85394         * locale/C-translit.h.in: Add entry for U20B9.
85395         Patch by pravin.d.s@gmail.com.
85397 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85399         [BZ #12713]
85400         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85401         ENAMETOOLONG use generic getcwd.
85402         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85403         in rtld.  Use *stat64.
85404         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85405         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85406         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85407         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85408         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85409         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85410         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85411         __fstatat64 macros.
85412         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85413         * dirent/rewinddir.c: Add libc_hidden_def.
85414         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85415         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85417         * include/dirent.h (__alloc_dir): Add flags parameter.
85418         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85419         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85420         __alloc_dir.
85421         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85422         from fdopendir if O_CLOEXEC is already set.
85424 2011-03-15  Alan Modra  <amodra@gmail.com>
85426         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85427         l_tls_firstbyte_offset non-zero.  Save padding offset in
85428         l_tls_firstbyte_offset for later use.
85429         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85430         freeing static tls block.
85432 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85434         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85435         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85436         being defined by the kernel headers.
85438 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85440         [BZ #12734]
85441         * resolv/resolv.h: Define RES_NOTLDQUERY.
85442         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85443         no-tld-query and set RES_NOTLDQUERY.
85444         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85445         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85446         modern BIND to search name as TLD unless forbidden.
85448 2011-05-07  Petr Baudis  <pasky@suse.cz>
85449             Ulrich Drepper  <drepper@gmail.com>
85451         [BZ #12393]
85452         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85453         (is_trusted_path): ...to here.
85454         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85455         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85456         using is_trusted_path_normalize() in setuid scripts.
85458 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85461         __BEGIN/__END_DECLS.
85463 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85465         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85466         NSS_STATUS_NOTFOUND if no record was found.
85468 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85470         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85471         (headers-not-in-tirpc): Remove rpc/netdb.h
85472         * resolv/netdb.h: Revert last change.
85474 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85476         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85477         circular dependency between libgcc.a and libc.a.
85479 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85481         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85482         * nis/Makefile: Don't install rpcsvc/*.
85483         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85484         instead of <rpc/types.h>.
85485         (MAXHOSTNAMELEN): Define.
85487 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85489         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85491 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85493         [BZ #12714]
85494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85495         gethostbyname4_r when IPv6 results are possible.
85497 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85499         [BZ #12723]
85500         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85501         _PC_PIPE_BUF handling.
85503 2011-04-30  Bruno Haible  <bruno@clisp.org>
85505         [BZ #12717]
85506         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85507         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85508         to 'int'.
85509         * inet/getnameinfo.c (getnameinfo): Likewise.
85511 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85513         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85514         to groups setting in database lookup.
85515         * nss/nsswitch.conf: Add initgroups entry.
85517 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85519         [BZ #12685]
85520         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85521         mode string.
85522         Patch by Eric Blake <eblake@redhat.com>.
85524 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85526         * sunrpc/Makefile (need-export-routines): Add svc_run.
85527         (routines): Remove svc_run.
85528         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85529         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85530         * sunrpc/svc_run.c (svc_run): Likewise.
85531         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85533 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85535         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85536         problem in reallocation in last patch.
85538 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85540         * sunrpc/Makefile: Move inclusion of Rules.
85542 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85544         * nss/nss_files/files-initgroups.c: New file.
85545         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85546         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85547         _nss_files_initgroups_dyn.
85549 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85551         * elf/elf.h (R_ARM_IRELATIVE): Define.
85553 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85555         * po/ru.po: Update from translation team.
85557 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85559         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85560         dependencies.
85562 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85564         [BZ #12653]
85565         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85566         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85567         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85568         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85571 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85573         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85574         differing bytes.
85575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85579 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85581         [BZ #12420]
85582         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85583         storing it.
85584         * stdlib/bug-getcontext.c: New file.
85585         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85587 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85589         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85590         instructions into .machine "z9-109".
85591         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85592         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85594 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85596         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85597         between environment variables and auxiliary vector.
85599 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85601         * Makefile: Add rules to build linkobj/libc.so.
85602         * include/libc-symbols.h: Define libc_hidden_nolink.
85603         * include/rpc/auth.h: Mark functions which are to be hidden.
85604         * include/rpc/auth_des.h: Likewise.
85605         * include/rpc/auth_unix.h: Likewise.
85606         * include/rpc/clnt.h: Likewise.
85607         * include/rpc/des_crypt.h: Likewise.
85608         * include/rpc/key_prot.h: Likewise.
85609         * include/rpc/pmap_clnt.h: Likewise.
85610         * include/rpc/pmap_prot.h: Likewise.
85611         * include/rpc/pmap_rmt.h: Likewise.
85612         * include/rpc/rpc_msg.h: Likewise.
85613         * include/rpc/svc.h: Likewise.
85614         * include/rpc/svc_auth.h: Likewise.
85615         * include/rpc/xdr.h: Likewise.
85616         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85617         * nss/Makefile: Likewise.
85618         * sunrpc/Makefile: Don't install headers.  Build library with normal
85619         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85620         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85621         for the compat linking library.  Remove use of INTDEF/INTUSE.
85622         * sunrpc/auth_none.c: Likewise.
85623         * sunrpc/auth_unix.c: Likewise.
85624         * sunrpc/authdes_prot.c: Likewise.
85625         * sunrpc/authuxprot.c: Likewise.
85626         * sunrpc/clnt_gen.c: Likewise.
85627         * sunrpc/clnt_perr.c: Likewise.
85628         * sunrpc/clnt_raw.c: Likewise.
85629         * sunrpc/clnt_simp.c: Likewise.
85630         * sunrpc/clnt_tcp.c: Likewise.
85631         * sunrpc/clnt_udp.c: Likewise.
85632         * sunrpc/clnt_unix.c: Likewise.
85633         * sunrpc/des_crypt.c: Likewise.
85634         * sunrpc/des_soft.c: Likewise.
85635         * sunrpc/get_myaddr.c: Likewise.
85636         * sunrpc/key_call.c: Likewise.
85637         * sunrpc/key_prot.c: Likewise.
85638         * sunrpc/netname.c: Likewise.
85639         * sunrpc/pm_getmaps.c: Likewise.
85640         * sunrpc/pm_getport.c: Likewise.
85641         * sunrpc/pmap_clnt.c: Likewise.
85642         * sunrpc/pmap_prot.c: Likewise.
85643         * sunrpc/pmap_prot2.c: Likewise.
85644         * sunrpc/pmap_rmt.c: Likewise.
85645         * sunrpc/publickey.c: Likewise.
85646         * sunrpc/rpc_cmsg.c: Likewise.
85647         * sunrpc/rpc_common.c: Likewise.
85648         * sunrpc/rpc_dtable.c: Likewise.
85649         * sunrpc/rpc_prot.c: Likewise.
85650         * sunrpc/rpc_thread.c: Likewise.
85651         * sunrpc/rtime.c: Likewise.
85652         * sunrpc/svc.c: Likewise.
85653         * sunrpc/svc_auth.c: Likewise.
85654         * sunrpc/svc_authux.c: Likewise.
85655         * sunrpc/svc_raw.c: Likewise.
85656         * sunrpc/svc_run.c: Likewise.
85657         * sunrpc/svc_simple.c: Likewise.
85658         * sunrpc/svc_tcp.c: Likewise.
85659         * sunrpc/svc_udp.c: Likewise.
85660         * sunrpc/svc_unix.c: Likewise.
85661         * sunrpc/svcauth_des.c: Likewise.
85662         * sunrpc/xcrypt.c: Likewise.
85663         * sunrpc/xdr.c: Likewise.
85664         * sunrpc/xdr_array.c: Likewise.
85665         * sunrpc/xdr_float.c: Likewise.
85666         * sunrpc/xdr_intXX_t.c: Likewise.
85667         * sunrpc/xdr_mem.c: Likewise.
85668         * sunrpc/xdr_rec.c: Likewise.
85669         * sunrpc/xdr_ref.c: Likewise.
85670         * sunrpc/xdr_sizeof.c: Likewise.
85671         * sunrpc/xdr_stdio.c: Likewise.
85673 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85675         [BZ #12650]
85676         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85677         * sysdeps/ia64/dl-tls.h: Likewise.
85678         * sysdeps/powerpc/dl-tls.h: Likewise.
85679         * sysdeps/s390/dl-tls.h: Likewise.
85680         * sysdeps/sh/dl-tls.h: Likewise.
85681         * sysdeps/sparc/dl-tls.h: Likewise.
85682         * sysdeps/x86_64/dl-tls.h: Likewise.
85683         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85685 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85687         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85688         rpath element also skip the following colon.
85689         (expand_dynamic_string_token): Add is_path parameter and pass
85690         down to DL_DST_REQUIRED and _dl_dst_substitute.
85691         (decompose_rpath): Call expand_dynamic_string_token with
85692         non-zero is_path.  Ignore empty rpaths.
85693         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85694         with zero is_path.
85696 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85699         Make cancelable.
85701 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85703         [BZ #12655]
85704         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85705         Patch by Filipe David Manana <fdmanana@apache.org>.
85707 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85709         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85710         Maintain aligned stack.
85711         (CHECK_RSP): Remove unused macro.
85713 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85715         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85716         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85718 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85720         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85722         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85724 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85726         [BZ #12518]
85727         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85728         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85729         * sysdeps/x86_64/memmove.c: New file.
85730         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85731         (memcpy): Renamed to ...
85732         (__new_memcpy): This.
85733         (memcpy): Provide GLIBC_2_14 memcpy.
85734         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85735         (memcpy): Provide GLIBC_2_2_5 memcpy.
85737 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85739         [BZ #12631]
85740         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85742 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85744         * misc/syncfs.c: New file.
85745         * misc/Makefile (routines): Add syncfs.
85746         * posix/unistd.h: Declare syncfs.
85747         * sysdeps/unix/syscalls.list: Add syncfs.
85749 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85751         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85752         open_by_handle_at.
85753         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85754         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85756         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85757         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85758         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85759         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85761 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85763         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85764         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85765         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85767         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85769         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85771         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85772         sync_file_range.c with -fexceptions.
85773         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85774         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85775         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85776         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85777         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85778         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85780         sync_file_range as cancellation point
85781         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85782         now a wrapper around __call_sync_file_range with cancellation handling.
85783         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85784         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85785         function name to __call_sync_file_range.
85786         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85787         Add call_sync_file_range.
85789 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85792         bits/timex.h.
85794 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85796         * iconv/iconv.h: Fix typo in comment.
85797         * io/fcntl.h: Likewise.
85798         * libio/stdio.h: Likewise.
85799         * posix/spawn.h: Likewise.
85800         * posix/unistd.h: Likewise.
85801         * stdlib/stdlib.h: Likewise.
85802         * time/time.h: Likewise.
85803         * wcsmbs/wchar.h: Likewise.
85805         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85806         open_by_handle): Add.
85807         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85808         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85809         Augment a few comments.
85810         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85811         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85812         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85814         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85815         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85816         open_by_handle.
85818         * io/fcntl.h (AT_EMPTY_PATH): Define.
85820 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85822         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85823         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85824         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85825         to...
85826         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85827         * Versions.def: Add GLIBC_2.14.
85828         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85829         Export.
85831 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85833         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85834         round counter.
85835         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85837 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85839         [BZ #12597]
85840         * string/test-strncmp.c (do_page_test): New function.
85841         (check2): Likewise.
85842         (test_main): Call check2.
85843         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85845 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
85847         [BZ #12587]
85848         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85849         Handle cache information in CPU leaf 4.
85850         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85852 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
85854         [BZ #12583]
85855         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85856         character representation.
85857         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85859 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
85861         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85862         END(__isnan) to END(__isnanf) to match function entry point/label
85863         EALIGN(__isnanf,...).
85865 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
85867         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85869 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
85871         [BZ #12510]
85872         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
85873         copy from the symbol referenced in the relocation to initialize the
85874         used variable.
85875         Patch by Piotr Bury <pbury@goahead.com>.
85876         * elf/Makefile: Add rules to build and tst-unique3.
85877         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
85878         * elf/tst-unique3.cc: New file.
85879         * elf/tst-unique3.h: New file.
85880         * elf/tst-unique3lib.cc: New file.
85881         * elf/tst-unique3lib2.cc: New file.
85883         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
85885 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
85887         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
85888         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
85889         to _start.
85891 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
85893         * elf/dl-load.c (_dl_map_object): If we are looking for the first
85894         to-be-loaded object along a path to loader is ld.so.
85896 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85897             Ulrich Drepper  <drepper@gmail.com>
85899         * sysdeps/x86_64/memset.S: After aligning destination, code
85900         branches to different locations depending on the value of
85901         misalignment, when multiarch is enabled. Fix this.
85903 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85905         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
85906         Set _x86_64_preferred_memory_instruction for AMD processsors.
85907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85908         Set bit_Prefer_SSE_for_memop for AMD processors.
85910 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
85912         * libio/fmemopen.c (fmemopen): Optimize a bit.
85914 2011-03-03  Andreas Schwab  <schwab@redhat.com>
85916         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
85918 2011-03-03  Roland McGrath  <roland@redhat.com>
85920         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
85922 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
85924         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
85925         __bzero_ultra1 instead of __memset_ultra1.
85927 2011-02-23  Andreas Schwab  <schwab@redhat.com>
85928             Ulrich Drepper  <drepper@gmail.com>
85930         [BZ #12509]
85931         * include/link.h (struct link_map): Add l_orig_initfini.
85932         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
85933         returning unsuccessfully.
85934         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
85935         close of a file loaded at startup, restore the original l_initfini
85936         list.
85937         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
85938         list, store the pointer.
85939         * elf/Makefile ($(objpfx)noload-mem): New rule.
85940         (noload-ENV): Define.
85941         (tests): Add $(objpfx)noload-mem.
85942         * elf/noload.c: Include <memcheck.h>.
85943         (main): Call mtrace.  Close all opened handles.
85945 2011-02-17  Andreas Schwab  <schwab@redhat.com>
85947         [BZ #12454]
85948         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
85949         dependencies are missing.
85951 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85953         Fix __if_freereq crash: Unlike the generic version which uses free,
85954         Hurd needs munmap.
85955         * sysdeps/mach/hurd/ifreq.h: New file.
85957 2011-01-27  Petr Baudis  <pasky@suse.cz>
85958             Ulrich Drepper  <drepper@gmail.com>
85960         [BZ 12445]#
85961         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
85962         to extend_alloca().
85963         * stdio-common/bug23.c: New file.
85964         * stdio-common/Makefile (tests): Add bug23.
85966 2010-09-28  Andreas Schwab  <schwab@redhat.com>
85967             Ulrich Drepper  <drepper@gmail.com>
85969         [BZ #12489]
85970         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
85971         before performing relro protection.  At old place add assertion
85972         to make sure nothing changed.
85974 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
85975             Glauber de Oliveira Costa  <glommer@gmail.com>
85977         * elf/elf.h: Add new ARM TLS relocs.
85979 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
85981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
85982         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
85983         cast from r3.
85984         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
85985         'tests' variable.
85986         * sysdeps/wordsize-64/tst-writev.c: New file.
85988 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
85990         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
85991         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
85992         insns in _dl_start to prevent a TOC reference before relocs are
85993         resolved.
85995 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
85997         [BZ #12469]
85998         * Makeconfig: Remove RANLIB definition.
85999         * Makerules: Don't use RANLIB.
86000         * aclocal.m4: Remove ranlib test.
86001         * configure.in: No need to check for ranlib.
86002         * elf/rtld-Rules: Don't use RANLIB.
86004 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86006         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86007         protection macro.
86008         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86009         inclusion protection macro.
86011         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86012         SIGRTMIN and SIGRTMAX and print information in that case only when
86013         SIGRTMIN is defined.
86015 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86017         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86018         arginfo fn returning -1.
86020         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86021         and thousands string is zero terminated.
86023 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86025         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86026         sysdeps/unix/sysv/linux/bits/socket.h.
86028 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86030         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86031         (__CPU_COUNT): Remove old macros.
86032         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86033         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86034         (__CPU_ALLOC, __CPU_FREE): Add macros.
86035         (__sched_cpualloc, __sched_cpufree): Add declarations.
86037 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86039         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86040         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86041         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86042         (readdhstai): Return value of addhstaiX call.
86043         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86044         (addgrbyX): Return value returned by cache_addgr.
86045         (readdgrbyname): Return value returned by addgrbyX.
86046         (readdgrbygid): Likewise.
86047         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86048         (addpwbyX): Return value returned by cache_addpw.
86049         (readdpwbyname): Return value returned by addhstbyX.
86050         (readdpwbyuid): Likewise.
86051         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86052         (addservbyX): Return value returned by cache_addserv.
86053         (readdservbyname): Return value returned by addservbyX:
86054         (readdservbyport): Likewise.
86055         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86056         (addhstbyX): Return value returned by cache_addhst.
86057         (readdhstbyname): Return value returned by addhstbyX.
86058         (readdhstbyaddr): Likewise.
86059         (readdhstbynamev6): Likewise.
86060         (readdhstbyaddrv6): Likewise.
86061         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86062         (readdinitgroups): Return value returned by addinitgroupsX.
86063         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86064         (prune_cache): Keep track of timeout value of re-added entries.
86065         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86066         * nscd/nscd.h: Adjust prototypes of readd* functions.
86068 2011-02-04  Roland McGrath  <roland@redhat.com>
86070         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86071         (nis_stats): Likewise.
86072         * nis/nis_modify.c (nis_modify): Likewise.
86073         * nis/nis_remove.c (nis_remove): Likewise.
86074         * nis/nis_add.c (nis_add): Likewise.
86076         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86078         * posix/fnmatch_loop.c: Add some consts.
86080         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86082 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86084         [BZ #12460]
86085         * config.make.in (config-cflags-novzeroupper): Define.
86086         * configure.in: Substitute libc_cv_cc_novzeroupper.
86087         * elf/Makefile (AVX-CFLAGS): Define.
86088         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86089         (CFLAGS-tst-auditmod4a.c): Likewise.
86090         (CFLAGS-tst-auditmod4b.c): Likewise.
86091         (CFLAGS-tst-auditmod6b.c): Likewise.
86092         (CFLAGS-tst-auditmod6c.c): Likewise.
86093         (CFLAGS-tst-auditmod7b.c): Likewise.
86094         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86096 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86098         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86099         function to the callback.
86100         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86102 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86104         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86105         of errno.
86107 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86109         [BZ #11724]
86110         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86111         of constructors.
86112         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86113         of destructors.
86114         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86116         [BZ #11724]
86117         * elf/Makefile: Add rules to build and run new test.
86118         * elf/tst-initorder.c: New file.
86119         * elf/tst-initorder.exp: New file.
86120         * elf/tst-initordera1.c: New file.
86121         * elf/tst-initordera2.c: New file.
86122         * elf/tst-initordera3.c: New file.
86123         * elf/tst-initordera4.c: New file.
86124         * elf/tst-initorderb1.c: New file.
86125         * elf/tst-initorderb2.c: New file.
86126         * elf/tst-order-a1.c: New file.
86127         * elf/tst-order-a2.c: New file.
86128         * elf/tst-order-a3.c: New file.
86129         * elf/tst-order-a4.c: New file.
86130         * elf/tst-order-b1.c: New file.
86131         * elf/tst-order-b2.c: New file.
86132         * elf/tst-order-main.c: New file.
86133         New test case by George Gensure <werkt0@gmail.com>.
86135 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86138         decoding ACE if AI_CANONIDN.
86140 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86142         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86144 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86146         * version.h (RELEASE): Bump for 2.13 release.
86147         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86149         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86151         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86152         MADV_NOHUGEPAGE.
86153         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86154         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86155         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86156         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86157         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86158         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86160         * posix/getconf.c: Update copyright year.
86161         * catgets/gencat.c: Likewise.
86162         * csu/version.c: Likewise.
86163         * debug/catchsegv.sh: Likewise.
86164         * debug/xtrace.sh: Likewise.
86165         * elf/ldconfig.c: Likewise.
86166         * elf/ldd.bash.in: Likewise.
86167         * elf/sprof.c (print_version): Likewise.
86168         * iconv/iconv_prog.c: Likewise.
86169         * iconv/iconvconfig.c: Likewise.
86170         * locale/programs/locale.c: Likewise.
86171         * locale/programs/localedef.c: Likewise.
86172         * malloc/memusage.sh: Likewise.
86173         * malloc/mtrace.pl: Likewise.
86174         * nscd/nscd.c (print_version): Likewise.
86175         * nss/getent.c: Likewise.
86177         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86178         PF_CAIF, and PF_ALG.
86179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86181 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86183         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
86184         (modules-names): Use them.
86185         (ifunc-test-modules, ifunc-pie-tests): Define.
86186         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
86187         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
86188         (test-extras): Likewise.
86189         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
86190         $(compile-command.c).
86191         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
86192         (all-built-dso): Define.
86193         (check-textrel.out, check-execstack.out): Depend on it.
86195         * configure.in: Don't override --enable-multi-arch.
86197 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
86199         [BZ #6812]
86200         * nscd/hstcache.c (tryagain): Define.
86201         (cache_addhst): Return tryagain not notfound for temporary errors.
86202         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
86203         failed.
86205 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
86207         [BZ #10563]
86208         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
86209         to make the syscall.
86210         * sysdeps/unix/sysv/linux/setgroups.c: New file.
86212         [BZ #12378]
86213         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
86214         and fall back to matching as normal character if the string ends before
86215         the matching ']' is found.  This is what POSIX requires.
86216         * posix/testfnm.c: Adjust test result.
86217         * posix/globtest.sh: Adjust test result.  Add new test.
86218         * posix/tst-fnmatch.input: Likewise.
86219         * posix/tst-fnmatch2.c: Add new test.
86221 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
86223         * elf/Makefile (check-execstack): Revert last change.  Depend on
86224         check-execstack.h.
86225         (check-execstack.h): New target.
86226         (generated): Add check-execstack.h.
86227         * elf/check-execstack.c: Include "check-execstack.h".
86228         (main): Revert last change.
86229         (handle_file): Return zero if GNU_STACK is absent and
86230         DEFAULT_STACK_PERMS doesn't include PF_X.
86232 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
86234         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
86235         in child fails because the descriptor is already closed.
86236         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
86237         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
86238         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
86240         [BZ #12397]
86241         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
86242         syscall.
86244         [BZ #10484]
86245         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
86246         temporary buffer used to handle multi lookups locally.
86247         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
86249 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86251         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
86252         loader is ld.so.
86254 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
86256         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
86257         alignment for SSE2.
86259 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86261         [BZ #12394]
86262         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86263         characters.  When rounding increased number of integer digits recompute
86264         number of groups.
86265         * stdio-common/tst-grouping.c: New file.
86266         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86268 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86270         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86271         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86273         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86274         void.
86275         * bits/select.h: Likewise.
86277 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86279         * po/ja.po: Update from translation team.
86281 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86283         [BZ #11155]
86284         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86285         implementation just like for lxstat, fxstatat, et al.
86287 2010-12-27  Jim Meyering  <meyering@redhat.com>
86289         [BZ #12348]
86290         * posix/regexec.c (build_trtable): Return failure indication upon
86291         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86293 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86295         [BZ #12201]
86296         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86297         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86298         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86299         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86301         [BZ #12207]
86302         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86304         [BZ #12204]
86305         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86306         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86308 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86310         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86311         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86312         script has SORT_BY_INIT_PRIORITY.
86313         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86314         NO_CTORS_DTORS_SECTIONS is defined.
86315         * elf/soinit.c: Likewise.
86316         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86317         NO_CTORS_DTORS_SECTIONS is defined.
86318         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86319         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86320         * sysdeps/sh/init-first.c: Likewise.
86321         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86323 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86325         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86326         always use the slow path.
86328 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86330         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86331         similar rule which adds the sysdep directories to the header search in
86332         order to pick up the correct platform stackinfo.h.
86333         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86334         perform test if it is, otherwise return successfully without testing.
86335         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86336         DEFAULT_STACK_PERMS define in stackinfo.h.
86337         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86338         defined in stackinfo.h.
86339         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86340         DEFAULT_STACK_PERMS defined in stackinfo.h.
86341         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86342         * sysdeps/ia64/stackinfo.h: Likewise.
86343         * sysdeps/s390/stackinfo.h: Likewise.
86344         * sysdeps/sh/stackinfo.h: Likewise.
86345         * sysdeps/sparc/stackinfo.h: Likewise.
86346         * sysdeps/x86_64/stackinfo.h: Likewise.
86347         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86348         PF_X for powerpc64.  Retain PF_X for powerpc32.
86350 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86352         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86353         accurately.
86354         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86355         GETDENTS_64BIT_ALIGNED.
86357 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86359         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86361 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86363         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86364         _GNU_SOURCE.
86366         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86367         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86368         Remove __restrict.
86369         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86370         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86372 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86374         [BZ #11655]
86375         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86376         are initialized.
86378 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86380         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86382 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86384         * po/it.po: Update from translation team.
86386 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86389         unused codes.
86391 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86393         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86395 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86397         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86398         specially.
86399         (gaih_getanswer_slice): Likewise.
86401 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86405 2010-05-31  Petr Baudis  <pasky@suse.cz>
86407         [BZ #11149]
86408         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86409         silently even in the chroot mode.
86411 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86413         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86414         last patch a bit.  Pretty printing
86416 2010-05-31  Petr Baudis <pasky@suse.cz>
86418         [BZ #10085]
86419         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86420         initialization of skip_initgroups_dyn.
86422 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86424         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86425         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86427 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86429         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86431 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86433         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86434         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86435         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86436         ($(objpfx)tst-fnmatch-mem): New rule.
86437         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86438         * posix/tst-fnmatch.c (main): Call mtrace.
86440 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86443         Support Intel processor model 6 and model 0x2c.
86445 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86447         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86448           signed comparison.
86450 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86452         [BZ #12205]
86453         * string/test-strncasecmp.c (check_result): New function.
86454         (do_one_test): Use it.
86455         (check1): New function.
86456         (test_main): Use it.
86457         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86458         Support strcasecmp and strncasecmp.
86460 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86462         [BZ #12194]
86463         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86464         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86466 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86468         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86469         IFUNC support.
86470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86471         memset-x86-64.
86472         * sysdeps/x86_64/multiarch/bzero.S: New file.
86473         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86474         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86475         * sysdeps/x86_64/multiarch/memset.S: New file.
86476         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86478         Set bit_Prefer_SSE_for_memop for Intel processors.
86479         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86480         Define.
86481         (index_Prefer_SSE_for_memop): Define.
86482         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86484 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86486         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86487         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86489 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86491         [BZ #12191]
86492         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86493         (__x86_64_raw_data_cache_size_half): Likewise.
86494         (__x86_64_raw_shared_cache_size): Likewise.
86495         (__x86_64_raw_shared_cache_size_half): Likewise.
86497         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86498         (__x86_64_raw_data_cache_size_half): Likewise.
86499         (__x86_64_raw_shared_cache_size): Likewise.
86500         (__x86_64_raw_shared_cache_size_half): Likewise.
86501         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86502         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86503         and __x86_64_raw_shared_cache_size_half.  Round
86504         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86505         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86506         to multiple of 256 bytes.
86508 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86510         [BZ #12167]
86511         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86512         of inacessible symlinks.  Verify result of symlink before returning it.
86513         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86514         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86516 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86518         * math/math.h (isinf): Fix typo in comment.
86520 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86522         * po/da.po: Update from translation team.
86524 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86526         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86527         is added to the list.
86529 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86530             Ulrich Drepper  <drepper@gmail.com>
86532         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86533         the global list here.  Move code to...
86534         (_dl_add_to_namespace_list): ...here.  New function.
86535         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86536         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86537         * elf/dl-load.c (lose): Don't remove the element from the list.
86538         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86539         (_dl_map_object): Likewise.
86541 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86543         [BZ #12159]
86544         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86545         into all bytes of SSE register.
86546         Patch by Richard Li <richardpku@gmail.com>.
86548 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86550         [BZ #12140]
86551         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86552         perturbing.
86554 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86556         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86557         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86558         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86559         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86561         submachine.
86562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86564 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86566         * include/dlfcn.h (__RTLD_SECURE): Define.
86567         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86568         mode & __RTLD_SECURE instead.
86569         (open_path): Rename preloaded parameter to secure.
86570         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86571         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86572         * elf/dl-deps.c (openaux): Likewise.
86573         * elf/rtld.c (struct map_args): Remove is_preloaded.
86574         (map_doit): Don't use it.
86575         (dl_main): Likewise.
86576         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86577         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86579 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86581         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86582         (sysd-rules-targets): Remove duplicates.
86583         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86584         rtld-%.$o dependency.
86586 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86588         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86589         _dl_map_object do it.
86591 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86593         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86594         fast fma builtins, define the macros in the C99 standard.
86595         (FP_FAST_FMAF): Likewise.
86596         (FP_FAST_FMAL): Likewise.
86597         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86599         * bits/mathdef.h: Update copyright year.
86600         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86602 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86604         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86605         builtins, define the macros in the C99 standard.
86606         (FP_FAST_FMAF): Likewise.
86607         (FP_FAST_FMAL): Likewise.
86608         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86609         multiply/add.
86610         (FP_FAST_FMAF): Likewise.
86612 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86614         [BZ #3268]
86615         * math/libm-test.inc (fma_test): Some new testcases.
86616         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86617         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86618         y and infinite z.  Do multiplication by C already in long double.
86619         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86621         y and infinite z.  Do bitwise or of inexact bit into u.d.
86622         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86623         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86624         * sysdeps/i386/fpu/s_fma.S: Removed.
86625         * sysdeps/i386/fpu/s_fmal.S: Removed.
86627 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86629         [BZ #3268]
86630         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86632         computation is not scheduled after fetestexcept.  Fix value
86633         of minimum denormal long double.
86635 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86637         [BZ #3268]
86638         * math/libm-test.inc (fma_test): Add some more tests.
86639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86640         correctly.
86642 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86644         * scripts/data/localplt-s390-linux-gnu.data: New file.
86645         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86647 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86649         [BZ #3268]
86650         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86651         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86652         instead of dbl-64.
86653         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86654         inlines.
86655         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86657         if one of x and y is very large and the other is subnormal.
86658         * sysdeps/s390/fpu/s_fmaf.c: New file.
86659         * sysdeps/s390/fpu/s_fma.c: New file.
86660         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86661         * sysdeps/powerpc/fpu/s_fma.S: New file.
86662         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86663         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86664         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86666 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86668         [BZ #3268]
86669         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86670         fma tests.
86671         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86672         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86673         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86674         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86675         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86676         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86677         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86679 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86681         [BZ #12078]
86682         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86683         * posix/bug-regex31.input: Add test case.
86685 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86687         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86688         * posix/bug-regex31.input: New file.
86690         [BZ #12078]
86691         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86692         (parse_sub_exp): Fix last change, use postorder.
86694         * posix/bug-regex31.c: New file.
86695         * posix/Makefile: Add rules to build and run bug-regex31.
86697         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86699         [BZ #12078]
86700         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86702         [BZ #12108]
86703         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86704         to have entries in sys_siglist.
86706         [BZ #12093]
86707         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86708         be NULL.
86710 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86712         [BZ #3268]
86713         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86714         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86715         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86716         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86717         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86718         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86719         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86720         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86721         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86722         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86723         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86724         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86725         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86726         * math/ftestexcept.c (fetestexcept): Likewise.
86727         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86728         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86729         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86730         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86731         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86732         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86733         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86735 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86737         [BZ #12107]
86738         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86739         newline.
86741 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86743         * string/bug-strstr1.c: New file.
86744         * string/Makefile: Add rules to build and run bug-strstr1.
86746 2010-10-05  Eric Blake  <eblake@redhat.com>
86748         [BZ #12092]
86749         * string/str-two-way.h (two_way_long_needle): Always clear memory
86750         when skipping input due to the shift table.
86752 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86754         [BZ #12005]
86755         * malloc/mcheck.c: Handle large requests.
86757         [BZ #12077]
86758         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86759         for strncmp and strncasecmp.
86760         * string/stratcliff.c: Add tests for strcmp and strncmp.
86761         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86763 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86765         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86766         __set_fpscr.
86768 2010-09-30  Andreas Jaeger  <aj@suse.de>
86770         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86771         (CGROUP_SUPER_MAGIC): Define.
86772         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86773         Handle btrfs and cgroup file systems.
86774         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86775         Likewise.
86777 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86779         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86780         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86782 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86784         [BZ #12067]
86785         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86786         trying to locate the ELF header.
86788 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86790         [BZ #11611]
86791         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86792         Mask out sign-bit copies when constructing f_fsid.
86794 2010-09-24  Petr Baudis <pasky@suse.cz>
86796         * debug/stack_chk_fail_local.c: Add missing licence exception.
86797         * debug/warning-nop.c: Likewise.
86799 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86801         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86802         implementing getdents64 using getdents syscall, set d_type if
86803         __ASSUME_GETDENTS32_D_TYPE.
86805 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86807         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86808         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86810 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86812         [BZ #12037]
86813         * posix/unistd.h: Undo change of feature selection for ftruncate from
86814         2010-01-11.
86816 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86818         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86819         detection.
86821 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86823         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86824         fanotify_mark.
86825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86827 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86829         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86830         variables after CHECK_SP call.
86831         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86833 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86834             Ulrich Drepper  <drepper@redhat.com>
86836         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86837         re-relocationg ld.so.
86838         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86839         _dl_init_paths call.
86840         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86841         here anymore.
86843 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86845         * resolv/res_init.c (__res_vinit): Count the default server we added.
86847 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
86848             Ulrich Drepper  <drepper@redhat.com>
86850         [BZ #11968]
86851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86852         (____longjmp_chk): Use %ebx for saving value across system call.
86853         Add unwind info.
86855 2010-09-06  Andreas Schwab  <schwab@redhat.com>
86857         * manual/Makefile: Don't mix pattern rules with normal rules.
86859 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
86861         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86862         operation.
86863         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86864         * libio/iofopncook.c (_IO_cookie_init): Likewise.
86865         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86866         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86868         Likewise.
86870 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
86872         [BZ #11979]
86873         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
86874         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
86876 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
86878         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
86879         * sysdeps/x86_64/addmul_1.S: Likewise.
86880         * sysdeps/x86_64/lshift.S: Likewise.
86881         * sysdeps/x86_64/mul_1.S: Likewise.
86882         * sysdeps/x86_64/rshift.S: Likewise.
86883         * sysdeps/x86_64/sub_n.S: Likewise.
86884         * sysdeps/x86_64/submul_1.S: Likewise.
86886 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86888         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
86889         Define __sched_param instead of SCHED_* and sched_param when
86890         <bits/sched.h> is included with __need_schedparam defined.
86891         * bits/sched.h [__need_schedparam]
86892         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
86893         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
86894         (__defined_schedparam): Define to 1.
86895         (__sched_param): New structure, identical to sched_param.
86896         (__need_schedparam): Undefine.
86898 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
86900         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
86901         (epoll_create1): Declare.
86903         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
86905 2010-08-31  Andreas Schwab  <schwab@redhat.com>
86907         [BZ #7066]
86908         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
86909         shifting retval into place.
86911 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
86913         * nis/rpcsvc/nis.h: Update copyright notice.
86914         * nis/rpcsvc/nis.x: Likewise.
86915         * nis/rpcsvc/nis_callback.h: Likewise.
86916         * nis/rpcsvc/nis_callback.x: Likewise.
86917         * nis/rpcsvc/nis_object.x: Likewise.
86918         * nis/rpcsvc/nis_tags.h: Likewise.
86919         * nis/rpcsvc/yp.h: Likewise.
86920         * nis/rpcsvc/yp.x: Likewise.
86921         * nis/rpcsvc/ypupd.h: Likewise.
86922         * nis/yp_xdr.c: Likewise.
86923         * nis/ypupdate_xdr.c: Likewise.
86925         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
86926         mainly the body of pmap_getport.  Add parameters to specify timeouts.
86927         (pmap_getport): Use __libc_rpc_getport.
86928         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
86929         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
86930         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
86932 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
86934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
86935         fanotify_mark.
86937 2010-08-27  Roland McGrath  <roland@redhat.com>
86939         * sysdeps/i386/i686/multiarch/Makefile
86940         (CFLAGS-varshift.c): New variable.
86942 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
86944         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
86945         * sysdeps/i386/i686/multiarch/varshift.c: New file.
86947         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
86949         * sysdeps/x86_64/strlen.S: Minimal code improvement.
86951 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
86953         * sysdeps/x86_64/strlen.S: Unroll the loop.
86954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86955         strlen-sse2 strlen-sse2-bsf.
86956         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
86957         __strlen_no_bsf if bit_Slow_BSF is set.
86958         (__strlen_sse42): Removed.
86959         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
86960         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
86962 2010-08-25  Roland McGrath  <roland@redhat.com>
86964         * sysdeps/x86_64/multiarch/varshift.S: File removed.
86965         * sysdeps/x86_64/multiarch/varshift.c: New file.
86966         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
86967         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
86968         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
86969         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
86971 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
86973         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86974         strlen-sse2 strlen-sse2-bsf.
86975         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
86976         __strlen_sse2_bsf if bit_Slow_BSF is unset.
86977         (__strlen_sse2): Removed.
86978         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
86979         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
86980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
86981         bit_Slow_BSF for Atom.
86982         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
86983         (index_Slow_BSF): Define.
86984         (HAS_SLOW_BSF): Define.
86986 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
86988         [BZ #10851]
86989         * resolv/res_init.c (__res_vinit): When no server address at all
86990         is given default to loopback.
86992 2010-08-24  Roland McGrath  <roland@redhat.com>
86994         * configure.in: Remove config-name.h generation.
86995         * configure: Regenerated.
86996         * config-name.in: File removed.
86997         * scripts/config-uname.sh: New file.
86998         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
86999         ($(objdir)config-name.h): New target.
87001         * sunrpc/rpc_parse.h: Avoid nested comment.
87003 2010-08-24  Richard Henderson  <rth@redhat.com>
87004             Ulrich Drepper  <drepper@redhat.com>
87005             H.J. Lu  <hongjiu.lu@intel.com>
87007         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87009         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87010         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87011         _mm_alignr_epi8 with _mm_loadu_si128.
87012         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87013         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87014         (__m128i_shift_right): Removed.
87015         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87016         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87017         * sysdeps/x86_64/multiarch/varshift.h: New file.
87018         * sysdeps/x86_64/multiarch/varshift.S: New file.
87020 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87022         * configure.in: Move assembler checks to before sysdep dir checking.
87024 2010-08-20  Petr Baudis  <pasky@suse.cz>
87026         * LICENSES: Sync the sunrpc license.
87028 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87030         * sunrpc/auth_des.c: Update copyright notice once again.
87031         * sunrpc/auth_none.c: Likewise.
87032         * sunrpc/auth_unix.c: Likewise.
87033         * sunrpc/authdes_prot.c: Likewise.
87034         * sunrpc/authuxprot.c: Likewise.
87035         * sunrpc/bindrsvprt.c: Likewise.
87036         * sunrpc/clnt_gen.c: Likewise.
87037         * sunrpc/clnt_perr.c: Likewise.
87038         * sunrpc/clnt_raw.c: Likewise.
87039         * sunrpc/clnt_simp.c: Likewise.
87040         * sunrpc/clnt_tcp.c: Likewise.
87041         * sunrpc/clnt_udp.c: Likewise.
87042         * sunrpc/clnt_unix.c: Likewise.
87043         * sunrpc/des_crypt.c: Likewise.
87044         * sunrpc/des_soft.c: Likewise.
87045         * sunrpc/get_myaddr.c: Likewise.
87046         * sunrpc/getrpcport.c: Likewise.
87047         * sunrpc/key_call.c: Likewise.
87048         * sunrpc/key_prot.c: Likewise.
87049         * sunrpc/openchild.c: Likewise.
87050         * sunrpc/pm_getmaps.c: Likewise.
87051         * sunrpc/pm_getport.c: Likewise.
87052         * sunrpc/pmap_clnt.c: Likewise.
87053         * sunrpc/pmap_prot.c: Likewise.
87054         * sunrpc/pmap_prot2.c: Likewise.
87055         * sunrpc/pmap_rmt.c: Likewise.
87056         * sunrpc/rpc/auth.h: Likewise.
87057         * sunrpc/rpc/auth_unix.h: Likewise.
87058         * sunrpc/rpc/clnt.h: Likewise.
87059         * sunrpc/rpc/des_crypt.h: Likewise.
87060         * sunrpc/rpc/key_prot.h: Likewise.
87061         * sunrpc/rpc/netdb.h: Likewise.
87062         * sunrpc/rpc/pmap_clnt.h: Likewise.
87063         * sunrpc/rpc/pmap_prot.h: Likewise.
87064         * sunrpc/rpc/pmap_rmt.h: Likewise.
87065         * sunrpc/rpc/rpc.h: Likewise.
87066         * sunrpc/rpc/rpc_des.h: Likewise.
87067         * sunrpc/rpc/rpc_msg.h: Likewise.
87068         * sunrpc/rpc/svc.h: Likewise.
87069         * sunrpc/rpc/svc_auth.h: Likewise.
87070         * sunrpc/rpc/types.h: Likewise.
87071         * sunrpc/rpc/xdr.h: Likewise.
87072         * sunrpc/rpc_clntout.c: Likewise.
87073         * sunrpc/rpc_cmsg.c: Likewise.
87074         * sunrpc/rpc_common.c: Likewise.
87075         * sunrpc/rpc_cout.c: Likewise.
87076         * sunrpc/rpc_dtable.c: Likewise.
87077         * sunrpc/rpc_hout.c: Likewise.
87078         * sunrpc/rpc_main.c: Likewise.
87079         * sunrpc/rpc_parse.c: Likewise.
87080         * sunrpc/rpc_parse.h: Likewise.
87081         * sunrpc/rpc_prot.c: Likewise.
87082         * sunrpc/rpc_sample.c: Likewise.
87083         * sunrpc/rpc_scan.c: Likewise.
87084         * sunrpc/rpc_scan.h: Likewise.
87085         * sunrpc/rpc_svcout.c: Likewise.
87086         * sunrpc/rpc_tblout.c: Likewise.
87087         * sunrpc/rpc_util.c: Likewise.
87088         * sunrpc/rpc_util.h: Likewise.
87089         * sunrpc/rpcinfo.c: Likewise.
87090         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87091         * sunrpc/rpcsvc/key_prot.x: Likewise.
87092         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87093         * sunrpc/rpcsvc/mount.x: Likewise.
87094         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87095         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87096         * sunrpc/rpcsvc/rex.x: Likewise.
87097         * sunrpc/rpcsvc/rstat.x: Likewise.
87098         * sunrpc/rpcsvc/rusers.x: Likewise.
87099         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87100         * sunrpc/rpcsvc/spray.x: Likewise.
87101         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87102         * sunrpc/rtime.c: Likewise.
87103         * sunrpc/svc.c: Likewise.
87104         * sunrpc/svc_auth.c: Likewise.
87105         * sunrpc/svc_authux.c: Likewise.
87106         * sunrpc/svc_raw.c: Likewise.
87107         * sunrpc/svc_run.c: Likewise.
87108         * sunrpc/svc_simple.c: Likewise.
87109         * sunrpc/svc_tcp.c: Likewise.
87110         * sunrpc/svc_udp.c: Likewise.
87111         * sunrpc/svc_unix.c: Likewise.
87112         * sunrpc/svcauth_des.c: Likewise.
87113         * sunrpc/xcrypt.c: Likewise.
87114         * sunrpc/xdr.c: Likewise.
87115         * sunrpc/xdr_array.c: Likewise.
87116         * sunrpc/xdr_float.c: Likewise.
87117         * sunrpc/xdr_mem.c: Likewise.
87118         * sunrpc/xdr_rec.c: Likewise.
87119         * sunrpc/xdr_ref.c: Likewise.
87120         * sunrpc/xdr_sizeof.c: Likewise.
87121         * sunrpc/xdr_stdio.c: Likewise.
87123         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87124         handling.
87126 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87128         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87130 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87132         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87133         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87134         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87135         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87136         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87137         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87138         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87139         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87140         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87141         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87142         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87143         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87144         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87145         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87147 2010-07-26  Anton Blanchard  <anton@samba.org>
87149         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87150         * malloc/arena.c (heap_trim): Likewise.
87152 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87154         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87155         here.  Not...
87156         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87157         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87159 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87161         * sysdeps/i386/elf/Makefile: New file.
87163 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87165         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87166         from fanotify_init.
87167         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87168         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87170 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87172         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87173         of strncasecmp_l.
87174         * sysdeps/multiarch/strcmp.S: Likewise.
87176 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87178         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87179         strncase_l-nonascii.
87180         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87181         Add strncase_l-ssse3.
87182         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87183         * sysdeps/x86_64/strcmp.S: Likewise.
87184         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
87185         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
87186         * sysdeps/x86_64/strncase.S: New file.
87187         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
87188         * sysdeps/x86_64/strncase_l.S: New file.
87189         * string/Makefile (strop-tests): Add strncasecmp.
87190         * string/test-strncasecmp.c: New file.
87192         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
87193         warning.
87195         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
87196         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
87198 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87200         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
87202 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
87204         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
87205         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
87206         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
87208 2010-05-01  Alan Modra  <amodra@gmail.com>
87210         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
87211         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
87212         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
87213         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
87214         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
87215         tidying.  Don't tail-call __sigjmp_save for static lib.
87216         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
87217         save location.
87218         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
87219         (CALL_MCOUNT): Add eh info, and nop after bl.
87220         (TAIL_CALL_SYSCALL_ERROR): New macro.
87221         (PSEUDO_RET): Use it.
87222         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
87223         Correct save location of integer regs and cr.
87224         (_dl_profile_resolve): Correct cr save location.  Delete nops
87225         after bl when SHARED.  Reduce cfi size a little by better
87226         placement of cfi directives.
87227         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
87228         make a stack frame.  Instead use parm save area as a temp.
87229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
87230         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
87231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
87232         Don't make a stack frame for parent, use parm save area.
87233         Increase child stack frame to 112 bytes.  Don't save unused reg,
87234         and adjust reg usage.  Set up cfi on error recovery and
87235         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
87236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
87237         (__makecontext): Add dummy nop after jump to exit.
87238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
87239         Use correct parm save area and cr save, reduce stack frame.
87240         Correct cfi for possible PSEUDO_RET frame setup.
87241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
87242         Branch to local label emitted by PSEUDO_RET rather than
87243         __syscall_error.
87245 2010-08-12  Andreas Schwab  <schwab@redhat.com>
87247         [BZ #11904]
87248         * locale/programs/locale.c (print_assignment): New function.
87249         (show_locale_vars): Use it.
87251 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
87253         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
87254         field.
87255         (struct statfs64): Likewise.
87256         (_STATFS_F_FLAGS): Define.
87257         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
87258         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87259         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
87260         (ST_VALID): Define locally.
87261         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87262         __statvfs_getflags, use the provided value.
87263         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87264         __ASSUME_STATFS_F_FLAGS.
87266         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87268         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87269         Add sys/fanotify.h.
87270         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87271         fanotify_mask for GLIBC_2.13.
87272         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87273         fanotify_init and fanotify_mark.
87274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87275         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87277         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87278         Add prlimit.
87279         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87280         prlimit64 for GLIBC_2.13.
87281         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87282         prlimit64.
87283         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87284         syscall.
87285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87286         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87287         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87288         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87290         add prlimit alias.
87291         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87293         [BZ #11903]
87294         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87295         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87297         * nss/Makefile: Add rules to build and run tst-nss-test1.
87298         * shlib-versions: Add entry for libnss_test1.
87299         * nss/nss_test1.c: New file.
87300         * nss/tst-nss-test1.c: New file.
87302         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87303         (__nss_configure_lookup): Set appropriate entry in
87304         __nss_configure_lookup to true.
87305         * nss/nsswitch.h: Define enum with indeces of databases in
87306         databases and __nss_database_custom arrays.  Declare
87307         __nss_database_custom.
87308         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87309         to avoid using nscd when custom rules are installed.
87310         * nss/getXXbyYY_r.c: Likewise.
87311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87313         * nss/nss_files/files-parse.c: Whitespace fixes.
87315 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87317         [BZ #11883]
87318         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87319         * posix/fnmatch_loop.c: Likewise.
87321 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87323         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87324         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87325         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87326         * Versions.def [GLIBC_2.13]: Add.
87328 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87330         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87331         Also fail if tpwd after pwuid call is NULL.
87333 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87335         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87336         when converting to ms.
87338 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87340         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87341         EOPNOTSUPP errors with ENOTTY.
87342         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87343         EOPNOTSUPP errors with ENOTTY.
87345 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87347         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87348         Add strcasecmp_l-ssse3.
87349         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87350         strcasecmp.
87351         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87352         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87353         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87355 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87357         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87359         * string/Makefile (strop-tests): Add strcasecmp.
87360         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87361         strcasecmp_l-nonascii.
87362         (gen-as-const-headers): Add locale-defines.sym.
87363         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87364         * sysdeps/x86_64/strcasecmp.S: New file.
87365         * sysdeps/x86_64/strcasecmp_l.S: New file.
87366         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87367         * sysdeps/x86_64/locale-defines.sym: New file.
87368         * string/test-strcasecmp.c: New file.
87370         * string/test-strcasestr.c: Test both ends of the range of characters.
87371         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87373 2010-07-29  Roland McGrath  <roland@redhat.com>
87375         [BZ #11856]
87376         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87378 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87380         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87381         for ld.so.
87383 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87385         * manual/memory.texi (Malloc Tunable Parameters): Document
87386         M_PERTURB.
87388 2010-07-26  Roland McGrath  <roland@redhat.com>
87390         [BZ #11840]
87391         * configure.in (-fgnu89-inline check): Set and substitute
87392         gnu89_inline, not libc_cv_gnu89_inline.
87393         * configure: Regenerated.
87394         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87396 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87398         * string/test-strnlen.c: New file.
87399         * string/Makefile (strop-tests): Add strnlen.
87400         * string/tester.c (test_strnlen): Add a few more test cases.
87401         * string/tst-strlen.c: Better error reporting.
87403         * sysdeps/x86_64/strnlen.S: New file.
87405 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87407         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87408         lower-latency instructions.
87410 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87412         * string/test-strcasestr.c: New file.
87413         * string/test-strstr.c: New file.
87414         * string/Makefile (strop-tests): Add strstr and strcasestr.
87415         * string/str-two-way.h: Don't undefine MAX.
87416         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87418 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87420         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87421         strcasestr-nonascii.
87422         (CFLAGS-strcasestr-nonascii.c): Define.
87423         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87424         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87425         Remove unused attribute.
87427 2010-07-20  Roland McGrath  <roland@redhat.com>
87429         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87430         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87431         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87432         like LD_HWCAP_MASK can disable hwcaps.
87434 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87436         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87438 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87440         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87441         call in strcasestr.
87442         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87443         __strcasestr_sse42_nonascii.
87444         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87445         strcasestr-nonascii.c.
87446         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87448 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87450         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87451         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87452         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87453         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87455 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87457         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87458         fcntl.
87460 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87462         [BZ #11577]
87463         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87464         dl_signal_cerror.
87466 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87468         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87469         _PC_PIPE_BUF using F_GETPIPE_SZ.
87471 2010-07-05  Roland McGrath  <roland@redhat.com>
87473         * manual/arith.texi (Rounding Functions): Fix rint description
87474         implicit in round description.
87476 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87478         * elf/Makefile: Fix linking for a few tests to make recent linker
87479         happy.
87481 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87483         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87484         $(common-objpfx)libc_nonshared.a.
87486 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87488         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87489         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87490         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87491         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87492         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87493         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87494         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87495         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87510         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87511         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87512         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87513         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87514         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87515         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87516         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87517         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87518         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87519         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87520         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87521         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87537 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87539         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87540         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87541         * string/memmove.c (memmove): Renamed to ...
87542         (MEMMOVE): ...this.  Default to memmove.
87543         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87544         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87545         (END_CHK): Define.
87546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87547         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87548         mempcpy-ssse3-back memmove-ssse3-back.
87549         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87550         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87551         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87552         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87553         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87554         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87555         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87556         * sysdeps/x86_64/multiarch/memmove.c: New file.
87557         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87558         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87559         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87560         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87561         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87562         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87563         Define.
87564         (index_Fast_Copy_Backward): Define.
87565         (HAS_ARCH_FEATURE): Define.
87566         (HAS_FAST_REP_STRING): Define.
87567         (HAS_FAST_COPY_BACKWARD): Define.
87569 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87571         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87572         Restore proper fallback handling.
87574 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87576         [BZ #11701]
87577         * posix/group_member.c (__group_member): Correct checking loop.
87579         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87580         OOM in getpwuid_r correctly.  Return error number when the caller
87581         should return, otherwise -1.
87582         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87583         call returning > 0 value.
87584         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87586 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87588         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87589         libc_nonshared.a from targets in modules-names.
87591 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87593         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87594         requires it.
87596 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87598         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87599         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87600         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87601         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87603 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87605         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87607 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87609         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87610         and F_GETPIPE_SZ.
87611         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87612         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87615         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87616         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87618 2010-06-14  Roland McGrath  <roland@redhat.com>
87620         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87622 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87624         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87625         __REDIRECT followed by __THROW.
87626         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87627         * posix/getopt.h (getopt): Likewise.
87629 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87631         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87632         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87633         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87634         in AT_FLAGS.
87635         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87636         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87638 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87640         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87642 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87644         [BZ #11640]
87645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87646         Properly check family and model.
87648 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87650         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87652 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87654         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87656 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87658         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87659         symbol reference.
87661 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87663         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87664         symbol reference.
87666 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87668         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87669         and internal_recvmmsg.
87670         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87671         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87672         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87673         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87675         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87676         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87677         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87679 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87681         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87683 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87685         POWER7 optimizations.
87686         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87687         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87689 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87691         * version.h: Update for 2.13 development version.
87693 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87695         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87696         exceptions.  Return 0.
87698 2010-05-07  Roland McGrath  <roland@redhat.com>
87700         * elf/ldconfig.c (main): Add a const.
87702 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87704         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87705         (args_options): Add no-idn option.
87706         (ahosts_keys_int): Add idn_flags to ai_flags.
87707         (parse_option): Handle 'i' option to clear idn_flags.
87709         * malloc/malloc.c (_int_free): Possible race in the most recently
87710         added check.  Only act on the data if no current modification
87711         happened.
87713 See ChangeLog.17 for earlier changes.